diff --git a/src/modules/game/constants/game-options/game-options.constant.ts b/src/modules/game/constants/game-options/game-options.constant.ts index 2192ebc16..bf5a8c741 100644 --- a/src/modules/game/constants/game-options/game-options.constant.ts +++ b/src/modules/game/constants/game-options/game-options.constant.ts @@ -4,6 +4,7 @@ import type { GameOptions } from "../../schemas/game-options/game-options.schema const defaultGameOptions: GameOptions = Object.freeze({ composition: { isHidden: false }, + votes: { canBeSkipped: true }, roles: { areRevealedOnDeath: true, doSkipCallIfNoTarget: false, @@ -49,6 +50,7 @@ const defaultGameOptions: GameOptions = Object.freeze({ const gameOptionsApiProperties: Record = Object.freeze({ composition: { description: "Game's composition options" }, + votes: { description: "Game's votes options" }, roles: { description: "Game's roles options" }, }); diff --git a/src/modules/game/constants/game-options/votes-game-options.constant.ts b/src/modules/game/constants/game-options/votes-game-options.constant.ts new file mode 100644 index 000000000..f23c40880 --- /dev/null +++ b/src/modules/game/constants/game-options/votes-game-options.constant.ts @@ -0,0 +1,17 @@ +import type { ApiPropertyOptions } from "@nestjs/swagger"; +import type { VotesGameOptions } from "../../schemas/game-options/votes-game-options.schema"; +import { defaultGameOptions } from "./game-options.constant"; + +const votesGameOptionsFieldsSpecs = Object.freeze({ canBeSkipped: { default: defaultGameOptions.votes.canBeSkipped } }); + +const votesGameOptionsApiProperties: Record = Object.freeze({ + canBeSkipped: { + description: "If set to `true`, players are not obliged to vote. There won't be any death if votes are skipped. Sheriff election nor votes because of the angel presence can't be skipped", + ...votesGameOptionsFieldsSpecs.canBeSkipped, + }, +}); + +export { + votesGameOptionsApiProperties, + votesGameOptionsFieldsSpecs, +}; \ No newline at end of file diff --git a/src/modules/game/dto/create-game/create-game-options/create-game-options.dto.ts b/src/modules/game/dto/create-game/create-game-options/create-game-options.dto.ts index f42ed85b4..bf5358805 100644 --- a/src/modules/game/dto/create-game/create-game-options/create-game-options.dto.ts +++ b/src/modules/game/dto/create-game/create-game-options/create-game-options.dto.ts @@ -4,6 +4,7 @@ import { IsOptional, ValidateNested } from "class-validator"; import { gameOptionsApiProperties } from "../../../constants/game-options/game-options.constant"; import { CreateCompositionGameOptionsDto } from "./create-composition-game-options/create-composition-game-options.dto"; import { CreateRolesGameOptionsDto } from "./create-roles-game-options/create-roles-game-options.dto"; +import { CreateVotesGameOptionsDto } from "./create-votes-game-options/create-votes-game-options.dto"; class CreateGameOptionsDto { @ApiProperty({ @@ -15,6 +16,15 @@ class CreateGameOptionsDto { @ValidateNested() public composition: CreateCompositionGameOptionsDto = new CreateCompositionGameOptionsDto(); + @ApiProperty({ + ...gameOptionsApiProperties.votes, + required: false, + }) + @IsOptional() + @Type(() => CreateVotesGameOptionsDto) + @ValidateNested() + public votes: CreateVotesGameOptionsDto = new CreateVotesGameOptionsDto(); + @ApiProperty({ ...gameOptionsApiProperties.roles, required: false, diff --git a/src/modules/game/dto/create-game/create-game-options/create-votes-game-options/create-votes-game-options.dto.ts b/src/modules/game/dto/create-game/create-game-options/create-votes-game-options/create-votes-game-options.dto.ts new file mode 100644 index 000000000..b50216a69 --- /dev/null +++ b/src/modules/game/dto/create-game/create-game-options/create-votes-game-options/create-votes-game-options.dto.ts @@ -0,0 +1,17 @@ +import { ApiProperty } from "@nestjs/swagger"; +import { Type } from "class-transformer"; +import { IsBoolean, IsOptional } from "class-validator"; +import { votesGameOptionsApiProperties, votesGameOptionsFieldsSpecs } from "../../../../constants/game-options/votes-game-options.constant"; + +class CreateVotesGameOptionsDto { + @ApiProperty({ + ...votesGameOptionsApiProperties.canBeSkipped, + required: false, + }) + @Type(() => Boolean) + @IsOptional() + @IsBoolean() + public canBeSkipped: boolean = votesGameOptionsFieldsSpecs.canBeSkipped.default; +} + +export { CreateVotesGameOptionsDto }; \ No newline at end of file diff --git a/src/modules/game/enums/game-history-record.enum.ts b/src/modules/game/enums/game-history-record.enum.ts index e1e536278..7daa2080d 100644 --- a/src/modules/game/enums/game-history-record.enum.ts +++ b/src/modules/game/enums/game-history-record.enum.ts @@ -3,6 +3,7 @@ enum GAME_HISTORY_RECORD_VOTING_RESULTS { TIE = "tie", DEATH = "death", INCONSEQUENTIAL = "inconsequential", + SKIPPED = "skipped", } export { GAME_HISTORY_RECORD_VOTING_RESULTS }; \ No newline at end of file diff --git a/src/modules/game/providers/services/game-history/game-history-record.service.ts b/src/modules/game/providers/services/game-history/game-history-record.service.ts index e95cf66c9..1acb786d9 100644 --- a/src/modules/game/providers/services/game-history/game-history-record.service.ts +++ b/src/modules/game/providers/services/game-history/game-history-record.service.ts @@ -139,6 +139,9 @@ export class GameHistoryRecordService { if (baseGame.currentPlay.action === GAME_PLAY_ACTIONS.ELECT_SHERIFF) { return sheriffPlayer ? GAME_HISTORY_RECORD_VOTING_RESULTS.SHERIFF_ELECTION : GAME_HISTORY_RECORD_VOTING_RESULTS.TIE; } + if (!gameHistoryRecordToInsert.play.votes || gameHistoryRecordToInsert.play.votes.length === 0) { + return GAME_HISTORY_RECORD_VOTING_RESULTS.SKIPPED; + } if (areSomePlayersDeadFromCurrentVotes) { return GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH; } diff --git a/src/modules/game/providers/services/game-play/game-play-validator.service.ts b/src/modules/game/providers/services/game-play/game-play-validator.service.ts index 85472f134..e792eb5ed 100644 --- a/src/modules/game/providers/services/game-play/game-play-validator.service.ts +++ b/src/modules/game/providers/services/game-play/game-play-validator.service.ts @@ -282,20 +282,39 @@ export class GamePlayValidatorService { throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_VOTE_TARGET_FOR_TIE_BREAKER); } } + + private validateGamePlayVotesWithRelationsDtoSourceAndTarget(playVotes: MakeGamePlayVoteWithRelationsDto[]): void { + if (playVotes.some(({ source }) => !source.isAlive || doesPlayerHaveAttribute(source, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE))) { + throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_VOTE_SOURCE); + } + if (playVotes.some(({ target }) => !target.isAlive)) { + throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_VOTE_TARGET); + } + if (playVotes.some(({ source, target }) => source._id === target._id)) { + throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.SAME_SOURCE_AND_TARGET_VOTE); + } + } + private validateUnsetGamePlayVotesWithRelationsDto(game: GameWithCurrentPlay): void { + const { action: currentPlayAction, cause: currentPlayCause } = game.currentPlay; + const { canBeSkipped: canVotesBeSkipped } = game.options.votes; + const isCurrentPlayVoteCauseOfAngelPresence = currentPlayAction === GAME_PLAY_ACTIONS.VOTE && currentPlayCause === GAME_PLAY_CAUSES.ANGEL_PRESENCE; + const isCurrentPlayVoteInevitable = currentPlayAction === GAME_PLAY_ACTIONS.ELECT_SHERIFF || isCurrentPlayVoteCauseOfAngelPresence; + const canSomePlayerVote = game.players.some(player => player.isAlive && !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE)); + if (canSomePlayerVote && (!canVotesBeSkipped && requiredVotesActions.includes(currentPlayAction) || canVotesBeSkipped && isCurrentPlayVoteInevitable)) { + throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_VOTES); + } + } + private async validateGamePlayVotesWithRelationsDto(playVotes: MakeGamePlayVoteWithRelationsDto[] | undefined, game: GameWithCurrentPlay): Promise { - if (playVotes === undefined || playVotes.length === 0) { - if (requiredVotesActions.includes(game.currentPlay.action)) { - throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_VOTES); - } + if (!playVotes || playVotes.length === 0) { + this.validateUnsetGamePlayVotesWithRelationsDto(game); return; } if (!requiredVotesActions.includes(game.currentPlay.action)) { throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_VOTES); } - if (playVotes.some(({ source, target }) => source._id === target._id)) { - throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.SAME_SOURCE_AND_TARGET_VOTE); - } + this.validateGamePlayVotesWithRelationsDtoSourceAndTarget(playVotes); if (game.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) { await this.validateGamePlayVotesTieBreakerWithRelationsDto(playVotes, game); } diff --git a/src/modules/game/schemas/game-options/game-options.schema.ts b/src/modules/game/schemas/game-options/game-options.schema.ts index b24edeee3..b5b58b65c 100644 --- a/src/modules/game/schemas/game-options/game-options.schema.ts +++ b/src/modules/game/schemas/game-options/game-options.schema.ts @@ -4,6 +4,7 @@ import { Expose, Type } from "class-transformer"; import { gameOptionsApiProperties } from "../../constants/game-options/game-options.constant"; import { CompositionGameOptions, CompositionGameOptionsSchema } from "./composition-game-options.schema"; import { RolesGameOptions, RolesGameOptionsSchema } from "./roles-game-options/roles-game-options.schema"; +import { VotesGameOptions, VotesGameOptionsSchema } from "./votes-game-options.schema"; @Schema({ versionKey: false, @@ -20,6 +21,15 @@ class GameOptions { @Expose() public composition: CompositionGameOptions; + @ApiProperty(gameOptionsApiProperties.votes) + @Prop({ + type: VotesGameOptionsSchema, + default: () => ({}), + }) + @Type(() => VotesGameOptions) + @Expose() + public votes: VotesGameOptions; + @ApiProperty(gameOptionsApiProperties.roles) @Prop({ type: RolesGameOptionsSchema, diff --git a/src/modules/game/schemas/game-options/votes-game-options.schema.ts b/src/modules/game/schemas/game-options/votes-game-options.schema.ts new file mode 100644 index 000000000..6927d84d5 --- /dev/null +++ b/src/modules/game/schemas/game-options/votes-game-options.schema.ts @@ -0,0 +1,23 @@ +import { Prop, Schema, SchemaFactory } from "@nestjs/mongoose"; +import { ApiProperty } from "@nestjs/swagger"; +import { Expose } from "class-transformer"; +import { votesGameOptionsApiProperties, votesGameOptionsFieldsSpecs } from "../../constants/game-options/votes-game-options.constant"; + +@Schema({ + versionKey: false, + id: false, + _id: false, +}) +class VotesGameOptions { + @ApiProperty(votesGameOptionsApiProperties.canBeSkipped) + @Prop({ default: votesGameOptionsFieldsSpecs.canBeSkipped.default }) + @Expose() + public canBeSkipped: boolean; +} + +const VotesGameOptionsSchema = SchemaFactory.createForClass(VotesGameOptions); + +export { + VotesGameOptions, + VotesGameOptionsSchema, +}; \ No newline at end of file diff --git a/src/shared/exception/enums/bad-game-play-payload-error.enum.ts b/src/shared/exception/enums/bad-game-play-payload-error.enum.ts index 656e01260..85fd581ba 100644 --- a/src/shared/exception/enums/bad-game-play-payload-error.enum.ts +++ b/src/shared/exception/enums/bad-game-play-payload-error.enum.ts @@ -7,6 +7,8 @@ enum BAD_GAME_PLAY_PAYLOAD_REASONS { UNEXPECTED_VOTES = "`votes` can't be set on this current game's state", REQUIRED_VOTES = "`votes` is required on this current game's state", SAME_SOURCE_AND_TARGET_VOTE = "One vote has the same source and target", + BAD_VOTE_SOURCE = "One source is not able to vote because he's dead or doesn't have the ability to do so", + BAD_VOTE_TARGET = "One target can't be voted because he's dead", BAD_VOTE_TARGET_FOR_TIE_BREAKER = "One vote's target is not in the previous tie in votes", UNEXPECTED_TARGETS = "`targets` can't be set on this current game's state", REQUIRED_TARGETS = "`targets` is required on this current game's state", diff --git a/tests/badges/.gitkeep b/tests/badges/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/badges/shields.json b/tests/badges/shields.json deleted file mode 100644 index 3d8d60238..000000000 --- a/tests/badges/shields.json +++ /dev/null @@ -1 +0,0 @@ -{"tests-count":{"label":"Tests","icon":"jest","status":"","color":"109B08"},"statements":{"label":"Statements","icon":"jest","status":" ()","color":"109B08"}} \ No newline at end of file diff --git a/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts b/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts index 52bd5d95a..ebdda2034 100644 --- a/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts +++ b/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts @@ -29,6 +29,9 @@ import { bulkCreateFakeCreateGamePlayerDto } from "../../../../../factories/game import { createFakeCreateGameDto, createFakeCreateGameWithPlayersDto } from "../../../../../factories/game/dto/create-game/create-game.dto.factory"; import { createFakeMakeGamePlayDto } from "../../../../../factories/game/dto/make-game-play/make-game-play.dto.factory"; import { createFakeGameHistoryRecord } from "../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory"; +import { createFakeCompositionGameOptions } from "../../../../../factories/game/schemas/game-options/composition-game-options.schema.factory"; +import { createFakeGameOptions } from "../../../../../factories/game/schemas/game-options/game-options.schema.factory"; +import { createFakeVotesGameOptions } from "../../../../../factories/game/schemas/game-options/votes-game-options.schema.factory"; import { createFakeGamePlayAllVote, createFakeGamePlaySeerLooks, createFakeGamePlayWerewolvesEat } from "../../../../../factories/game/schemas/game-play/game-play.schema.factory"; import { createFakeGame, createFakeGameWithCurrentPlay } from "../../../../../factories/game/schemas/game.schema.factory"; import { createFakeSeenBySeerPlayerAttribute } from "../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory"; @@ -485,7 +488,11 @@ describe("Game Controller", () => { }, }; const payload = createFakeCreateGameWithPlayersDto({}, { options }); - const expectedOptions = createFakeGameOptionsDto({ ...options, composition: { isHidden: defaultGameOptions.composition.isHidden } }); + const expectedOptions = createFakeGameOptionsDto({ + ...options, + composition: createFakeCompositionGameOptions({ isHidden: defaultGameOptions.composition.isHidden }), + votes: createFakeVotesGameOptions({ canBeSkipped: defaultGameOptions.votes.canBeSkipped }), + }); const response = await app.inject({ method: "POST", url: "/games", @@ -641,13 +648,15 @@ describe("Game Controller", () => { createFakeVillagerAlivePlayer(), createFakeWerewolfAlivePlayer(), ]); + const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) }); const game = createFakeGame({ status: GAME_STATUSES.PLAYING, currentPlay: createFakeGamePlayAllVote(), players, + options, }); await models.game.create(game); - const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: players[0]._id }] }); + const payload = createFakeMakeGamePlayDto({}); const response = await app.inject({ method: "POST", url: `/games/${game._id.toString()}/play`, diff --git a/tests/factories/game/dto/create-game/create-game-options/create-composition-game-options/create-composition-game-options.dto.factory.ts b/tests/factories/game/dto/create-game/create-game-options/create-composition-game-options/create-composition-game-options.dto.factory.ts new file mode 100644 index 000000000..9eb0e3468 --- /dev/null +++ b/tests/factories/game/dto/create-game/create-game-options/create-composition-game-options/create-composition-game-options.dto.factory.ts @@ -0,0 +1,16 @@ +import { faker } from "@faker-js/faker"; +import { plainToInstance } from "class-transformer"; +import { CreateCompositionGameOptionsDto } from "../../../../../../../src/modules/game/dto/create-game/create-game-options/create-composition-game-options/create-composition-game-options.dto"; +import { plainToInstanceDefaultOptions } from "../../../../../../../src/shared/validation/constants/validation.constant"; + +function createFakeCompositionGameOptionsDto( + createCompositionGameOptionsDto: Partial = {}, + override: object = {}, +): CreateCompositionGameOptionsDto { + return plainToInstance(CreateCompositionGameOptionsDto, { + isHidden: createCompositionGameOptionsDto.isHidden ?? faker.datatype.boolean(), + ...override, + }, plainToInstanceDefaultOptions); +} + +export { createFakeCompositionGameOptionsDto }; \ No newline at end of file diff --git a/tests/factories/game/dto/create-game/create-game-options/create-game-options.dto.factory.ts b/tests/factories/game/dto/create-game/create-game-options/create-game-options.dto.factory.ts index 7ed964522..9034ce556 100644 --- a/tests/factories/game/dto/create-game/create-game-options/create-game-options.dto.factory.ts +++ b/tests/factories/game/dto/create-game/create-game-options/create-game-options.dto.factory.ts @@ -1,12 +1,14 @@ -import { faker } from "@faker-js/faker"; import { plainToInstance } from "class-transformer"; import { CreateGameOptionsDto } from "../../../../../../src/modules/game/dto/create-game/create-game-options/create-game-options.dto"; import { plainToInstanceDefaultOptions } from "../../../../../../src/shared/validation/constants/validation.constant"; +import { createFakeCompositionGameOptionsDto } from "./create-composition-game-options/create-composition-game-options.dto.factory"; import { createFakeRolesGameOptionsDto } from "./create-roles-game-options/create-roles-game-options.dto.factory"; +import { createFakeVotesGameOptionsDto } from "./create-votes-game-options/create-votes-game-options.dto.factory"; function createFakeGameOptionsDto(createGameOptionsDto: Partial = {}, override: object = {}): CreateGameOptionsDto { return plainToInstance(CreateGameOptionsDto, { - composition: { isHidden: createGameOptionsDto.composition?.isHidden ?? faker.datatype.boolean() }, + composition: createFakeCompositionGameOptionsDto(createGameOptionsDto.composition), + votes: createFakeVotesGameOptionsDto(createGameOptionsDto.votes), roles: createFakeRolesGameOptionsDto(createGameOptionsDto.roles), ...override, }, plainToInstanceDefaultOptions); diff --git a/tests/factories/game/dto/create-game/create-game-options/create-votes-game-options/create-votes-game-options.dto.factory.ts b/tests/factories/game/dto/create-game/create-game-options/create-votes-game-options/create-votes-game-options.dto.factory.ts new file mode 100644 index 000000000..8b8a8309b --- /dev/null +++ b/tests/factories/game/dto/create-game/create-game-options/create-votes-game-options/create-votes-game-options.dto.factory.ts @@ -0,0 +1,13 @@ +import { faker } from "@faker-js/faker"; +import { plainToInstance } from "class-transformer"; +import { CreateVotesGameOptionsDto } from "../../../../../../../src/modules/game/dto/create-game/create-game-options/create-votes-game-options/create-votes-game-options.dto"; +import { plainToInstanceDefaultOptions } from "../../../../../../../src/shared/validation/constants/validation.constant"; + +function createFakeVotesGameOptionsDto(createVotesGameOptionsDto: Partial = {}, override: object = {}): CreateVotesGameOptionsDto { + return plainToInstance(CreateVotesGameOptionsDto, { + canBeSkipped: createVotesGameOptionsDto.canBeSkipped ?? faker.datatype.boolean(), + ...override, + }, plainToInstanceDefaultOptions); +} + +export { createFakeVotesGameOptionsDto }; \ No newline at end of file diff --git a/tests/factories/game/schemas/game-options/composition-game-options.schema.factory.ts b/tests/factories/game/schemas/game-options/composition-game-options.schema.factory.ts new file mode 100644 index 000000000..48e6b6275 --- /dev/null +++ b/tests/factories/game/schemas/game-options/composition-game-options.schema.factory.ts @@ -0,0 +1,13 @@ +import { faker } from "@faker-js/faker"; +import { plainToInstance } from "class-transformer"; +import { CompositionGameOptions } from "../../../../../src/modules/game/schemas/game-options/composition-game-options.schema"; +import { plainToInstanceDefaultOptions } from "../../../../../src/shared/validation/constants/validation.constant"; + +function createFakeCompositionGameOptions(compositionGameOptions: Partial = {}, override: object = {}): CompositionGameOptions { + return plainToInstance(CompositionGameOptions, { + isHidden: compositionGameOptions.isHidden ?? faker.datatype.boolean(), + ...override, + }, plainToInstanceDefaultOptions); +} + +export { createFakeCompositionGameOptions }; \ No newline at end of file diff --git a/tests/factories/game/schemas/game-options/game-options.schema.factory.ts b/tests/factories/game/schemas/game-options/game-options.schema.factory.ts index 62e068682..8cf850b35 100644 --- a/tests/factories/game/schemas/game-options/game-options.schema.factory.ts +++ b/tests/factories/game/schemas/game-options/game-options.schema.factory.ts @@ -1,12 +1,14 @@ -import { faker } from "@faker-js/faker"; import { plainToInstance } from "class-transformer"; import { GameOptions } from "../../../../../src/modules/game/schemas/game-options/game-options.schema"; import { plainToInstanceDefaultOptions } from "../../../../../src/shared/validation/constants/validation.constant"; +import { createFakeCompositionGameOptions } from "./composition-game-options.schema.factory"; import { createFakeRolesGameOptions } from "./game-roles-options.schema.factory"; +import { createFakeVotesGameOptions } from "./votes-game-options.schema.factory"; function createFakeGameOptions(gameOptions: Partial = {}, override: object = {}): GameOptions { return plainToInstance(GameOptions, { - composition: { isHidden: gameOptions.composition?.isHidden ?? faker.datatype.boolean() }, + composition: createFakeCompositionGameOptions(gameOptions.composition), + votes: createFakeVotesGameOptions(gameOptions.votes), roles: createFakeRolesGameOptions(gameOptions.roles), ...override, }, plainToInstanceDefaultOptions); diff --git a/tests/factories/game/schemas/game-options/votes-game-options.schema.factory.ts b/tests/factories/game/schemas/game-options/votes-game-options.schema.factory.ts new file mode 100644 index 000000000..8758c8034 --- /dev/null +++ b/tests/factories/game/schemas/game-options/votes-game-options.schema.factory.ts @@ -0,0 +1,13 @@ +import { faker } from "@faker-js/faker"; +import { plainToInstance } from "class-transformer"; +import { VotesGameOptions } from "../../../../../src/modules/game/schemas/game-options/votes-game-options.schema"; +import { plainToInstanceDefaultOptions } from "../../../../../src/shared/validation/constants/validation.constant"; + +function createFakeVotesGameOptions(createVotesGameOptions: Partial = {}, override: object = {}): VotesGameOptions { + return plainToInstance(VotesGameOptions, { + canBeSkipped: createVotesGameOptions.canBeSkipped ?? faker.datatype.boolean(), + ...override, + }, plainToInstanceDefaultOptions); +} + +export { createFakeVotesGameOptions }; \ No newline at end of file diff --git a/tests/stryker/incremental.json b/tests/stryker/incremental.json index 7332ea6d5..913a392f2 100644 --- a/tests/stryker/incremental.json +++ b/tests/stryker/incremental.json @@ -12,7 +12,7 @@ "static": true, "killedBy": [], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -34,10 +34,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "904" + "914" ], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -59,10 +59,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "904" + "914" ], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -84,10 +84,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "904" + "914" ], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -109,10 +109,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "904" + "914" ], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -134,10 +134,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "904" + "914" ], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -159,10 +159,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "904" + "914" ], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -184,10 +184,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "904" + "914" ], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -209,10 +209,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "904" + "914" ], "coveredBy": [ - "904" + "914" ], "location": { "end": { @@ -240,8 +240,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "910", - "911" + "920", + "921" ], "location": { "end": { @@ -263,8 +263,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "910", - "911" + "920", + "921" ], "location": { "end": { @@ -286,8 +286,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "910", - "911" + "920", + "921" ], "location": { "end": { @@ -309,8 +309,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "910", - "911" + "920", + "921" ], "location": { "end": { @@ -332,11 +332,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "911" + "921" ], "coveredBy": [ - "910", - "911" + "920", + "921" ], "location": { "end": { @@ -358,8 +358,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "910", - "911" + "920", + "921" ], "location": { "end": { @@ -381,8 +381,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "910", - "911" + "920", + "921" ], "location": { "end": { @@ -404,10 +404,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "911" + "921" ], "coveredBy": [ - "911" + "921" ], "location": { "end": { @@ -429,9 +429,9 @@ "static": true, "killedBy": [], "coveredBy": [ - "912", - "913", - "914" + "922", + "923", + "924" ], "location": { "end": { @@ -453,9 +453,9 @@ "static": true, "killedBy": [], "coveredBy": [ - "912", - "913", - "914" + "922", + "923", + "924" ], "location": { "end": { @@ -477,12 +477,12 @@ "testsCompleted": 3, "static": true, "killedBy": [ - "912" + "922" ], "coveredBy": [ - "912", - "913", - "914" + "922", + "923", + "924" ], "location": { "end": { @@ -504,10 +504,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "912" + "922" ], "coveredBy": [ - "912" + "922" ], "location": { "end": { @@ -529,9 +529,9 @@ "static": true, "killedBy": [], "coveredBy": [ - "912", - "913", - "914" + "922", + "923", + "924" ], "location": { "end": { @@ -553,7 +553,7 @@ "static": true, "killedBy": [], "coveredBy": [ - "914" + "924" ], "location": { "end": { @@ -575,7 +575,7 @@ "static": true, "killedBy": [], "coveredBy": [ - "914" + "924" ], "location": { "end": { @@ -597,10 +597,10 @@ "testsCompleted": 1, "static": true, "killedBy": [ - "914" + "924" ], "coveredBy": [ - "914" + "924" ], "location": { "end": { @@ -628,8 +628,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "931", - "932" + "941", + "942" ], "location": { "end": { @@ -651,8 +651,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "931", - "932" + "941", + "942" ], "location": { "end": { @@ -674,11 +674,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "931" + "941" ], "coveredBy": [ - "931", - "932" + "941", + "942" ], "location": { "end": { @@ -700,11 +700,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "931" + "941" ], "coveredBy": [ - "931", - "932" + "941", + "942" ], "location": { "end": { @@ -726,11 +726,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "931" + "941" ], "coveredBy": [ - "931", - "932" + "941", + "942" ], "location": { "end": { @@ -752,8 +752,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "931", - "932" + "941", + "942" ], "location": { "end": { @@ -781,8 +781,8 @@ "static": true, "killedBy": [], "coveredBy": [ - "929", - "930" + "939", + "940" ], "location": { "end": { @@ -804,11 +804,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "929" + "939" ], "coveredBy": [ - "929", - "930" + "939", + "940" ], "location": { "end": { @@ -830,11 +830,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "929" + "939" ], "coveredBy": [ - "929", - "930" + "939", + "940" ], "location": { "end": { @@ -856,11 +856,11 @@ "testsCompleted": 2, "static": true, "killedBy": [ - "929" + "939" ], "coveredBy": [ - "929", - "930" + "939", + "940" ], "location": { "end": { @@ -888,8 +888,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "517", - "518" + "527", + "528" ], "location": { "end": { @@ -911,7 +911,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "528" + "538" ], "location": { "end": { @@ -933,7 +933,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "531" + "541" ], "location": { "end": { @@ -955,8 +955,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", - "545" + "554", + "555" ], "location": { "end": { @@ -978,8 +978,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "548", - "549" + "558", + "559" ], "location": { "end": { @@ -1001,10 +1001,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557" + "564", + "565", + "566", + "567" ], "location": { "end": { @@ -1026,8 +1026,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "560", - "561" + "570", + "571" ], "location": { "end": { @@ -1055,28 +1055,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913" ], "location": { "end": { @@ -1098,26 +1098,26 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "903" + "913" ], "coveredBy": [ - "530", - "531", - "547", - "548", - "549", - "551", - "552", - "553", - "554", - "555", - "556", + "540", + "541", "557", + "558", "559", - "560", "561", - "902", - "903" + "562", + "563", + "564", + "565", + "566", + "567", + "569", + "570", + "571", + "912", + "913" ], "location": { "end": { @@ -1131,57 +1131,67 @@ } }, { - "id": "47", - "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": "44", + "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": [ - "530", - "547", - "551", - "552", - "553", + "540", + "541", + "557", + "558", "559", - "902" + "561", + "563", + "564", + "565", + "566", + "567", + "569", + "570", + "571", + "912", + "913" ], "location": { "end": { - "column": 6, - "line": 18 + "column": 22, + "line": 16 }, "start": { - "column": 24, + "column": 9, "line": 16 } } }, { - "id": "44", + "id": "45", "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": [ - "530", - "531", - "547", - "548", - "549", - "551", - "552", - "553", - "554", - "555", - "556", + "540", + "541", "557", + "558", "559", - "560", "561", - "902", - "903" + "563", + "564", + "565", + "566", + "567", + "569", + "570", + "571", + "912", + "913" ], "location": { "end": { @@ -1201,24 +1211,24 @@ "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": [ - "530", - "531", - "547", - "548", - "549", - "551", - "552", - "553", - "554", - "555", - "556", + "540", + "541", "557", + "558", "559", - "560", "561", - "902", - "903" + "563", + "564", + "565", + "566", + "567", + "569", + "570", + "571", + "912", + "913" ], "location": { "end": { @@ -1232,38 +1242,28 @@ } }, { - "id": "45", - "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": "47", + "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": [ - "530", - "531", - "547", - "548", - "549", - "551", - "552", - "553", - "554", - "555", - "556", + "540", "557", - "559", - "560", "561", - "902", - "903" + "563", + "569", + "912" ], "location": { "end": { - "column": 22, - "line": 16 + "column": 6, + "line": 18 }, "start": { - "column": 9, + "column": 24, "line": 16 } } @@ -1308,32 +1308,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "867", - "868", - "869", - "870", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "877", + "878", + "879", + "880", + "881", + "882", + "883" ], "location": { "end": { @@ -1355,35 +1355,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "867", - "868", - "869", - "870", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "877", + "878", + "879", + "880", + "881", + "882", + "883" ], "location": { "end": { @@ -1405,35 +1405,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "532" + "542" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "867", - "868", - "869", - "870", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "877", + "878", + "879", + "880", + "881", + "882", + "883" ], "location": { "end": { @@ -1455,32 +1455,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "867", - "868", - "869", - "870", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "877", + "878", + "879", + "880", + "881", + "882", + "883" ], "location": { "end": { @@ -1502,32 +1502,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "867", - "868", - "869", - "870", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "877", + "878", + "879", + "880", + "881", + "882", + "883" ], "location": { "end": { @@ -1549,32 +1549,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "869" + "879" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "882", + "883" ], "location": { "end": { @@ -1596,32 +1596,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "869" + "879" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "882", + "883" ], "location": { "end": { @@ -1643,31 +1643,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "883" ], "location": { "end": { @@ -1689,31 +1689,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "869" + "879" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "883" ], "location": { "end": { @@ -1735,31 +1735,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "870" + "880" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "883" ], "location": { "end": { @@ -1781,31 +1781,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "883" ], "location": { "end": { @@ -1827,31 +1827,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "873" + "883" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "883" ], "location": { "end": { @@ -1873,36 +1873,36 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "873" - ], - "location": { - "end": { - "column": 103, - "line": 10 + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "883" + ], + "location": { + "end": { + "column": 103, + "line": 10 }, "start": { "column": 87, @@ -1919,31 +1919,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "873" + "883" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "883" ], "location": { "end": { @@ -1965,31 +1965,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "873" + "883" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "869", - "870", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "879", + "880", + "881", + "883" ], "location": { "end": { @@ -2011,14 +2011,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "532" + "542" ], "coveredBy": [ - "532", - "867", - "868", - "869", - "870" + "542", + "877", + "878", + "879", + "880" ], "location": { "end": { @@ -2039,11 +2039,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "867", - "868", - "869", - "870" + "542", + "877", + "878", + "879", + "880" ], "location": { "end": { @@ -2065,30 +2065,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "540" + "550" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "882", + "883" ], "location": { "end": { @@ -2110,30 +2110,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "873" + "883" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "882", + "883" ], "location": { "end": { @@ -2155,30 +2155,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "540" + "550" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "882", + "883" ], "location": { "end": { @@ -2200,30 +2200,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "882", + "883" ], "location": { "end": { @@ -2245,30 +2245,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "540" + "550" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "882", + "883" ], "location": { "end": { @@ -2290,30 +2290,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "882", + "883" ], "location": { "end": { @@ -2335,30 +2335,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "872", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "882", + "883" ], "location": { "end": { @@ -2380,29 +2380,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "883" ], "location": { "end": { @@ -2424,29 +2424,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "871" + "881" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "883" ], "location": { "end": { @@ -2463,30 +2463,34 @@ "id": "75", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:425:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 20, "static": false, - "killedBy": [], + "killedBy": [ + "554" + ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "873" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "883" ], "location": { "end": { @@ -2508,38 +2512,38 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "871" + "881" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "871", - "873" - ], - "location": { - "end": { - "column": 103, - "line": 15 - }, - "start": { - "column": 72, - "line": 15 + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "881", + "883" + ], + "location": { + "end": { + "column": 103, + "line": 15 + }, + "start": { + "column": 72, + "line": 15 } } }, @@ -2552,9 +2556,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "540", - "874" + "542", + "550", + "884" ], "location": { "end": { @@ -2576,12 +2580,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "540" + "550" ], "coveredBy": [ - "532", - "540", - "874" + "542", + "550", + "884" ], "location": { "end": { @@ -2704,32 +2708,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "875", - "876", - "877", - "878", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "885", + "886", + "887", + "888", + "889", + "890", + "891" ], "location": { "end": { @@ -2751,35 +2755,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "875", - "876", - "877", - "878", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "885", + "886", + "887", + "888", + "889", + "890", + "891" ], "location": { "end": { @@ -2801,35 +2805,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "532" + "542" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "875", - "876", - "877", - "878", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "885", + "886", + "887", + "888", + "889", + "890", + "891" ], "location": { "end": { @@ -2851,32 +2855,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "875", - "876", - "877", - "878", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "885", + "886", + "887", + "888", + "889", + "890", + "891" ], "location": { "end": { @@ -2898,32 +2902,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "875", - "876", - "877", - "878", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "885", + "886", + "887", + "888", + "889", + "890", + "891" ], "location": { "end": { @@ -2945,32 +2949,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "877" + "887" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "890", + "891" ], "location": { "end": { @@ -2992,32 +2996,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "877" + "887" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "890", + "891" ], "location": { "end": { @@ -3039,31 +3043,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "891" ], "location": { "end": { @@ -3085,31 +3089,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "877" + "887" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "891" ], "location": { "end": { @@ -3131,31 +3135,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "878" + "888" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "891" ], "location": { "end": { @@ -3177,31 +3181,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "891" ], "location": { "end": { @@ -3223,32 +3227,32 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "881" - ], + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "891" + ], "location": { "end": { "column": 104, @@ -3269,31 +3273,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "891" ], "location": { "end": { @@ -3315,31 +3319,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "891" ], "location": { "end": { @@ -3361,31 +3365,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "877", - "878", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "887", + "888", + "889", + "891" ], "location": { "end": { @@ -3407,14 +3411,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "532" + "542" ], "coveredBy": [ - "532", - "875", - "876", - "877", - "878" + "542", + "885", + "886", + "887", + "888" ], "location": { "end": { @@ -3436,14 +3440,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "875" + "885" ], "coveredBy": [ - "532", - "875", - "876", - "877", - "878" + "542", + "885", + "886", + "887", + "888" ], "location": { "end": { @@ -3465,30 +3469,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "541" + "551" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "890", + "891" ], "location": { "end": { @@ -3510,30 +3514,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "881" + "891" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "890", + "891" ], "location": { "end": { @@ -3555,30 +3559,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "541" + "551" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "890", + "891" ], "location": { "end": { @@ -3600,30 +3604,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "890", + "891" ], "location": { "end": { @@ -3645,30 +3649,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "541" + "551" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "890", + "891" ], "location": { "end": { @@ -3690,30 +3694,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "890", + "891" ], "location": { "end": { @@ -3735,30 +3739,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "880", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "890", + "891" ], "location": { "end": { @@ -3780,29 +3784,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "891" ], "location": { "end": { @@ -3819,30 +3823,34 @@ "id": "109", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 201\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:388:35\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 20, "static": false, - "killedBy": [], + "killedBy": [ + "551" + ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "891" ], "location": { "end": { @@ -3864,34 +3872,34 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "881" - ], - "location": { - "end": { - "column": 103, - "line": 15 + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "891" + ], + "location": { + "end": { + "column": 103, + "line": 15 }, "start": { "column": 72, @@ -3908,29 +3916,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "541" + "551" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "879", - "881" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "889", + "891" ], "location": { "end": { @@ -3952,18 +3960,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "541" + "551" ], "coveredBy": [ - "532", - "533", - "536", - "537", - "539", - "541", "542", - "543", - "882" + "545", + "546", + "547", + "549", + "551", + "553", + "892" ], "location": { "end": { @@ -4079,15 +4086,14 @@ "status": "CompileError", "static": false, "coveredBy": [ - "532", - "533", - "536", - "537", - "539", - "541", "542", - "543", - "882" + "545", + "546", + "547", + "549", + "551", + "553", + "892" ], "location": { "end": { @@ -4115,29 +4121,29 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "824", - "825", - "826", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "834", + "835", + "836", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4159,32 +4165,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "827" + "837" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "824", - "825", - "826", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "834", + "835", + "836", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4206,32 +4212,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "824" + "834" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "824", - "825", - "826", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "834", + "835", + "836", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4253,29 +4259,29 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "824", - "825", - "826", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "834", + "835", + "836", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4297,29 +4303,29 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "824", - "825", - "826", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "834", + "835", + "836", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4341,29 +4347,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "826" + "836" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "826", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "836", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4385,29 +4391,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "826" + "836" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "826", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "836", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4429,29 +4435,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "827" + "837" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "826", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "836", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4473,13 +4479,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "824" + "834" ], "coveredBy": [ - "532", - "824", - "825", - "826" + "542", + "834", + "835", + "836" ], "location": { "end": { @@ -4501,13 +4507,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "824" + "834" ], "coveredBy": [ - "532", - "824", - "825", - "826" + "542", + "834", + "835", + "836" ], "location": { "end": { @@ -4529,25 +4535,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4569,25 +4575,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4609,25 +4615,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4649,25 +4655,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4689,25 +4695,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4729,25 +4735,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4769,25 +4775,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4809,25 +4815,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4849,27 +4855,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "828" + "838" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4891,27 +4897,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "830" + "840" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4933,27 +4939,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "830" + "840" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -4975,27 +4981,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "828" + "838" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5017,27 +5023,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "828" + "838" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5059,25 +5065,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5099,28 +5105,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "543" + "553" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5142,28 +5148,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5185,28 +5191,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5228,28 +5234,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "827" + "837" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5271,28 +5277,28 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "543" + "553" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "827", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "837", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5314,27 +5320,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "832" + "842" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5356,27 +5362,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "543" + "553" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "828", - "829", - "830", - "831", - "832" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "838", + "839", + "840", + "841", + "842" ], "location": { "end": { @@ -5398,10 +5404,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", "542", - "543", - "833" + "552", + "553", + "843" ], "location": { "end": { @@ -5423,13 +5429,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "833" + "843" ], "coveredBy": [ - "532", "542", - "543", - "833" + "552", + "553", + "843" ], "location": { "end": { @@ -5552,32 +5558,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "859", - "860", - "861", - "862", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "869", + "870", + "871", + "872", + "873", + "874", + "875" ], "location": { "end": { @@ -5599,35 +5605,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "859", - "860", - "861", - "862", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "869", + "870", + "871", + "872", + "873", + "874", + "875" ], "location": { "end": { @@ -5649,43 +5655,43 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "859" + "869" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "859", - "860", - "861", - "862", - "863", - "864", - "865" - ], - "location": { - "end": { - "column": 105, - "line": 9 - }, - "start": { - "column": 7, + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "869", + "870", + "871", + "872", + "873", + "874", + "875" + ], + "location": { + "end": { + "column": 105, + "line": 9 + }, + "start": { + "column": 7, "line": 9 } } @@ -5699,32 +5705,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "859", - "860", - "861", - "862", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "869", + "870", + "871", + "872", + "873", + "874", + "875" ], "location": { "end": { @@ -5746,32 +5752,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "859", - "860", - "861", - "862", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "869", + "870", + "871", + "872", + "873", + "874", + "875" ], "location": { "end": { @@ -5793,32 +5799,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "861" + "871" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "874", + "875" ], "location": { "end": { @@ -5840,32 +5846,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "861" + "871" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "874", + "875" ], "location": { "end": { @@ -5882,32 +5888,36 @@ "id": "164", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:425:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 22, "static": false, - "killedBy": [], + "killedBy": [ + "554" + ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "875" ], "location": { "end": { @@ -5929,31 +5939,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "861" + "871" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "875" ], "location": { "end": { @@ -5975,31 +5985,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "862" + "872" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "875" ], "location": { "end": { @@ -6021,31 +6031,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "875" ], "location": { "end": { @@ -6067,31 +6077,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "875" ], "location": { "end": { @@ -6113,31 +6123,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "875" ], "location": { "end": { @@ -6159,31 +6169,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "865" + "875" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "875" ], "location": { "end": { @@ -6205,60 +6215,60 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "861", - "862", - "863", - "865" - ], - "location": { - "end": { - "column": 102, - "line": 9 - }, - "start": { - "column": 96, - "line": 9 - } - } - }, - { - "id": "172", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:377:35\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "871", + "872", + "873", + "875" + ], + "location": { + "end": { + "column": 102, + "line": 9 + }, + "start": { + "column": 96, + "line": 9 + } + } + }, + { + "id": "172", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:377:35\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", "testsCompleted": 5, "static": false, "killedBy": [ - "532" + "542" ], "coveredBy": [ - "532", - "859", - "860", - "861", - "862" + "542", + "869", + "870", + "871", + "872" ], "location": { "end": { @@ -6280,14 +6290,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "859" + "869" ], "coveredBy": [ - "532", - "859", - "860", - "861", - "862" + "542", + "869", + "870", + "871", + "872" ], "location": { "end": { @@ -6309,30 +6319,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "539" + "549" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "874", + "875" ], "location": { "end": { @@ -6354,30 +6364,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "874", + "875" ], "location": { "end": { @@ -6399,30 +6409,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "874", + "875" ], "location": { "end": { @@ -6444,30 +6454,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "539" + "549" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "874", + "875" ], "location": { "end": { @@ -6484,30 +6494,34 @@ "id": "178", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:425:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 20, "static": false, - "killedBy": [], + "killedBy": [ + "554" + ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "875" ], "location": { "end": { @@ -6529,29 +6543,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "539" + "549" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "875" ], "location": { "end": { @@ -6573,29 +6587,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "875" ], "location": { "end": { @@ -6617,30 +6631,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "863" + "873" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "874", + "875" ], "location": { "end": { @@ -6662,30 +6676,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "874", + "875" ], "location": { "end": { @@ -6707,30 +6721,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "874", + "875" ], "location": { "end": { @@ -6752,30 +6766,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "863", - "864", - "865" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "873", + "874", + "875" ], "location": { "end": { @@ -6788,6 +6802,31 @@ } } }, + { + "id": "185", + "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": [ + "542", + "544", + "549", + "876" + ], + "location": { + "end": { + "column": 2, + "line": 21 + }, + "start": { + "column": 63, + "line": 19 + } + } + }, { "id": "186", "mutatorName": "StringLiteral", @@ -6797,14 +6836,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "866" + "876" ], "coveredBy": [ - "532", - "534", - "539", "542", - "866" + "544", + "549", + "876" ], "location": { "end": { @@ -6911,31 +6949,6 @@ "line": 30 } } - }, - { - "id": "185", - "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": [ - "532", - "534", - "539", - "542", - "866" - ], - "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 };" @@ -6952,32 +6965,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "851", - "852", - "853", - "854", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "861", + "862", + "863", + "864", + "865", + "866", + "867" ], "location": { "end": { @@ -6999,35 +7012,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "851", - "852", - "853", - "854", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "861", + "862", + "863", + "864", + "865", + "866", + "867" ], "location": { "end": { @@ -7049,35 +7062,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "851" + "861" ], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "851", - "852", - "853", - "854", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "861", + "862", + "863", + "864", + "865", + "866", + "867" ], "location": { "end": { @@ -7099,32 +7112,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "851", - "852", - "853", - "854", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "861", + "862", + "863", + "864", + "865", + "866", + "867" ], "location": { "end": { @@ -7146,32 +7159,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "851", - "852", - "853", - "854", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "861", + "862", + "863", + "864", + "865", + "866", + "867" ], "location": { "end": { @@ -7193,32 +7206,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "853" + "863" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "866", + "867" ], "location": { "end": { @@ -7240,32 +7253,32 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "853" + "863" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "866", + "867" ], "location": { "end": { @@ -7287,31 +7300,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "857" + "867" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "867" ], "location": { "end": { @@ -7333,31 +7346,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "853" + "863" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "867" ], "location": { "end": { @@ -7379,31 +7392,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "854" + "864" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "867" ], "location": { "end": { @@ -7420,32 +7433,36 @@ "id": "202", "mutatorName": "BooleanLiteral", "replacement": "isObject(player)", - "status": "Timeout", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:425:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 22, "static": false, - "killedBy": [], + "killedBy": [ + "554" + ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "867" ], "location": { "end": { @@ -7467,31 +7484,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "857" + "867" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "867" ], "location": { "end": { @@ -7513,42 +7530,42 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "857" - ], - "location": { - "end": { - "column": 103, - "line": 10 - }, - "start": { - "column": 87, - "line": 10 - } - } + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "867" + ], + "location": { + "end": { + "column": 103, + "line": 10 + }, + "start": { + "column": 87, + "line": 10 + } + } }, { "id": "205", @@ -7559,31 +7576,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "857" + "867" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "867" ], "location": { "end": { @@ -7605,31 +7622,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "857" + "867" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "853", - "854", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "863", + "864", + "865", + "867" ], "location": { "end": { @@ -7651,14 +7668,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "532" + "542" ], "coveredBy": [ - "532", - "851", - "852", - "853", - "854" + "542", + "861", + "862", + "863", + "864" ], "location": { "end": { @@ -7680,14 +7697,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "851" + "861" ], "coveredBy": [ - "532", - "851", - "852", - "853", - "854" + "542", + "861", + "862", + "863", + "864" ], "location": { "end": { @@ -7709,30 +7726,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "538" + "548" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -7754,27 +7771,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -7796,27 +7813,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -7838,30 +7855,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "857" + "867" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -7883,30 +7900,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "538" + "548" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -7928,30 +7945,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -7973,30 +7990,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "856" + "866" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -8018,30 +8035,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "855" + "865" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -8063,30 +8080,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "855" + "865" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -8108,29 +8125,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "855" + "865" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "867" ], "location": { "end": { @@ -8152,29 +8169,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "538" + "548" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "867" ], "location": { "end": { @@ -8196,29 +8213,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "538" + "548" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "867" ], "location": { "end": { @@ -8240,30 +8257,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "538" + "548" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -8285,30 +8302,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -8330,30 +8347,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "856" + "866" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -8375,30 +8392,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -8420,30 +8437,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "856" + "866" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "855", - "856", - "857" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "865", + "866", + "867" ], "location": { "end": { @@ -8465,18 +8482,18 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "534", - "537", - "538", - "683", - "684", - "685", - "686", - "855", - "857" + "544", + "547", + "548", + "693", + "694", + "695", + "696", + "865", + "867" ], "location": { "end": { @@ -8498,18 +8515,18 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "534", - "537", - "538", - "683", - "684", - "685", - "686", - "855", - "857" + "544", + "547", + "548", + "693", + "694", + "695", + "696", + "865", + "867" ], "location": { "end": { @@ -8531,18 +8548,18 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "538" + "548" ], "coveredBy": [ - "534", - "537", - "538", - "683", - "684", - "685", - "686", - "855", - "857" + "544", + "547", + "548", + "693", + "694", + "695", + "696", + "865", + "867" ], "location": { "end": { @@ -8564,10 +8581,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "537", - "538", - "858" + "542", + "544", + "547", + "548", + "868" ], "location": { "end": { @@ -8589,13 +8607,14 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "538" + "548" ], "coveredBy": [ - "532", - "537", - "538", - "858" + "542", + "544", + "547", + "548", + "868" ], "location": { "end": { @@ -8718,32 +8737,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "527", - "528", + "530", + "531", + "532", "533", "534", "535", "536", "537", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "954", - "955", - "956", - "957" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "964", + "965", + "966", + "967" ], "location": { "end": { @@ -8765,35 +8784,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "524" + "534" ], "coveredBy": [ - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "527", - "528", + "530", + "531", + "532", "533", "534", "535", "536", "537", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "954", - "955", - "956", - "957" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "964", + "965", + "966", + "967" ], "location": { "end": { @@ -8815,35 +8834,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "954" + "964" ], "coveredBy": [ - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "527", - "528", + "530", + "531", + "532", "533", "534", "535", "536", "537", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "954", - "955", - "956", - "957" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "964", + "965", + "966", + "967" ], "location": { "end": { @@ -8865,35 +8884,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "956" + "966" ], "coveredBy": [ - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "527", - "528", + "530", + "531", + "532", "533", "534", "535", "536", "537", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "954", - "955", - "956", - "957" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "964", + "965", + "966", + "967" ], "location": { "end": { @@ -8915,35 +8934,35 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "524" + "534" ], "coveredBy": [ - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "527", - "528", + "530", + "531", + "532", "533", "534", "535", "536", "537", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "954", - "955", - "956", - "957" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "964", + "965", + "966", + "967" ], "location": { "end": { @@ -8965,33 +8984,33 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "524" + "534" ], "coveredBy": [ - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "527", - "528", + "530", + "531", + "532", "533", "534", "535", "536", "537", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "956", - "957" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "966", + "967" ], "location": { "end": { @@ -9013,33 +9032,33 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "524" + "534" ], "coveredBy": [ - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "527", - "528", + "530", + "531", + "532", "533", "534", "535", "536", "537", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "956", - "957" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "966", + "967" ], "location": { "end": { @@ -9061,12 +9080,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "954" + "964" ], "coveredBy": [ - "954", - "955", - "956" + "964", + "965", + "966" ], "location": { "end": { @@ -9151,86 +9170,86 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", - "296", - "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "280", + "281", + "285", + "286", + "295", + "296", + "297", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", - "894", - "895", - "896", + "889", + "891", "897", "898", - "899", - "900", + "902", + "903", + "904", + "905", "906", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -9251,86 +9270,86 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", - "894", - "895", - "896", + "889", + "891", "897", "898", - "899", - "900", + "902", + "903", + "904", + "905", "906", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -9352,86 +9371,86 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", - "894", - "895", - "896", + "889", + "891", "897", "898", - "899", - "900", + "902", + "903", + "904", + "905", "906", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -9453,89 +9472,89 @@ "testsCompleted": 79, "static": true, "killedBy": [ - "894" + "904" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", - "894", - "895", - "896", + "889", + "891", "897", "898", - "899", - "900", + "902", + "903", + "904", + "905", "906", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -9556,86 +9575,86 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", - "894", - "895", - "896", + "889", + "891", "897", "898", - "899", - "900", + "902", + "903", + "904", + "905", "906", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -9657,12 +9676,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "894" + "904" ], "coveredBy": [ - "894", - "895", - "896" + "904", + "905", + "906" ], "location": { "end": { @@ -9683,83 +9702,83 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", "897", "898", - "899", - "900", - "906", + "902", + "903", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -9781,86 +9800,86 @@ "testsCompleted": 77, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", "897", "898", - "899", - "900", - "906", + "902", + "903", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -9881,83 +9900,83 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", "897", "898", - "899", - "900", - "906", + "902", + "903", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -9978,83 +9997,83 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", "897", "898", - "899", - "900", - "906", + "902", + "903", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -10076,83 +10095,83 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", - "863", - "865", - "869", - "870", - "871", - "873", - "877", - "878", - "879", - "881", - "887", - "888", - "892", - "893", - "897", - "898", - "899", - "900", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", + "863", + "864", + "865", + "867", + "871", + "872", + "873", + "875", + "879", + "880", + "881", + "883", + "887", + "888", + "889", + "891", + "897", + "898", + "902", + "903", + "907", + "908", + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -10174,83 +10193,83 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", "897", "898", - "899", - "900", - "906", + "902", + "903", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -10272,83 +10291,83 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", "897", "898", - "899", - "900", - "906", + "902", + "903", "907", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -10370,7 +10389,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "897" + "907" ], "location": { "end": { @@ -10391,82 +10410,82 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", + "897", "898", - "899", - "900", - "906", - "907", + "902", + "903", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -10487,82 +10506,82 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", + "897", "898", - "899", - "900", - "906", - "907", + "902", + "903", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -10584,85 +10603,85 @@ "testsCompleted": 76, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "705", - "706", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "853", - "854", - "855", - "857", - "861", - "862", + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "715", + "716", + "836", + "837", + "838", + "839", + "840", + "841", + "842", "863", + "864", "865", - "869", - "870", + "867", "871", + "872", "873", - "877", - "878", + "875", "879", + "880", "881", + "883", "887", "888", - "892", - "893", + "889", + "891", + "897", "898", - "899", - "900", - "906", - "907", + "902", + "903", "908", - "909" + "909", + "910", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -10690,53 +10709,53 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "887", - "888", - "889", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "897", + "898", + "899", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -10758,53 +10777,53 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "887", - "888", - "889", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "897", + "898", + "899", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -10826,56 +10845,56 @@ "testsCompleted": 46, "static": true, "killedBy": [ - "887" + "897" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "887", - "888", - "889", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "897", + "898", + "899", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -10896,53 +10915,53 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "887", - "888", - "889", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "897", + "898", + "899", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -10964,56 +10983,56 @@ "testsCompleted": 47, "static": true, "killedBy": [ - "887" + "897" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "887", - "888", - "889", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "897", + "898", + "899", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -11035,59 +11054,59 @@ "testsCompleted": 47, "static": true, "killedBy": [ - "887" + "897" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "887", - "888", - "889", - "890", - "891", - "892", - "893" - ], - "location": { - "end": { + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "897", + "898", + "899", + "900", + "901", + "902", + "903" + ], + "location": { + "end": { "column": 55, "line": 8 }, @@ -11105,53 +11124,53 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "887", - "888", - "889", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "897", + "898", + "899", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -11172,51 +11191,51 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "889", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "899", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -11238,53 +11257,53 @@ "testsCompleted": 44, "static": true, "killedBy": [ - "892" + "902" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -11301,54 +11320,58 @@ "id": "273", "mutatorName": "ArrayDeclaration", "replacement": "[]", - "status": "Timeout", + "statusReason": "Error: expect(received).toSatisfyAll(expected)\n\nExpected array to satisfy predicate for all values:\n [Function anonymous]\nReceived:\n [{\"name\": \"1\", \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"name\": \"raven\", \"original\": \"raven\"}, \"side\": {}}, {\"name\": \"2\", \"role\": {\"current\": \"bear-tamer\", \"isRevealed\": false, \"name\": \"bear-tamer\", \"original\": \"bear-tamer\"}, \"side\": {}}, {\"name\": \"3\", \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"name\": \"villager\", \"original\": \"villager\"}, \"side\": {}}, {\"name\": \"4\", \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"name\": \"villager\", \"original\": \"villager\"}, \"side\": {}}, {\"name\": \"5\", \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"name\": \"villager\", \"original\": \"villager\"}, \"side\": {}}, {\"name\": \"6\", \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"name\": \"wild-child\", \"original\": \"wild-child\"}, \"side\": {}}, {\"name\": \"7\", \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"name\": \"villager\", \"original\": \"villager\"}, \"side\": {}}, {\"name\": \"8\", \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"name\": \"guard\", \"original\": \"guard\"}, \"side\": {}}, {\"name\": \"9\", \"role\": {\"current\": \"big-bad-wolf\", \"isRevealed\": false, \"name\": \"big-bad-wolf\", \"original\": \"big-bad-wolf\"}, \"side\": {}}, {\"name\": \"10\", \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"name\": \"villager\", \"original\": \"villager\"}, \"side\": {}}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:233:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 44, "static": true, - "killedBy": [], + "killedBy": [ + "538" + ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -11369,50 +11392,50 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -11434,53 +11457,53 @@ "testsCompleted": 43, "static": true, "killedBy": [ - "528" + "538" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "890", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "900", + "901", + "902", + "903" ], "location": { "end": { @@ -11501,10 +11524,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "887", - "888", - "889", - "890" + "897", + "898", + "899", + "900" ], "location": { "end": { @@ -11525,49 +11548,49 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", + "538", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "901", + "902", + "903" ], "location": { "end": { @@ -11589,52 +11612,52 @@ "testsCompleted": 42, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "901", + "902", + "903" ], "location": { "end": { @@ -11655,49 +11678,49 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "901", + "902", + "903" ], "location": { "end": { @@ -11719,52 +11742,52 @@ "testsCompleted": 42, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "901", + "902", + "903" ], "location": { "end": { @@ -11786,49 +11809,49 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "901", + "902", + "903" ], "location": { "end": { @@ -11850,49 +11873,49 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "901", + "902", + "903" ], "location": { "end": { @@ -11914,49 +11937,49 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "528", - "533", - "534", - "535", - "536", - "537", + "304", + "305", + "306", + "319", + "322", + "325", "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "682", - "683", - "684", - "685", - "686", - "891", - "892", - "893" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "692", + "693", + "694", + "695", + "696", + "901", + "902", + "903" ], "location": { "end": { @@ -11978,7 +12001,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "891" + "901" ], "location": { "end": { @@ -12006,56 +12029,56 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "325", + "329", + "330", "543", "544", "545", - "648", - "649", - "905", - "906", - "907", - "908", - "909" - ], - "location": { - "end": { - "column": 2, - "line": 18 + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "658", + "659", + "915", + "916", + "917", + "918", + "919" + ], + "location": { + "end": { + "column": 2, + "line": 18 }, "start": { "column": 77, @@ -12072,54 +12095,54 @@ "testsCompleted": 44, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "325", + "329", + "330", "543", "544", "545", - "648", - "649", - "905", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "658", + "659", + "915", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12141,54 +12164,54 @@ "testsCompleted": 44, "static": true, "killedBy": [ - "909" + "919" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "325", + "329", + "330", "543", "544", "545", - "648", - "649", - "905", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "658", + "659", + "915", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12210,54 +12233,54 @@ "testsCompleted": 44, "static": true, "killedBy": [ - "905" + "915" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "325", + "329", + "330", "543", "544", "545", - "648", - "649", - "905", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "658", + "659", + "915", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12279,10 +12302,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "905" + "915" ], "coveredBy": [ - "905" + "915" ], "location": { "end": { @@ -12304,53 +12327,53 @@ "testsCompleted": 43, "static": true, "killedBy": [ - "909" + "919" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "325", + "329", + "330", "543", "544", "545", - "648", - "649", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "658", + "659", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12372,53 +12395,53 @@ "testsCompleted": 43, "static": true, "killedBy": [ - "906" + "916" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "325", + "329", + "330", "543", "544", "545", - "648", - "649", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "658", + "659", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12440,53 +12463,53 @@ "testsCompleted": 43, "static": true, "killedBy": [ - "906" + "916" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "325", + "329", + "330", "543", "544", "545", - "648", - "649", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "658", + "659", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12508,53 +12531,53 @@ "testsCompleted": 44, "static": true, "killedBy": [ - "542" + "552" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "325", + "329", + "330", "543", "544", "545", - "648", - "649", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "658", + "659", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12576,47 +12599,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "909" + "919" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", - "262", - "263", - "264", + "239", + "240", + "249", + "250", + "262", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12638,47 +12661,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "542" + "552" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12700,47 +12723,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "906" + "916" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12762,47 +12785,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "906" + "916" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12824,47 +12847,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "909" + "919" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12886,44 +12909,44 @@ "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -12945,47 +12968,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "542" + "552" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -13007,47 +13030,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -13069,47 +13092,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "542" + "552" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -13131,47 +13154,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -13193,47 +13216,47 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "543" + "553" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", + "304", + "305", + "306", + "319", + "322", + "325", "543", "544", "545", - "906", - "907", - "908", - "909" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918", + "919" ], "location": { "end": { @@ -13255,25 +13278,25 @@ "testsCompleted": 16, "static": true, "killedBy": [ - "906" + "916" ], "coveredBy": [ - "533", - "534", - "535", - "536", - "537", - "538", - "539", - "540", - "541", - "542", "543", "544", "545", - "906", - "907", - "908" + "546", + "547", + "548", + "549", + "550", + "551", + "552", + "553", + "554", + "555", + "916", + "917", + "918" ], "location": { "end": { @@ -13295,39 +13318,39 @@ "testsCompleted": 29, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "544", - "545", - "648", - "649", - "909" + "325", + "329", + "330", + "554", + "555", + "658", + "659", + "919" ], "location": { "end": { @@ -13344,41 +13367,41 @@ "id": "307", "mutatorName": "EqualityOperator", "replacement": "i <= value.length", - "statusReason": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/factories/game/dto/create-game/create-game.dto.factory.ts:23:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:283:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:275: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/sandbox6009138/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:43:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1430: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": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/factories/game/dto/create-game/create-game.dto.factory.ts:23:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:286:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:278: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/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:46:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1430: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": "RuntimeError", "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "544", - "545", - "648", - "649", - "909" + "325", + "329", + "330", + "554", + "555", + "658", + "659", + "919" ], "location": { "end": { @@ -13400,39 +13423,39 @@ "testsCompleted": 29, "static": true, "killedBy": [ - "909" + "919" ], "coveredBy": [ - "231", - "232", - "241", - "242", + "239", + "240", + "249", "250", - "251", - "254", + "258", + "259", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "321", + "304", + "305", + "306", + "319", "322", - "544", - "545", - "648", - "649", - "909" + "325", + "329", + "330", + "554", + "555", + "658", + "659", + "919" ], "location": { "end": { @@ -13449,35 +13472,35 @@ "id": "309", "mutatorName": "UpdateOperator", "replacement": "i--", - "statusReason": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/factories/game/dto/create-game/create-game.dto.factory.ts:23:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:283:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:275: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/sandbox6009138/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:43:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1430: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": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/factories/game/dto/create-game/create-game.dto.factory.ts:23:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:286:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:278: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/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:46:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1430: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": "RuntimeError", "static": true, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "544", - "545", - "909" + "304", + "305", + "306", + "319", + "322", + "325", + "554", + "555", + "919" ], "location": { "end": { @@ -13499,33 +13522,33 @@ "testsCompleted": 23, "static": true, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "263", - "264", + "270", + "271", "272", - "273", - "277", - "278", - "287", - "288", - "289", + "280", + "281", + "285", + "286", + "295", "296", "297", - "298", - "311", - "314", - "317", - "544", - "545", - "909" + "304", + "305", + "306", + "319", + "322", + "325", + "554", + "555", + "919" ], "location": { "end": { @@ -13553,10 +13576,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "958", - "959" + "566", + "567", + "968", + "969" ], "location": { "end": { @@ -13578,10 +13601,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "958", - "959" + "566", + "567", + "968", + "969" ], "location": { "end": { @@ -13609,8 +13632,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "159", - "707" + "167", + "717" ], "location": { "end": { @@ -13632,8 +13655,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "159", - "707" + "167", + "717" ], "location": { "end": { @@ -13655,9 +13678,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "375", - "376", - "708" + "383", + "384", + "718" ], "location": { "end": { @@ -13679,9 +13702,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "375", - "376", - "708" + "383", + "384", + "718" ], "location": { "end": { @@ -13703,17 +13726,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "160", "161", + "162", + "163", + "165", "166", - "223", - "556", - "709" + "168", + "169", + "174", + "231", + "566", + "719" ], "location": { "end": { @@ -13735,17 +13758,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "160", "161", + "162", + "163", + "165", "166", - "223", - "556", - "709" + "168", + "169", + "174", + "231", + "566", + "719" ], "location": { "end": { @@ -13767,11 +13790,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "440", - "544", - "710" + "232", + "233", + "450", + "554", + "720" ], "location": { "end": { @@ -13793,11 +13816,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "440", - "544", - "710" + "232", + "233", + "450", + "554", + "720" ], "location": { "end": { @@ -13819,7 +13842,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "711" + "721" ], "location": { "end": { @@ -13841,7 +13864,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "711" + "721" ], "location": { "end": { @@ -13863,7 +13886,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "712" + "722" ], "location": { "end": { @@ -13885,7 +13908,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "712" + "722" ], "location": { "end": { @@ -13907,8 +13930,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "387", - "713" + "395", + "723" ], "location": { "end": { @@ -13930,8 +13953,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "387", - "713" + "395", + "723" ], "location": { "end": { @@ -13953,7 +13976,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "714" + "724" ], "location": { "end": { @@ -13975,7 +13998,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "714" + "724" ], "location": { "end": { @@ -13997,7 +14020,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "715" + "725" ], "location": { "end": { @@ -14019,7 +14042,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "715" + "725" ], "location": { "end": { @@ -14041,7 +14064,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "716" + "726" ], "location": { "end": { @@ -14063,7 +14086,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "716" + "726" ], "location": { "end": { @@ -14085,7 +14108,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "717" + "727" ], "location": { "end": { @@ -14107,7 +14130,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "717" + "727" ], "location": { "end": { @@ -14129,7 +14152,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "718" + "728" ], "location": { "end": { @@ -14151,7 +14174,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "718" + "728" ], "location": { "end": { @@ -14173,7 +14196,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "719" + "729" ], "location": { "end": { @@ -14195,7 +14218,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "719" + "729" ], "location": { "end": { @@ -14217,7 +14240,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "720" + "730" ], "location": { "end": { @@ -14239,7 +14262,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "720" + "730" ], "location": { "end": { @@ -14261,7 +14284,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "721" + "731" ], "location": { "end": { @@ -14283,7 +14306,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "721" + "731" ], "location": { "end": { @@ -14305,7 +14328,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "722" + "732" ], "location": { "end": { @@ -14327,7 +14350,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "722" + "732" ], "location": { "end": { @@ -14349,8 +14372,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "397", - "723" + "405", + "733" ], "location": { "end": { @@ -14372,8 +14395,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "397", - "723" + "405", + "733" ], "location": { "end": { @@ -14395,7 +14418,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "724" + "734" ], "location": { "end": { @@ -14417,7 +14440,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "724" + "734" ], "location": { "end": { @@ -14439,7 +14462,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "725" + "735" ], "location": { "end": { @@ -14461,7 +14484,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "725" + "735" ], "location": { "end": { @@ -14483,7 +14506,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "726" + "736" ], "location": { "end": { @@ -14505,7 +14528,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "726" + "736" ], "location": { "end": { @@ -14527,7 +14550,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "727" + "737" ], "location": { "end": { @@ -14549,7 +14572,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "727" + "737" ], "location": { "end": { @@ -14571,7 +14594,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "728" + "738" ], "location": { "end": { @@ -14593,7 +14616,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "728" + "738" ], "location": { "end": { @@ -14615,7 +14638,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "729" + "739" ], "location": { "end": { @@ -14637,7 +14660,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "729" + "739" ], "location": { "end": { @@ -14659,7 +14682,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "730" + "740" ], "location": { "end": { @@ -14681,7 +14704,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "730" + "740" ], "location": { "end": { @@ -14703,37 +14726,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", "161", + "162", + "163", + "165", "166", - "223", - "224", - "225", - "226", - "375", - "376", - "387", - "397", - "440", - "544", - "545", - "556", - "707", - "708", - "709", - "710", - "711", - "712", - "713", - "714", - "715", - "716", + "167", + "168", + "169", + "174", + "231", + "232", + "233", + "234", + "383", + "384", + "395", + "405", + "450", + "554", + "555", + "566", "717", "718", "719", @@ -14748,7 +14761,17 @@ "728", "729", "730", - "731" + "731", + "732", + "733", + "734", + "735", + "736", + "737", + "738", + "739", + "740", + "741" ], "location": { "end": { @@ -14765,41 +14788,35 @@ "id": "362", "mutatorName": "ObjectLiteral", "replacement": "{}", - "status": "Timeout", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -5,25 +5,29 @@\n \"source\": \"all\",\n },\n GamePlay {\n \"action\": \"vote\",\n \"cause\": \"angel-presence\",\n+ \"isFirstNightOnly\": true,\n \"source\": \"all\",\n },\n GamePlay {\n \"action\": \"choose-card\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"thief\",\n },\n GamePlay {\n \"action\": \"choose-side\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"dog-wolf\",\n },\n GamePlay {\n \"action\": \"charm\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"cupid\",\n },\n GamePlay {\n \"action\": \"look\",\n \"cause\": undefined,\n@@ -35,15 +39,17 @@\n \"source\": \"fox\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"lovers\",\n },\n GamePlay {\n \"action\": \"choose-sign\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n@@ -55,10 +61,11 @@\n \"source\": \"three-brothers\",\n },\n GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"wild-child\",\n },\n GamePlay {\n \"action\": \"mark\",\n \"cause\": undefined,\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 46, "static": false, - "killedBy": [], + "killedBy": [ + "233" + ], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", "161", + "162", + "163", + "165", "166", - "223", - "224", - "225", - "226", - "375", - "376", - "387", - "397", - "440", - "544", - "545", - "556", - "707", - "708", - "709", - "710", - "711", - "712", - "713", - "714", - "715", - "716", + "167", + "168", + "169", + "174", + "231", + "232", + "233", + "234", + "383", + "384", + "395", + "405", + "450", + "554", + "555", + "566", "717", "718", "719", @@ -14814,7 +14831,17 @@ "728", "729", "730", - "731" + "731", + "732", + "733", + "734", + "735", + "736", + "737", + "738", + "739", + "740", + "741" ], "location": { "end": { @@ -14831,41 +14858,35 @@ "id": "363", "mutatorName": "BooleanLiteral", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -5,25 +5,29 @@\n \"source\": \"all\",\n },\n GamePlay {\n \"action\": \"vote\",\n \"cause\": \"angel-presence\",\n+ \"isFirstNightOnly\": true,\n \"source\": \"all\",\n },\n GamePlay {\n \"action\": \"choose-card\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"thief\",\n },\n GamePlay {\n \"action\": \"choose-side\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"dog-wolf\",\n },\n GamePlay {\n \"action\": \"charm\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"cupid\",\n },\n GamePlay {\n \"action\": \"look\",\n \"cause\": undefined,\n@@ -35,15 +39,17 @@\n \"source\": \"fox\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"lovers\",\n },\n GamePlay {\n \"action\": \"choose-sign\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"stuttering-judge\",\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n \"cause\": undefined,\n@@ -55,10 +61,11 @@\n \"source\": \"three-brothers\",\n },\n GamePlay {\n \"action\": \"choose-model\",\n \"cause\": undefined,\n+ \"isFirstNightOnly\": true,\n \"source\": \"wild-child\",\n },\n GamePlay {\n \"action\": \"mark\",\n \"cause\": undefined,\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 46, "static": false, - "killedBy": [], + "killedBy": [ + "233" + ], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", "161", + "162", + "163", + "165", "166", - "223", - "224", - "225", - "226", - "375", - "376", - "387", - "397", - "440", - "544", - "545", - "556", - "707", - "708", - "709", - "710", - "711", - "712", - "713", - "714", - "715", - "716", + "167", + "168", + "169", + "174", + "231", + "232", + "233", + "234", + "383", + "384", + "395", + "405", + "450", + "554", + "555", + "566", "717", "718", "719", @@ -14880,7 +14901,17 @@ "728", "729", "730", - "731" + "731", + "732", + "733", + "734", + "735", + "736", + "737", + "738", + "739", + "740", + "741" ], "location": { "end": { @@ -14908,14 +14939,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "555", - "556", - "557", - "761", - "762", - "763", - "764", - "771" + "565", + "566", + "567", + "771", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -14937,14 +14968,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "555", - "556", - "557", - "761", - "762", - "763", - "764", - "771" + "565", + "566", + "567", + "771", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -14966,14 +14997,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "555", - "556", - "557", - "761", - "762", - "763", - "764", - "771" + "565", + "566", + "567", + "771", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -14995,14 +15026,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "555", - "556", - "557", - "761", - "762", - "763", - "764", - "771" + "565", + "566", + "567", + "771", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15024,9 +15055,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "555", - "557", - "761" + "565", + "567", + "771" ], "location": { "end": { @@ -15048,11 +15079,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15074,11 +15105,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15100,11 +15131,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15126,11 +15157,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15152,7 +15183,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "762" + "772" ], "location": { "end": { @@ -15174,11 +15205,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15200,11 +15231,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15226,11 +15257,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15252,7 +15283,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "763" + "773" ], "location": { "end": { @@ -15274,14 +15305,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "764" + "774" ], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15303,14 +15334,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "764" + "774" ], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15332,14 +15363,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "764" + "774" ], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15361,11 +15392,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "762", - "763", - "764", - "771" + "566", + "772", + "773", + "774", + "781" ], "location": { "end": { @@ -15387,14 +15418,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "765", - "766", - "767", - "771" + "564", + "565", + "566", + "567", + "775", + "776", + "777", + "781" ], "location": { "end": { @@ -15416,14 +15447,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "765", - "766", - "767", - "771" + "564", + "565", + "566", + "567", + "775", + "776", + "777", + "781" ], "location": { "end": { @@ -15445,14 +15476,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "765", - "766", - "767", - "771" + "564", + "565", + "566", + "567", + "775", + "776", + "777", + "781" ], "location": { "end": { @@ -15474,14 +15505,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "765", - "766", - "767", - "771" + "564", + "565", + "566", + "567", + "775", + "776", + "777", + "781" ], "location": { "end": { @@ -15503,8 +15534,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "765" + "565", + "566", + "775" ], "location": { "end": { @@ -15526,12 +15558,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "557", - "766", - "767", - "771" + "564", + "567", + "776", + "777", + "781" ], "location": { "end": { @@ -15553,12 +15584,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "557", - "766", - "767", - "771" + "564", + "567", + "776", + "777", + "781" ], "location": { "end": { @@ -15580,12 +15610,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "557", - "766", - "767", - "771" + "564", + "567", + "776", + "777", + "781" ], "location": { "end": { @@ -15607,12 +15636,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "557", - "766", - "767", - "771" + "564", + "567", + "776", + "777", + "781" ], "location": { "end": { @@ -15634,8 +15662,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "766" + "564", + "776" ], "location": { "end": { @@ -15657,14 +15685,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "767" + "777" ], "coveredBy": [ - "555", - "557", - "766", - "767", - "771" + "567", + "776", + "777", + "781" ], "location": { "end": { @@ -15686,14 +15713,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "767" + "777" ], "coveredBy": [ - "555", - "557", - "766", - "767", - "771" + "567", + "776", + "777", + "781" ], "location": { "end": { @@ -15715,14 +15741,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "557" + "567" ], "coveredBy": [ - "555", - "557", - "766", - "767", - "771" + "567", + "776", + "777", + "781" ], "location": { "end": { @@ -15744,12 +15769,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "557", - "766", - "767", - "771" + "564", + "567", + "776", + "777", + "781" ], "location": { "end": { @@ -15771,14 +15795,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "768", - "769", - "770", - "771" + "564", + "565", + "566", + "567", + "778", + "779", + "780", + "781" ], "location": { "end": { @@ -15800,14 +15824,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "768", - "769", - "770", - "771" + "564", + "565", + "566", + "567", + "778", + "779", + "780", + "781" ], "location": { "end": { @@ -15829,14 +15853,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "768", - "769", - "770", - "771" + "564", + "565", + "566", + "567", + "778", + "779", + "780", + "781" ], "location": { "end": { @@ -15858,14 +15882,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "768", - "769", - "770", - "771" + "564", + "565", + "566", + "567", + "778", + "779", + "780", + "781" ], "location": { "end": { @@ -15887,11 +15911,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "768" + "564", + "565", + "566", + "567", + "778" ], "location": { "end": { @@ -15913,12 +15937,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "770" + "780" ], "coveredBy": [ - "769", - "770", - "771" + "779", + "780", + "781" ], "location": { "end": { @@ -15940,9 +15964,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "769", - "770", - "771" + "779", + "780", + "781" ], "location": { "end": { @@ -15963,9 +15987,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "769", - "770", - "771" + "779", + "780", + "781" ], "location": { "end": { @@ -15987,10 +16011,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "769" + "779" ], "coveredBy": [ - "769" + "779" ], "location": { "end": { @@ -16012,11 +16036,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "771" + "564", + "565", + "566", + "567", + "781" ], "location": { "end": { @@ -16038,13 +16062,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "771" + "781" ], "coveredBy": [ - "555", - "556", - "557", - "771" + "565", + "566", + "567", + "781" ], "location": { "end": { @@ -16066,13 +16090,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "771" + "781" ], "coveredBy": [ - "555", - "556", - "557", - "771" + "565", + "566", + "567", + "781" ], "location": { "end": { @@ -16100,21 +16124,21 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "594", - "595", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "604", + "605", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16136,24 +16160,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "594" + "604" ], "coveredBy": [ - "556", - "557", - "594", - "595", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "604", + "605", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16175,24 +16199,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "597" + "607" ], "coveredBy": [ - "556", - "557", - "594", - "595", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "604", + "605", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16214,24 +16238,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "594" + "604" ], "coveredBy": [ - "556", - "557", - "594", - "595", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "604", + "605", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16253,24 +16277,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "594" + "604" ], "coveredBy": [ - "556", - "557", - "594", - "595", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "604", + "605", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16292,24 +16316,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "594" + "604" ], "coveredBy": [ - "556", - "557", - "594", - "595", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "604", + "605", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16331,24 +16355,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "594" + "604" ], "coveredBy": [ - "556", - "557", - "594", - "595", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "604", + "605", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16370,22 +16394,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16407,22 +16431,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "596" + "606" ], "coveredBy": [ - "556", - "557", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16444,22 +16468,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16481,22 +16505,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "597" + "607" ], "coveredBy": [ - "556", - "557", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16518,22 +16542,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "596" + "606" ], "coveredBy": [ - "556", - "557", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16555,22 +16579,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "597" + "607" ], "coveredBy": [ - "556", - "557", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16592,22 +16616,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "597" + "607" ], "coveredBy": [ - "556", - "557", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16629,22 +16653,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "597" + "607" ], "coveredBy": [ - "556", - "557", - "596", - "597", - "633", - "634", - "635", - "636", - "637", - "638", + "566", + "567", + "606", + "607", + "643", "644", "645", - "646" + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { @@ -16666,17 +16690,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "598", - "599", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "608", + "609", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16698,20 +16722,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "598" + "608" ], "coveredBy": [ - "556", - "557", - "598", - "599", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "608", + "609", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16733,20 +16757,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "601" + "611" ], "coveredBy": [ - "556", - "557", - "598", - "599", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "608", + "609", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16768,20 +16792,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "598" + "608" ], "coveredBy": [ - "556", - "557", - "598", - "599", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "608", + "609", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16803,20 +16827,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "598" + "608" ], "coveredBy": [ - "556", - "557", - "598", - "599", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "608", + "609", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16838,20 +16862,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "598" + "608" ], "coveredBy": [ - "556", - "557", - "598", - "599", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "608", + "609", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16873,20 +16897,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "598" + "608" ], "coveredBy": [ - "556", - "557", - "598", - "599", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "608", + "609", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16908,18 +16932,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16941,18 +16965,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -16974,18 +16998,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "600" + "610" ], "coveredBy": [ - "556", - "557", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -17007,18 +17031,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -17040,18 +17064,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -17073,18 +17097,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "601" + "611" ], "coveredBy": [ - "556", - "557", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -17106,18 +17130,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "601" + "611" ], "coveredBy": [ - "556", - "557", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -17139,18 +17163,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "601" + "611" ], "coveredBy": [ - "556", - "557", - "600", - "601", - "634", - "637", - "638", - "645", - "646" + "566", + "567", + "610", + "611", + "644", + "647", + "648", + "655", + "656" ], "location": { "end": { @@ -17172,21 +17196,21 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17208,24 +17232,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "602" + "612" ], "coveredBy": [ - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17247,24 +17271,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "606" + "616" ], "coveredBy": [ - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17286,24 +17310,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "602" + "612" ], "coveredBy": [ - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17325,24 +17349,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "602" + "612" ], "coveredBy": [ - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17364,24 +17388,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17403,24 +17427,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "602" + "612" ], "coveredBy": [ - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17442,13 +17466,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "604" + "614" ], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17470,13 +17494,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "606" + "616" ], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17497,10 +17521,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17522,13 +17546,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "606" + "616" ], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17550,13 +17574,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "606" + "616" ], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17578,13 +17602,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "606" + "616" ], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17606,13 +17630,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "604" + "614" ], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17634,13 +17658,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "606" + "616" ], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17662,13 +17686,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "604" + "614" ], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17689,10 +17713,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17713,10 +17737,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "604", - "605", - "606", - "641" + "614", + "615", + "616", + "651" ], "location": { "end": { @@ -17738,19 +17762,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "607", - "608", - "609", - "610", - "611", - "637", - "638", - "643", - "644", - "645", - "646" + "566", + "567", + "617", + "618", + "619", + "620", + "621", + "647", + "648", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17772,22 +17796,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "607" + "617" ], "coveredBy": [ - "556", - "557", - "607", - "608", - "609", - "610", - "611", - "637", - "638", - "643", - "644", - "645", - "646" + "566", + "567", + "617", + "618", + "619", + "620", + "621", + "647", + "648", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17809,22 +17833,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "611" + "621" ], "coveredBy": [ - "556", - "557", - "607", - "608", - "609", - "610", - "611", - "637", - "638", - "643", - "644", - "645", - "646" + "566", + "567", + "617", + "618", + "619", + "620", + "621", + "647", + "648", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17846,22 +17870,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "607" + "617" ], "coveredBy": [ - "556", - "557", - "607", - "608", - "609", - "610", - "611", - "637", - "638", - "643", - "644", - "645", - "646" + "566", + "567", + "617", + "618", + "619", + "620", + "621", + "647", + "648", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17883,22 +17907,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "607" + "617" ], "coveredBy": [ - "556", - "557", - "607", - "608", - "609", - "610", - "611", - "637", - "638", - "643", - "644", - "645", - "646" + "566", + "567", + "617", + "618", + "619", + "620", + "621", + "647", + "648", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17920,22 +17944,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "607" + "617" ], "coveredBy": [ - "556", - "557", - "607", - "608", - "609", - "610", - "611", - "637", - "638", - "643", - "644", - "645", - "646" + "566", + "567", + "617", + "618", + "619", + "620", + "621", + "647", + "648", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -17957,13 +17981,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "609" + "619" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -17985,13 +18009,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "611" + "621" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18012,10 +18036,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18036,10 +18060,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18061,13 +18085,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "611" + "621" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18089,13 +18113,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "611" + "621" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18117,10 +18141,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18142,13 +18166,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "609" + "619" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18170,13 +18194,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "611" + "621" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18198,13 +18222,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "611" + "621" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18226,13 +18250,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "609" + "619" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18254,13 +18278,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "610" + "620" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18282,13 +18306,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "611" + "621" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18310,13 +18334,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "611" + "621" ], "coveredBy": [ - "609", - "610", - "611", - "643" + "619", + "620", + "621", + "653" ], "location": { "end": { @@ -18338,23 +18362,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18376,26 +18400,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18417,26 +18441,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18458,23 +18482,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18496,23 +18520,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18534,23 +18558,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18572,23 +18596,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18610,23 +18634,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18648,23 +18672,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18686,23 +18710,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18724,11 +18748,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "617", - "618", - "619", - "637", - "642" + "627", + "628", + "629", + "647", + "652" ], "location": { "end": { @@ -18749,11 +18773,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "617", - "618", - "619", - "637", - "642" + "627", + "628", + "629", + "647", + "652" ], "location": { "end": { @@ -18774,11 +18798,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "617", - "618", - "619", - "637", - "642" + "627", + "628", + "629", + "647", + "652" ], "location": { "end": { @@ -18800,14 +18824,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "617" + "627" ], "coveredBy": [ - "617", - "618", - "619", - "637", - "642" + "627", + "628", + "629", + "647", + "652" ], "location": { "end": { @@ -18829,11 +18853,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "619" + "629" ], "coveredBy": [ - "617", - "619" + "627", + "629" ], "location": { "end": { @@ -18855,11 +18879,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "617" + "627" ], "coveredBy": [ - "617", - "619" + "627", + "629" ], "location": { "end": { @@ -18881,25 +18905,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18921,25 +18945,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -18961,25 +18985,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19001,25 +19025,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19041,25 +19065,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19081,25 +19105,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19121,25 +19145,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19161,25 +19185,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19201,25 +19225,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19241,25 +19265,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19281,15 +19305,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "625" + "635" ], "coveredBy": [ - "625", - "626", - "627", - "628", + "635", + "636", + "637", "638", - "640" + "648", + "650" ], "location": { "end": { @@ -19311,15 +19335,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "627" + "637" ], "coveredBy": [ - "625", - "626", - "627", - "628", + "635", + "636", + "637", "638", - "640" + "648", + "650" ], "location": { "end": { @@ -19341,15 +19365,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "625" + "635" ], "coveredBy": [ - "625", - "626", - "627", - "628", + "635", + "636", + "637", "638", - "640" + "648", + "650" ], "location": { "end": { @@ -19371,20 +19395,20 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19406,23 +19430,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "620", - "621", - "622", - "623", - "624", - "625", - "641", - "642", - "643", - "644", - "645", - "646" + "566", + "567", + "630", + "631", + "632", + "633", + "634", + "635", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -19444,11 +19468,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "626", - "627", - "628", + "636", + "637", "638", - "640" + "648", + "650" ], "location": { "end": { @@ -19470,18 +19494,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "629", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "639", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19503,18 +19527,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "629", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "639", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19536,18 +19560,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "629", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "639", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19569,18 +19593,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "629", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "639", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19602,7 +19626,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "629" + "639" ], "location": { "end": { @@ -19624,10 +19648,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "629" + "639" ], "coveredBy": [ - "629" + "639" ], "location": { "end": { @@ -19649,7 +19673,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "629" + "639" ], "location": { "end": { @@ -19671,20 +19695,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19706,20 +19730,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19741,20 +19765,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19776,19 +19800,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19810,19 +19834,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19844,25 +19868,25 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" - ], - "location": { - "end": { - "column": 142, - "line": 59 - }, + "566", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" + ], + "location": { + "end": { + "column": 142, + "line": 59 + }, "start": { "column": 76, "line": 59 @@ -19878,19 +19902,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19912,19 +19936,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -19946,12 +19970,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "634" + "644" ], "coveredBy": [ - "630", - "631", - "634" + "640", + "641", + "644" ], "location": { "end": { @@ -19973,12 +19997,12 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "630", - "631", - "634" + "640", + "641", + "644" ], "location": { "end": { @@ -20000,20 +20024,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20035,20 +20059,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "630" + "640" ], "coveredBy": [ - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20070,20 +20094,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "640", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20105,19 +20129,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20139,19 +20163,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "557", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20173,19 +20197,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "557", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20207,19 +20231,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "557", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20241,19 +20265,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "632" + "642" ], "coveredBy": [ - "556", - "557", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20275,19 +20299,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "632" + "642" ], "coveredBy": [ - "556", - "557", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "641", + "642", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20309,18 +20333,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "631" + "641" ], "coveredBy": [ - "556", - "557", - "631", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "641", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20342,17 +20366,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20374,17 +20398,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20406,17 +20430,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20438,17 +20462,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20470,17 +20494,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20502,17 +20526,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20534,17 +20558,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20566,17 +20590,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20598,17 +20622,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20630,17 +20654,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "633" + "643" ], "coveredBy": [ - "556", - "557", - "633", - "634", - "635", - "636", - "637", - "638" + "566", + "567", + "643", + "644", + "645", + "646", + "647", + "648" ], "location": { "end": { @@ -20662,14 +20686,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "639", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -20690,14 +20714,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "639", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -20719,17 +20743,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "639" + "649" ], "coveredBy": [ - "639", - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -20751,10 +20775,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "639" + "649" ], "coveredBy": [ - "639" + "649" ], "location": { "end": { @@ -20776,10 +20800,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "639" + "649" ], "coveredBy": [ - "639" + "649" ], "location": { "end": { @@ -20801,16 +20825,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "641" + "651" ], "coveredBy": [ - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -20831,13 +20855,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "640", - "641", - "642", - "643", - "644", - "645", - "646" + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -20859,10 +20883,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "640" + "650" ], "coveredBy": [ - "640" + "650" ], "location": { "end": { @@ -20884,10 +20908,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "640" + "650" ], "coveredBy": [ - "640" + "650" ], "location": { "end": { @@ -20908,7 +20932,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "640" + "650" ], "location": { "end": { @@ -20930,15 +20954,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "642" + "652" ], "coveredBy": [ - "641", - "642", - "643", - "644", - "645", - "646" + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -20960,15 +20984,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "641" + "651" ], "coveredBy": [ - "641", - "642", - "643", - "644", - "645", - "646" + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -20990,10 +21014,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "641" + "651" ], "coveredBy": [ - "641" + "651" ], "location": { "end": { @@ -21015,10 +21039,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "641" + "651" ], "coveredBy": [ - "641" + "651" ], "location": { "end": { @@ -21040,14 +21064,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "643" + "653" ], "coveredBy": [ - "642", - "643", - "644", - "645", - "646" + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -21069,14 +21093,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "642" + "652" ], "coveredBy": [ - "642", - "643", - "644", - "645", - "646" + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -21098,10 +21122,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "642" + "652" ], "coveredBy": [ - "642" + "652" ], "location": { "end": { @@ -21122,7 +21146,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "642" + "652" ], "location": { "end": { @@ -21144,10 +21168,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "642" + "652" ], "coveredBy": [ - "642" + "652" ], "location": { "end": { @@ -21169,13 +21193,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "644" + "654" ], "coveredBy": [ - "643", - "644", - "645", - "646" + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -21197,13 +21221,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "643" + "653" ], "coveredBy": [ - "643", - "644", - "645", - "646" + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -21225,10 +21249,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "643" + "653" ], "coveredBy": [ - "643" + "653" ], "location": { "end": { @@ -21250,10 +21274,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "643" + "653" ], "coveredBy": [ - "643" + "653" ], "location": { "end": { @@ -21275,10 +21299,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "643" + "653" ], "coveredBy": [ - "643" + "653" ], "location": { "end": { @@ -21300,12 +21324,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "645" + "655" ], "coveredBy": [ - "644", - "645", - "646" + "654", + "655", + "656" ], "location": { "end": { @@ -21327,12 +21351,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "644" + "654" ], "coveredBy": [ - "644", - "645", - "646" + "654", + "655", + "656" ], "location": { "end": { @@ -21353,7 +21377,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "644" + "654" ], "location": { "end": { @@ -21374,7 +21398,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "644" + "654" ], "location": { "end": { @@ -21396,11 +21420,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "646" + "656" ], "coveredBy": [ - "645", - "646" + "655", + "656" ], "location": { "end": { @@ -21422,11 +21446,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "645" + "655" ], "coveredBy": [ - "645", - "646" + "655", + "656" ], "location": { "end": { @@ -21448,10 +21472,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "645" + "655" ], "coveredBy": [ - "645" + "655" ], "location": { "end": { @@ -21473,10 +21497,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "645" + "655" ], "coveredBy": [ - "645" + "655" ], "location": { "end": { @@ -21504,28 +21528,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "264", + "270", "272", - "273", - "277", - "278", - "287", - "289", - "296", - "298", - "311", - "314", - "317", - "451", - "452", - "544", - "545" + "280", + "281", + "285", + "286", + "295", + "297", + "304", + "306", + "319", + "322", + "325", + "461", + "462", + "554", + "555" ], "location": { "end": { @@ -21547,31 +21571,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "264", + "270", "272", - "273", - "277", - "278", - "287", - "289", - "296", - "298", - "311", - "314", - "317", - "451", - "452", - "544", - "545" + "280", + "281", + "285", + "286", + "295", + "297", + "304", + "306", + "319", + "322", + "325", + "461", + "462", + "554", + "555" ], "location": { "end": { @@ -21588,32 +21612,36 @@ "id": "579", "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:264:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 22, "static": false, - "killedBy": [], + "killedBy": [ + "239" + ], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "264", + "270", "272", - "273", - "277", - "278", - "287", - "289", - "296", - "298", - "311", - "314", - "317", - "451", - "452", - "544", - "545" + "280", + "281", + "285", + "286", + "295", + "297", + "304", + "306", + "319", + "322", + "325", + "461", + "462", + "554", + "555" ], "location": { "end": { @@ -21634,28 +21662,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "264", + "270", "272", - "273", - "277", - "278", - "287", - "289", - "296", - "298", - "311", - "314", - "317", - "451", - "452", - "544", - "545" + "280", + "281", + "285", + "286", + "295", + "297", + "304", + "306", + "319", + "322", + "325", + "461", + "462", + "554", + "555" ], "location": { "end": { @@ -21676,28 +21704,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "231", - "232", - "241", - "242", - "254", + "239", + "240", + "249", + "250", "262", - "264", + "270", "272", - "273", - "277", - "278", - "287", - "289", - "296", - "298", - "311", - "314", - "317", - "451", - "452", - "544", - "545" + "280", + "281", + "285", + "286", + "295", + "297", + "304", + "306", + "319", + "322", + "325", + "461", + "462", + "554", + "555" ], "location": { "end": { @@ -21711,128 +21739,124 @@ } }, { - "id": "585", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -146,11 +146,11 @@\n \"current\": \"wild-child\",\n \"isRevealed\": false,\n \"original\": \"wild-child\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n ],\n \"status\": \"over\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:600:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 125, + "id": "582", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(19,73): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "368" - ], + "killedBy": [], "coveredBy": [ "23", "24", "25", "27", + "54", "55", + "56", + "60", "61", - "121", - "122", - "123", - "124", - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", + "62", + "128", + "129", + "130", + "131", + "132", "161", "162", - "178", - "179", - "180", - "181", - "184", - "185", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", "186", + "187", + "188", "189", - "190", - "191", "192", "193", - "219", - "220", - "224", - "225", - "226", + "194", + "197", + "198", + "199", + "200", + "201", + "227", + "228", + "232", "233", "234", - "235", - "236", - "237", - "238", + "241", + "242", "243", "244", "245", "246", - "255", - "256", - "257", - "258", - "259", - "260", - "261", + "251", + "252", + "253", + "254", + "263", + "264", "265", "266", "267", "268", "269", - "270", - "271", + "273", "274", "275", "276", + "277", + "278", "279", - "280", - "281", "282", "283", "284", - "285", - "286", - "304", - "305", - "306", - "307", - "308", - "309", - "310", + "287", + "288", + "289", + "290", + "291", + "292", + "293", + "294", "312", "313", + "314", "315", "316", + "317", "318", - "319", "320", - "364", - "365", - "366", - "367", - "368", - "390", - "391", - "392", - "393", - "394", - "453", - "454", - "556", - "557", - "608", - "609", - "610", - "611", - "613", - "614", - "615", - "616", + "321", + "323", + "324", + "326", + "327", + "328", + "334", + "372", + "373", + "374", + "375", + "376", + "398", + "399", + "400", + "401", + "402", + "463", + "464", + "566", + "567", "617", "618", "619", + "620", "621", "622", "623", @@ -21841,261 +21865,794 @@ "626", "627", "628", + "629", + "630", + "631", + "632", + "633", + "634", + "635", + "636", "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "674", - "675", - "676", - "677", - "678", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { - "column": 71, - "line": 20 + "column": 2, + "line": 21 }, "start": { - "column": 43, - "line": 20 + "column": 92, + "line": 19 } } }, { - "id": "587", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(23,74): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "583", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", - "290", - "291", - "292", - "293", - "294", - "295", - "299", - "300", - "301", - "302", - "303", - "455", - "456", - "512", - "515", - "516", - "557" - ], - "location": { - "end": { - "column": 2, - "line": 25 - }, - "start": { - "column": 83, - "line": 23 - } - } - }, - { - "id": "588", - "mutatorName": "MethodExpression", - "replacement": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:807:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 16, - "static": false, - "killedBy": [ - "290" - ], - "coveredBy": [ - "225", + "23", + "24", + "25", + "27", + "54", + "55", + "56", + "60", + "61", + "62", + "128", + "129", + "130", + "131", + "132", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "186", + "187", + "188", + "189", + "192", + "193", + "194", + "197", + "198", + "199", + "200", + "201", + "227", + "228", + "232", + "233", + "234", + "241", + "242", + "243", + "244", + "245", + "246", + "251", + "252", + "253", + "254", + "263", + "264", + "265", + "266", + "267", + "268", + "269", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "282", + "283", + "284", + "287", + "288", + "289", "290", "291", "292", "293", "294", - "295", - "299", - "300", - "301", - "302", - "303", - "455", - "456", - "512", - "515", - "516", - "557" + "312", + "313", + "314", + "315", + "316", + "317", + "318", + "320", + "321", + "323", + "324", + "326", + "327", + "328", + "334", + "372", + "373", + "374", + "375", + "376", + "398", + "399", + "400", + "401", + "402", + "463", + "464", + "566", + "567", + "617", + "618", + "619", + "620", + "621", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "630", + "631", + "632", + "633", + "634", + "635", + "636", + "637", + "638", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", + "679", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { - "column": 74, - "line": 24 + "column": 71, + "line": 20 }, "start": { - "column": 20, - "line": 24 + "column": 33, + "line": 20 } } }, { - "id": "589", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", + "id": "584", + "mutatorName": "ConditionalExpression", + "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", + "23", + "24", + "25", + "27", + "55", + "61", + "129", + "130", + "131", + "132", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "186", + "187", + "188", + "189", + "192", + "193", + "194", + "197", + "198", + "199", + "200", + "201", + "227", + "228", + "232", + "233", + "234", + "241", + "242", + "243", + "244", + "245", + "246", + "251", + "252", + "253", + "254", + "263", + "264", + "265", + "266", + "267", + "268", + "269", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "282", + "283", + "284", + "287", + "288", + "289", "290", "291", "292", "293", "294", - "295", - "299", - "300", - "301", - "302", - "303", - "455", - "456", - "512", - "515", - "516", - "557" + "312", + "313", + "314", + "315", + "316", + "317", + "318", + "320", + "321", + "323", + "324", + "326", + "327", + "328", + "372", + "373", + "374", + "375", + "376", + "398", + "399", + "400", + "401", + "402", + "463", + "464", + "566", + "567", + "618", + "619", + "620", + "621", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "631", + "632", + "633", + "634", + "635", + "636", + "637", + "638", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", + "679", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { - "column": 73, - "line": 24 + "column": 71, + "line": 20 }, "start": { - "column": 35, - "line": 24 + "column": 43, + "line": 20 } } }, { - "id": "590", + "id": "585", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:807:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -146,11 +146,11 @@\n \"current\": \"wild-child\",\n \"isRevealed\": false,\n \"original\": \"wild-child\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n ],\n \"status\": \"over\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:600:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 16, + "testsCompleted": 125, "static": false, "killedBy": [ - "290" + "376" ], "coveredBy": [ - "225", + "23", + "24", + "25", + "27", + "55", + "61", + "129", + "130", + "131", + "132", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "186", + "187", + "188", + "189", + "192", + "193", + "194", + "197", + "198", + "199", + "200", + "201", + "227", + "228", + "232", + "233", + "234", + "241", + "242", + "243", + "244", + "245", + "246", + "251", + "252", + "253", + "254", + "263", + "264", + "265", + "266", + "267", + "268", + "269", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "282", + "283", + "284", + "287", + "288", + "289", "290", "291", "292", "293", "294", - "295", - "299", - "300", - "301", - "302", - "303", - "455", - "456", - "512", - "515", - "516", - "557" + "312", + "313", + "314", + "315", + "316", + "317", + "318", + "320", + "321", + "323", + "324", + "326", + "327", + "328", + "372", + "373", + "374", + "375", + "376", + "398", + "399", + "400", + "401", + "402", + "463", + "464", + "566", + "567", + "618", + "619", + "620", + "621", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "631", + "632", + "633", + "634", + "635", + "636", + "637", + "638", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", + "679", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { - "column": 73, - "line": 24 + "column": 71, + "line": 20 }, "start": { - "column": 45, - "line": 24 + "column": 43, + "line": 20 } } }, { - "id": "591", - "mutatorName": "ConditionalExpression", - "replacement": "false", + "id": "586", + "mutatorName": "EqualityOperator", + "replacement": "player.role.current !== role", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", + "23", + "24", + "25", + "27", + "55", + "61", + "129", + "130", + "131", + "132", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "186", + "187", + "188", + "189", + "192", + "193", + "194", + "197", + "198", + "199", + "200", + "201", + "227", + "228", + "232", + "233", + "234", + "241", + "242", + "243", + "244", + "245", + "246", + "251", + "252", + "253", + "254", + "263", + "264", + "265", + "266", + "267", + "268", + "269", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "282", + "283", + "284", + "287", + "288", + "289", "290", "291", "292", "293", "294", - "295", + "312", + "313", + "314", + "315", + "316", + "317", + "318", + "320", + "321", + "323", + "324", + "326", + "327", + "328", + "372", + "373", + "374", + "375", + "376", + "398", + "399", + "400", + "401", + "402", + "463", + "464", + "566", + "567", + "618", + "619", + "620", + "621", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "631", + "632", + "633", + "634", + "635", + "636", + "637", + "638", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", + "679", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" + ], + "location": { + "end": { + "column": 71, + "line": 20 + }, + "start": { + "column": 43, + "line": 20 + } + } + }, + { + "id": "587", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(23,74): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "233", + "298", "299", "300", "301", "302", "303", - "455", - "456", - "512", - "515", - "516", - "557" + "307", + "308", + "309", + "310", + "311", + "465", + "466", + "522", + "525", + "526", + "567" ], "location": { "end": { - "column": 73, + "column": 2, + "line": 25 + }, + "start": { + "column": 83, + "line": 23 + } + } + }, + { + "id": "588", + "mutatorName": "MethodExpression", + "replacement": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:807:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 16, + "static": false, + "killedBy": [ + "298" + ], + "coveredBy": [ + "233", + "298", + "299", + "300", + "301", + "302", + "303", + "307", + "308", + "309", + "310", + "311", + "465", + "466", + "522", + "525", + "526", + "567" + ], + "location": { + "end": { + "column": 74, "line": 24 }, "start": { - "column": 45, + "column": 20, "line": 24 } } }, { - "id": "592", - "mutatorName": "EqualityOperator", - "replacement": "player.role.current !== role", + "id": "589", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", - "290", - "291", - "292", - "293", - "294", - "295", + "233", + "298", "299", "300", "301", "302", "303", - "455", - "456", - "512", - "515", - "516", - "557" + "307", + "308", + "309", + "310", + "311", + "465", + "466", + "522", + "525", + "526", + "567" ], "location": { "end": { @@ -22103,637 +22660,803 @@ "line": 24 }, "start": { - "column": 45, + "column": 35, "line": 24 } } }, { - "id": "597", + "id": "590", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 70\n+ Received + 1\n\n- Array [\n- Player {\n- \"_id\": \"168282cdad659ece37cc9dbe\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Gudrun\",\n- \"position\": 853085488414720,\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\": \"5ddfc82d8ecfc2b7be7f0bfc\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Johnathon\",\n- \"position\": 4586869377466368,\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\": \"eacf9a2ab5dd9c9e2b9abefc\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Cody\",\n- \"position\": 6535209835036672,\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\": \"2b8bcffbaceafdfaddefe8f7\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Marty\",\n- \"position\": 4236966589628416,\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+ Array []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:88:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:807:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 32, + "testsCompleted": 16, "static": false, "killedBy": [ - "457" + "298" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "281", - "282", - "283", - "285", - "286", - "457", - "458", - "467", - "468", - "470", - "471", - "488", - "489", - "511", - "556", - "557", - "595", - "596", - "597", - "599", - "600", - "601", - "633", - "634", - "635", - "636", - "637", - "638", - "644", - "645", - "646" + "233", + "298", + "299", + "300", + "301", + "302", + "303", + "307", + "308", + "309", + "310", + "311", + "465", + "466", + "522", + "525", + "526", + "567" ], "location": { "end": { "column": 73, - "line": 28 + "line": 24 }, "start": { "column": 45, - "line": 28 + "line": 24 } } }, { - "id": "598", - "mutatorName": "EqualityOperator", - "replacement": "player.side.current !== side", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 48\n+ Received + 14\n\n Array [\n Player {\n- \"_id\": \"b8ffdbe478eafebfa8807f8f\",\n+ \"_id\": \"a38ae4eda23e8138fb0b7ee4\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n- \"name\": \"Gerda\",\n- \"position\": 6090633181659136,\n+ \"name\": \"Makayla\",\n+ \"position\": 1056980923842560,\n \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"werewolf\",\n+ \"original\": \"villager\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n },\n },\n Player {\n- \"_id\": \"5d5b72a82f3db0fb9df81e7a\",\n+ \"_id\": \"7d4604b1de91cf10adc0fc3a\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n- \"name\": \"Xander\",\n- \"position\": 930587858698240,\n+ \"name\": \"Conor\",\n+ \"position\": 6703962549911552,\n \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"werewolf\",\n+ \"original\": \"villager\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Player {\n- \"_id\": \"e9a1b0b8b87dd572d57bde24\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Terrance\",\n- \"position\": 376060732506112,\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\": \"bd8bd26e9ffe27c6fd01efc7\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Marina\",\n- \"position\": 2711317288845312,\n- \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n },\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:88:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 32, + "id": "591", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, - "killedBy": [ - "457" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "281", - "282", - "283", - "285", - "286", - "457", - "458", - "467", - "468", - "470", - "471", - "488", - "489", - "511", - "556", - "557", - "595", - "596", - "597", - "599", - "600", - "601", - "633", - "634", - "635", - "636", - "637", - "638", - "644", - "645", - "646" + "233", + "298", + "299", + "300", + "301", + "302", + "303", + "307", + "308", + "309", + "310", + "311", + "465", + "466", + "522", + "525", + "526", + "567" ], "location": { "end": { "column": 73, - "line": 28 + "line": 24 }, "start": { "column": 45, - "line": 28 + "line": 24 } } }, { - "id": "599", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(31,66): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "592", + "mutatorName": "EqualityOperator", + "replacement": "player.role.current !== role", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45", - "149", - "169", - "174", - "188", - "191", - "192", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "329", - "330", - "331", - "337", - "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "425", - "426", - "427", - "428", - "441", - "442", - "443", - "444", - "445", - "446", - "448", - "449", - "459", - "460", - "461", - "462", - "494", - "495", - "496", - "497", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", - "508", - "509", - "554", - "555", - "556", - "557", - "762", - "763", - "764", - "766", - "767", - "771", - "775", - "776", - "777", - "781", - "782", - "783" + "233", + "298", + "299", + "300", + "301", + "302", + "303", + "307", + "308", + "309", + "310", + "311", + "465", + "466", + "522", + "525", + "526", + "567" ], "location": { "end": { - "column": 2, - "line": 33 + "column": 73, + "line": 24 }, "start": { - "column": 85, - "line": 31 + "column": 45, + "line": 24 } } }, { - "id": "600", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "status": "Timeout", + "id": "593", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(27,74): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45", - "149", - "169", - "174", - "188", - "191", - "192", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "329", - "330", - "331", - "337", - "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "425", - "426", - "427", - "428", - "441", - "442", - "443", - "444", - "445", - "446", - "448", - "449", - "459", - "460", - "461", - "462", - "494", - "495", - "496", - "497", + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "289", + "290", + "291", + "293", + "294", + "467", + "468", + "476", + "477", + "478", + "479", + "480", + "481", "498", "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", - "508", - "509", - "554", - "555", - "556", - "557", - "762", - "763", - "764", - "766", - "767", - "771", - "775", - "776", - "777", - "781", - "782", - "783" + "521", + "566", + "567", + "604", + "605", + "606", + "607", + "608", + "609", + "610", + "611", + "643", + "644", + "645", + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { - "column": 78, - "line": 32 + "column": 2, + "line": 29 }, "start": { - "column": 33, - "line": 32 + "column": 83, + "line": 27 } } }, { - "id": "601", + "id": "594", + "mutatorName": "MethodExpression", + "replacement": "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:525:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 42, + "static": false, + "killedBy": [ + "260" + ], + "coveredBy": [ + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "289", + "290", + "291", + "293", + "294", + "467", + "468", + "476", + "477", + "478", + "479", + "480", + "481", + "498", + "499", + "521", + "566", + "567", + "604", + "605", + "606", + "607", + "608", + "609", + "610", + "611", + "643", + "644", + "645", + "646", + "647", + "648", + "654", + "655", + "656" + ], + "location": { + "end": { + "column": 74, + "line": 28 + }, + "start": { + "column": 20, + "line": 28 + } + } + }, + { + "id": "595", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "289", + "290", + "291", + "293", + "294", + "467", + "468", + "476", + "477", + "478", + "479", + "480", + "481", + "498", + "499", + "521", + "566", + "567", + "604", + "605", + "606", + "607", + "608", + "609", + "610", + "611", + "643", + "644", + "645", + "646", + "647", + "648", + "654", + "655", + "656" + ], + "location": { + "end": { + "column": 73, + "line": 28 + }, + "start": { + "column": 35, + "line": 28 + } + } + }, + { + "id": "596", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "42", - "43", - "44", - "45", - "149", - "169", - "174", - "188", - "191", - "192", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "329", - "330", - "331", - "337", - "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "425", - "426", - "427", - "428", - "441", - "442", - "443", - "444", - "445", - "446", - "459", - "460", - "461", - "462", - "494", - "495", - "496", - "497", + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "289", + "290", + "291", + "293", + "294", + "467", + "468", + "477", + "478", + "480", + "481", "498", "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", - "508", - "509", - "554", - "555", - "556", - "557", - "762", - "763", - "764", - "766", - "767", - "771", - "775", - "776", - "777", - "782", - "783" + "521", + "566", + "567", + "605", + "606", + "607", + "609", + "610", + "611", + "643", + "644", + "645", + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { - "column": 78, - "line": 32 + "column": 73, + "line": 28 }, "start": { - "column": 46, - "line": 32 + "column": 45, + "line": 28 } } }, { - "id": "602", + "id": "597", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3680037/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:649:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 70\n+ Received + 1\n\n- Array [\n- Player {\n- \"_id\": \"168282cdad659ece37cc9dbe\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Gudrun\",\n- \"position\": 853085488414720,\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\": \"5ddfc82d8ecfc2b7be7f0bfc\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Johnathon\",\n- \"position\": 4586869377466368,\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\": \"eacf9a2ab5dd9c9e2b9abefc\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Cody\",\n- \"position\": 6535209835036672,\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\": \"2b8bcffbaceafdfaddefe8f7\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Marty\",\n- \"position\": 4236966589628416,\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+ Array []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:88:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 73, + "testsCompleted": 32, "static": false, "killedBy": [ - "555" + "467" ], "coveredBy": [ - "42", - "43", - "44", - "45", - "149", - "169", - "174", - "188", - "191", - "192", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "329", - "330", - "331", - "337", - "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "425", - "426", - "427", - "428", - "441", - "442", - "443", - "444", - "445", - "446", - "459", - "460", - "461", - "462", - "494", - "495", - "496", - "497", + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "289", + "290", + "291", + "293", + "294", + "467", + "468", + "477", + "478", + "480", + "481", "498", "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", - "508", - "509", - "554", - "555", - "556", - "557", - "762", - "763", - "764", - "766", - "767", - "771", - "775", - "776", - "777", - "782", - "783" + "521", + "566", + "567", + "605", + "606", + "607", + "609", + "610", + "611", + "643", + "644", + "645", + "646", + "647", + "648", + "654", + "655", + "656" ], "location": { "end": { - "column": 78, - "line": 32 + "column": 73, + "line": 28 }, "start": { - "column": 46, - "line": 32 + "column": 45, + "line": 28 } } }, { - "id": "603", + "id": "598", "mutatorName": "EqualityOperator", - "replacement": "_id.toString() !== id.toString()", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 7\n\n@@ -75,11 +75,11 @@\n },\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n- \"_id\": \"1f9d827a80cebbb87fe5f3df\",\n+ \"_id\": \"c82cb52935cdad53a1e0b13d\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n \"name\": \"cant-vote\",\n@@ -87,20 +87,20 @@\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n- \"name\": \"Sabrina\",\n- \"position\": 3681616199155712,\n+ \"name\": \"Fay\",\n+ \"position\": 235799580770304,\n \"role\": PlayerRole {\n- \"current\": \"idiot\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"idiot\",\n+ \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"c82cb52935cdad53a1e0b13d\",\n \"attributes\": Array [],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:181:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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.side.current !== side", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 48\n+ Received + 14\n\n Array [\n Player {\n- \"_id\": \"b8ffdbe478eafebfa8807f8f\",\n+ \"_id\": \"a38ae4eda23e8138fb0b7ee4\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n- \"name\": \"Gerda\",\n- \"position\": 6090633181659136,\n+ \"name\": \"Makayla\",\n+ \"position\": 1056980923842560,\n \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"werewolf\",\n+ \"original\": \"villager\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n },\n },\n Player {\n- \"_id\": \"5d5b72a82f3db0fb9df81e7a\",\n+ \"_id\": \"7d4604b1de91cf10adc0fc3a\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n- \"name\": \"Xander\",\n- \"position\": 930587858698240,\n+ \"name\": \"Conor\",\n+ \"position\": 6703962549911552,\n \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"werewolf\",\n+ \"original\": \"villager\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Player {\n- \"_id\": \"e9a1b0b8b87dd572d57bde24\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Terrance\",\n- \"position\": 376060732506112,\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\": \"bd8bd26e9ffe27c6fd01efc7\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Marina\",\n- \"position\": 2711317288845312,\n- \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n },\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:88:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 69, + "testsCompleted": 32, "static": false, "killedBy": [ - "331" + "467" ], "coveredBy": [ - "42", - "43", - "44", - "45", - "149", - "169", - "174", - "188", - "191", - "192", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "329", - "330", - "331", + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "289", + "290", + "291", + "293", + "294", + "467", + "468", + "477", + "478", + "480", + "481", + "498", + "499", + "521", + "566", + "567", + "605", + "606", + "607", + "609", + "610", + "611", + "643", + "644", + "645", + "646", + "647", + "648", + "654", + "655", + "656" + ], + "location": { + "end": { + "column": 73, + "line": 28 + }, + "start": { + "column": 45, + "line": 28 + } + } + }, + { + "id": "599", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(31,66): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45", + "157", + "177", + "182", + "196", + "199", + "200", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", "337", "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "425", - "426", - "427", - "428", - "441", - "442", - "443", - "444", - "445", - "446", + "339", + "345", + "346", + "387", + "388", + "389", + "390", + "391", + "413", + "414", + "433", + "434", + "435", + "436", + "451", + "452", + "453", + "454", + "455", + "456", + "458", "459", - "460", - "461", - "462", - "494", - "495", - "496", - "497", - "498", - "499", - "500", - "501", - "502", - "503", + "469", + "470", + "471", + "472", "504", "505", "506", "507", "508", "509", - "554", - "555", - "556", - "557", - "762", - "763", - "764", - "766", - "767", - "771", - "775", + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "564", + "566", + "567", + "772", + "773", + "774", "776", "777", - "782", - "783" + "781", + "785", + "786", + "787", + "791", + "792", + "793" + ], + "location": { + "end": { + "column": 2, + "line": 33 + }, + "start": { + "column": 85, + "line": 31 + } + } + }, + { + "id": "600", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45", + "157", + "177", + "182", + "196", + "199", + "200", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", + "337", + "338", + "339", + "345", + "346", + "387", + "388", + "389", + "390", + "391", + "413", + "414", + "433", + "434", + "435", + "436", + "451", + "452", + "453", + "454", + "455", + "456", + "458", + "459", + "469", + "470", + "471", + "472", + "504", + "505", + "506", + "507", + "508", + "509", + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "564", + "566", + "567", + "772", + "773", + "774", + "776", + "777", + "781", + "785", + "786", + "787", + "791", + "792", + "793" + ], + "location": { + "end": { + "column": 78, + "line": 32 + }, + "start": { + "column": 33, + "line": 32 + } + } + }, + { + "id": "603", + "mutatorName": "EqualityOperator", + "replacement": "_id.toString() !== id.toString()", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 7\n\n@@ -75,11 +75,11 @@\n },\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n- \"_id\": \"1f9d827a80cebbb87fe5f3df\",\n+ \"_id\": \"c82cb52935cdad53a1e0b13d\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n \"name\": \"cant-vote\",\n@@ -87,20 +87,20 @@\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n- \"name\": \"Sabrina\",\n- \"position\": 3681616199155712,\n+ \"name\": \"Fay\",\n+ \"position\": 235799580770304,\n \"role\": PlayerRole {\n- \"current\": \"idiot\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"idiot\",\n+ \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"c82cb52935cdad53a1e0b13d\",\n \"attributes\": Array [],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:181:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 69, + "static": false, + "killedBy": [ + "339" + ], + "coveredBy": [ + "42", + "43", + "44", + "45", + "157", + "177", + "182", + "196", + "199", + "200", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", + "337", + "338", + "339", + "345", + "346", + "387", + "388", + "389", + "390", + "391", + "413", + "414", + "433", + "434", + "435", + "436", + "451", + "452", + "453", + "454", + "455", + "456", + "469", + "470", + "471", + "472", + "504", + "505", + "506", + "507", + "508", + "509", + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "564", + "566", + "567", + "772", + "773", + "774", + "776", + "777", + "781", + "785", + "786", + "787", + "792", + "793" ], "location": { "end": { @@ -22755,34 +23478,34 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", "337", "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "461", - "462", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "345", + "346", + "387", + "388", + "389", + "390", + "391", + "413", + "414", + "471", + "472", "508", - "509" + "509", + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -22804,34 +23527,34 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", "337", "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "461", - "462", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "345", + "346", + "387", + "388", + "389", + "390", + "391", + "413", + "414", + "471", + "472", "508", - "509" + "509", + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -22853,34 +23576,34 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", "337", "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "461", - "462", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "345", + "346", + "387", + "388", + "389", + "390", + "391", + "413", + "414", + "471", + "472", "508", - "509" + "509", + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -22902,34 +23625,34 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", "337", "338", - "379", - "380", - "381", - "382", - "383", - "405", - "406", - "461", - "462", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "345", + "346", + "387", + "388", + "389", + "390", + "391", + "413", + "414", + "471", + "472", "508", - "509" + "509", + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -22951,10 +23674,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "337", - "462", - "502", - "503" + "345", + "472", + "512", + "513" ], "location": { "end": { @@ -22976,14 +23699,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", - "446", - "463", - "464", - "465", - "769", - "770", - "771" + "455", + "456", + "473", + "474", + "475", + "779", + "780", + "781" ], "location": { "end": { @@ -23005,14 +23728,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", - "446", - "463", - "464", - "465", - "769", - "770", - "771" + "455", + "456", + "473", + "474", + "475", + "779", + "780", + "781" ], "location": { "end": { @@ -23033,13 +23756,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", - "446", - "463", - "465", - "769", - "770", - "771" + "455", + "456", + "473", + "475", + "779", + "780", + "781" ], "location": { "end": { @@ -23061,16 +23784,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "769" + "779" ], "coveredBy": [ - "445", - "446", - "463", - "465", - "769", - "770", - "771" + "455", + "456", + "473", + "475", + "779", + "780", + "781" ], "location": { "end": { @@ -23091,13 +23814,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", - "446", - "463", - "465", - "769", - "770", - "771" + "455", + "456", + "473", + "475", + "779", + "780", + "781" ], "location": { "end": { @@ -23118,13 +23841,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", - "446", - "463", - "465", - "769", - "770", - "771" + "455", + "456", + "473", + "475", + "779", + "780", + "781" ], "location": { "end": { @@ -23137,6 +23860,69 @@ } } }, + { + "id": "615", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(47,52): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "233", + "289", + "290", + "291", + "293", + "294", + "476", + "477", + "478" + ], + "location": { + "end": { + "column": 2, + "line": 50 + }, + "start": { + "column": 60, + "line": 47 + } + } + }, + { + "id": "616", + "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:905:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "289" + ], + "coveredBy": [ + "233", + "289", + "290", + "291", + "293", + "294", + "476", + "477", + "478" + ], + "location": { + "end": { + "column": 91, + "line": 49 + }, + "start": { + "column": 10, + "line": 49 + } + } + }, { "id": "617", "mutatorName": "ConditionalExpression", @@ -23146,18 +23932,47 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "467" + "477" ], "coveredBy": [ - "225", - "281", - "282", - "283", - "285", - "286", - "466", - "467", - "468" + "233", + "289", + "290", + "291", + "293", + "294", + "476", + "477", + "478" + ], + "location": { + "end": { + "column": 91, + "line": 49 + }, + "start": { + "column": 10, + "line": 49 + } + } + }, + { + "id": "618", + "mutatorName": "LogicalOperator", + "replacement": "werewolfPlayers.length > 0 || werewolfPlayers.every(werewolf => werewolf.isAlive)", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "233", + "289", + "290", + "291", + "293", + "294", + "476", + "477", + "478" ], "location": { "end": { @@ -23179,18 +23994,18 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "466" + "476" ], "coveredBy": [ - "225", - "281", - "282", - "283", - "285", - "286", - "466", - "467", - "468" + "233", + "289", + "290", + "291", + "293", + "294", + "476", + "477", + "478" ], "location": { "end": { @@ -23212,18 +24027,47 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "466" + "476" ], "coveredBy": [ - "225", - "281", - "282", - "283", - "285", - "286", - "466", - "467", - "468" + "233", + "289", + "290", + "291", + "293", + "294", + "476", + "477", + "478" + ], + "location": { + "end": { + "column": 36, + "line": 49 + }, + "start": { + "column": 10, + "line": 49 + } + } + }, + { + "id": "621", + "mutatorName": "EqualityOperator", + "replacement": "werewolfPlayers.length <= 0", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "233", + "289", + "290", + "291", + "293", + "294", + "476", + "477", + "478" ], "location": { "end": { @@ -23245,17 +24089,17 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "468" + "478" ], "coveredBy": [ - "225", - "281", - "282", - "283", - "285", - "286", - "467", - "468" + "233", + "289", + "290", + "291", + "293", + "294", + "477", + "478" ], "location": { "end": { @@ -23268,6 +24112,34 @@ } } }, + { + "id": "623", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "233", + "289", + "290", + "291", + "293", + "294", + "477", + "478" + ], + "location": { + "end": { + "column": 90, + "line": 49 + }, + "start": { + "column": 62, + "line": 49 + } + } + }, { "id": "624", "mutatorName": "BlockStatement", @@ -23277,9 +24149,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "469", - "470", - "471" + "479", + "480", + "481" ], "location": { "end": { @@ -23301,12 +24173,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "469" + "479" ], "coveredBy": [ - "469", - "470", - "471" + "479", + "480", + "481" ], "location": { "end": { @@ -23327,9 +24199,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "469", - "470", - "471" + "479", + "480", + "481" ], "location": { "end": { @@ -23351,12 +24223,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "469" + "479" ], "coveredBy": [ - "469", - "470", - "471" + "479", + "480", + "481" ], "location": { "end": { @@ -23377,9 +24249,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "469", - "470", - "471" + "479", + "480", + "481" ], "location": { "end": { @@ -23400,9 +24272,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "469", - "470", - "471" + "479", + "480", + "481" ], "location": { "end": { @@ -23423,9 +24295,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "469", - "470", - "471" + "479", + "480", + "481" ], "location": { "end": { @@ -23446,8 +24318,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "470", - "471" + "480", + "481" ], "location": { "end": { @@ -23469,11 +24341,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "470" + "480" ], "coveredBy": [ - "470", - "471" + "480", + "481" ], "location": { "end": { @@ -23495,28 +24367,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "482", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23538,31 +24410,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "472", - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "482", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23584,31 +24456,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "474" + "484" ], "coveredBy": [ - "472", - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "482", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23629,28 +24501,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "482", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23672,31 +24544,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "557" + "567" ], "coveredBy": [ - "472", - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "482", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23717,28 +24589,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", - "640", + "482", + "483", + "484", + "566", + "567", + "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23760,31 +24632,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "639" + "649" ], "coveredBy": [ - "472", - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "482", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23805,27 +24677,27 @@ "static": false, "killedBy": [], "coveredBy": [ - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23847,30 +24719,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "639" + "649" ], "coveredBy": [ - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23892,30 +24764,30 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "473", - "474", - "556", - "557", - "630", - "631", - "632", - "633", - "634", - "635", - "636", - "637", - "638", - "639", + "483", + "484", + "566", + "567", "640", "641", "642", "643", "644", "645", - "646" + "646", + "647", + "648", + "649", + "650", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23937,33 +24809,33 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238", - "477", - "478", - "486", + "233", + "242", + "243", + "244", + "245", + "246", "487", - "513", - "514", - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "488", + "496", + "497", + "523", + "524", + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -23984,33 +24856,33 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238", - "477", - "478", - "486", + "233", + "242", + "243", + "244", + "245", + "246", "487", - "513", - "514", - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "488", + "496", + "497", + "523", + "524", + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24031,33 +24903,33 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238", - "477", - "478", - "486", + "233", + "242", + "243", + "244", + "245", + "246", "487", - "513", - "514", - "556", - "557", - "602", - "603", - "604", - "605", - "606", - "637", - "638", - "641", - "642", - "643", - "644", - "645", - "646" + "488", + "496", + "497", + "523", + "524", + "566", + "567", + "612", + "613", + "614", + "615", + "616", + "647", + "648", + "651", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24079,26 +24951,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "479", - "498", - "499", - "500", - "501", - "503", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "489", "508", - "509" + "509", + "510", + "511", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -24119,26 +24991,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "479", - "498", - "499", - "500", - "501", - "503", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "489", "508", - "509" + "509", + "510", + "511", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -24160,29 +25032,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "192" + "200" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "479", - "498", - "499", - "500", - "501", - "503", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "489", "508", - "509" + "509", + "510", + "511", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -24204,8 +25076,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "392", - "480" + "400", + "490" ], "location": { "end": { @@ -24227,11 +25099,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "392" + "400" ], "coveredBy": [ - "392", - "480" + "400", + "490" ], "location": { "end": { @@ -24252,8 +25124,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "392", - "480" + "400", + "490" ], "location": { "end": { @@ -24274,8 +25146,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "392", - "480" + "400", + "490" ], "location": { "end": { @@ -24297,11 +25169,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "392" + "400" ], "coveredBy": [ - "392", - "480" + "400", + "490" ], "location": { "end": { @@ -24322,8 +25194,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "392", - "480" + "400", + "490" ], "location": { "end": { @@ -24344,8 +25216,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "392", - "480" + "400", + "490" ], "location": { "end": { @@ -24367,11 +25239,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "392" + "400" ], "coveredBy": [ - "392", - "480" + "400", + "490" ], "location": { "end": { @@ -24393,7 +25265,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "481" + "491" ], "location": { "end": { @@ -24414,7 +25286,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "481" + "491" ], "location": { "end": { @@ -24435,7 +25307,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "481" + "491" ], "location": { "end": { @@ -24456,7 +25328,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "481" + "491" ], "location": { "end": { @@ -24477,7 +25349,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "481" + "491" ], "location": { "end": { @@ -24498,7 +25370,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "481" + "491" ], "location": { "end": { @@ -24519,7 +25391,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "481" + "491" ], "location": { "end": { @@ -24540,7 +25412,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "481" + "491" ], "location": { "end": { @@ -24562,24 +25434,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "482", - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24600,24 +25472,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "482", - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24638,24 +25510,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "482", - "556", - "557", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "622", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24677,26 +25549,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "618" + "628" ], "coveredBy": [ - "482", - "556", - "557", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24717,23 +25589,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "482", - "556", - "557", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24755,26 +25627,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "618" + "628" ], "coveredBy": [ - "482", - "556", - "557", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24795,23 +25667,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "482", - "556", - "557", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24832,23 +25704,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "482", - "556", - "557", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24870,26 +25742,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "482" + "492" ], "coveredBy": [ - "482", - "556", - "557", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "623", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24911,25 +25783,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "482" + "492" ], "coveredBy": [ - "482", - "556", - "557", - "613", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "623", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -24951,25 +25823,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "482" + "492" ], "coveredBy": [ - "482", - "556", - "557", - "613", - "615", - "616", - "617", - "618", - "619", - "637", - "638", - "642", - "643", - "644", - "645", - "646" + "492", + "566", + "567", + "623", + "625", + "626", + "627", + "628", + "629", + "647", + "648", + "652", + "653", + "654", + "655", + "656" ], "location": { "end": { @@ -25002,7 +25874,7 @@ "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25024,7 +25896,7 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "483" + "493" ], "coveredBy": [ "35", @@ -25038,7 +25910,7 @@ "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25060,7 +25932,7 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "483" + "493" ], "coveredBy": [ "35", @@ -25074,7 +25946,7 @@ "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25096,14 +25968,14 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "483" + "493" ], "coveredBy": [ "42", "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25128,7 +26000,7 @@ "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25153,7 +26025,7 @@ "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25175,14 +26047,14 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "483" + "493" ], "coveredBy": [ "42", "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25207,7 +26079,7 @@ "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25232,7 +26104,7 @@ "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25257,7 +26129,7 @@ "43", "44", "45", - "483" + "493" ], "location": { "end": { @@ -25270,6 +26142,29 @@ } } }, + { + "id": "688", + "mutatorName": "BooleanLiteral", + "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.EATEN)", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "44", + "45", + "493" + ], + "location": { + "end": { + "column": 173, + "line": 86 + }, + "start": { + "column": 111, + "line": 86 + } + } + }, { "id": "689", "mutatorName": "BlockStatement", @@ -25285,7 +26180,7 @@ "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25312,7 +26207,7 @@ "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25334,7 +26229,7 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "484" + "494" ], "coveredBy": [ "40", @@ -25343,7 +26238,7 @@ "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25365,14 +26260,14 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "484" + "494" ], "coveredBy": [ "42", "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25394,14 +26289,14 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "484" + "494" ], "coveredBy": [ "42", "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25423,14 +26318,14 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "484" + "494" ], "coveredBy": [ "42", "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25452,14 +26347,14 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "484" + "494" ], "coveredBy": [ "42", "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25481,14 +26376,14 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "484" + "494" ], "coveredBy": [ "42", "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25513,7 +26408,7 @@ "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25538,7 +26433,7 @@ "43", "44", "45", - "484" + "494" ], "location": { "end": { @@ -25561,7 +26456,7 @@ "coveredBy": [ "42", "43", - "484" + "494" ], "location": { "end": { @@ -25583,12 +26478,12 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "484" + "494" ], "coveredBy": [ "42", "43", - "484" + "494" ], "location": { "end": { @@ -25610,22 +26505,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "440", - "485", - "486", - "487", - "488", - "489", - "511", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "450", + "495", + "496", + "497", + "498", + "499", + "521", + "566", + "567" ], "location": { "end": { @@ -25646,22 +26541,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "440", - "485", - "486", - "487", - "488", - "489", - "511", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "450", + "495", + "496", + "497", + "498", + "499", + "521", + "566", + "567" ], "location": { "end": { @@ -25682,22 +26577,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "440", - "485", - "486", - "487", - "488", - "489", - "511", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "450", + "495", + "496", + "497", + "498", + "499", + "521", + "566", + "567" ], "location": { "end": { @@ -25719,22 +26614,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "440", - "485", - "486", - "487", - "488", - "489", - "511", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "450", + "495", + "496", + "497", + "498", + "499", + "521", + "566", + "567" ], "location": { "end": { @@ -25755,9 +26650,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "485", - "556" + "450", + "495", + "566" ], "location": { "end": { @@ -25778,19 +26673,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "486", - "487", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "496", + "497", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -25812,22 +26707,22 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "486" + "496" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "486", - "487", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "496", + "497", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -25849,19 +26744,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "486", - "487", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "496", + "497", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -25883,10 +26778,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "486" + "496" ], "coveredBy": [ - "486" + "496" ], "location": { "end": { @@ -25907,18 +26802,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "487", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "497", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -25939,18 +26834,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "487", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "497", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -25972,18 +26867,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "487", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "497", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -26004,7 +26899,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "487" + "497" ], "location": { "end": { @@ -26026,20 +26921,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "489" + "499" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -26061,20 +26956,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "488" + "498" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -26095,17 +26990,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "488", - "489", - "511", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "498", + "499", + "521", + "567" ], "location": { "end": { @@ -26127,10 +27022,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "488" + "498" ], "coveredBy": [ - "488" + "498" ], "location": { "end": { @@ -26152,25 +27047,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "325", - "326", - "327", - "490", - "491", - "512", - "513", - "514", - "515", - "516", - "544", - "545", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "333", + "334", + "335", + "500", + "501", + "522", + "523", + "524", + "525", + "526", + "554", + "555", + "566", + "567" ], "location": { "end": { @@ -26192,26 +27087,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "325", - "327", - "440", - "492", - "493", - "511", - "512", - "513", - "514", - "515", - "516", - "544", - "545", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "333", + "335", + "450", + "502", + "503", + "521", + "522", + "523", + "524", + "525", + "526", + "554", + "555", + "566", + "567" ], "location": { "end": { @@ -26233,8 +27128,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "494", - "495" + "504", + "505" ], "location": { "end": { @@ -26256,8 +27151,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "494", - "495" + "504", + "505" ], "location": { "end": { @@ -26278,8 +27173,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "494", - "495" + "504", + "505" ], "location": { "end": { @@ -26300,8 +27195,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "494", - "495" + "504", + "505" ], "location": { "end": { @@ -26323,19 +27218,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "441", - "442", - "443", - "444", - "445", - "446", - "448", - "449", - "450", - "496", - "497", - "556", - "557" + "451", + "452", + "453", + "454", + "455", + "456", + "458", + "459", + "460", + "506", + "507", + "566", + "567" ], "location": { "end": { @@ -26357,19 +27252,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "441", - "442", - "443", - "444", - "445", - "446", - "448", - "449", - "450", - "496", - "497", - "556", - "557" + "451", + "452", + "453", + "454", + "455", + "456", + "458", + "459", + "460", + "506", + "507", + "566", + "567" ], "location": { "end": { @@ -26390,19 +27285,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "441", - "442", - "443", - "444", - "445", - "446", - "448", - "449", - "450", - "496", - "497", - "556", - "557" + "451", + "452", + "453", + "454", + "455", + "456", + "458", + "459", + "460", + "506", + "507", + "566", + "567" ], "location": { "end": { @@ -26423,18 +27318,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "441", - "442", - "443", - "444", - "445", - "446", - "448", - "449", - "496", - "497", - "556", - "557" + "451", + "452", + "453", + "454", + "455", + "456", + "458", + "459", + "506", + "507", + "566", + "567" ], "location": { "end": { @@ -26456,14 +27351,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501", - "502" + "199", + "200", + "201", + "508", + "509", + "510", + "511", + "512" ], "location": { "end": { @@ -26484,14 +27379,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501", - "502" + "199", + "200", + "201", + "508", + "509", + "510", + "511", + "512" ], "location": { "end": { @@ -26513,14 +27408,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501", - "502" + "199", + "200", + "201", + "508", + "509", + "510", + "511", + "512" ], "location": { "end": { @@ -26542,13 +27437,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26570,13 +27465,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26598,13 +27493,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26626,13 +27521,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26654,13 +27549,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26682,13 +27577,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26710,13 +27605,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26737,13 +27632,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26764,13 +27659,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26792,13 +27687,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26820,16 +27715,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "192" + "200" ], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26851,16 +27746,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "500" + "510" ], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26882,16 +27777,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "192" + "200" ], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26913,16 +27808,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "192" + "200" ], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26944,16 +27839,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "500" + "510" ], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -26975,15 +27870,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "192" + "200" ], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500" + "199", + "200", + "201", + "508", + "509", + "510" ], "location": { "end": { @@ -27005,15 +27900,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "500" + "510" ], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500" + "199", + "200", + "201", + "508", + "509", + "510" ], "location": { "end": { @@ -27034,12 +27929,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500" + "199", + "200", + "201", + "508", + "509", + "510" ], "location": { "end": { @@ -27060,13 +27955,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -27087,13 +27982,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -27115,13 +28010,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "498", - "499", - "500", - "501" + "199", + "200", + "201", + "508", + "509", + "510", + "511" ], "location": { "end": { @@ -27143,25 +28038,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "503", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27182,25 +28077,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "503", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27222,25 +28117,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "503", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27261,23 +28156,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "503", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "513", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -27298,25 +28193,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "503", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27338,25 +28233,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "503", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "513", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27377,24 +28272,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27416,27 +28311,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "498" + "508" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27458,27 +28353,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "498" + "508" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27500,24 +28395,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27539,26 +28434,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "498" + "508" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27580,27 +28475,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "498" + "508" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27622,24 +28517,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27661,27 +28556,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "509" + "519" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27702,24 +28597,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", "508", - "509" + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518", + "519" ], "location": { "end": { @@ -27741,23 +28636,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -27778,23 +28673,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -27815,23 +28710,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -27853,26 +28748,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "507" + "517" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -27894,26 +28789,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "498" + "508" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -27935,17 +28830,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "382" + "390" ], "coveredBy": [ - "379", - "380", - "381", - "382", - "383", - "505", - "506", - "508" + "388", + "389", + "390", + "391", + "515", + "516", + "518" ], "location": { "end": { @@ -27967,17 +28861,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "505" + "515" ], "coveredBy": [ - "379", - "380", - "381", - "382", - "383", - "505", - "506", - "508" + "388", + "389", + "390", + "391", + "515", + "516", + "518" ], "location": { "end": { @@ -27999,26 +28892,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "498" + "508" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28039,23 +28932,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28077,26 +28970,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "498" + "508" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28117,23 +29010,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28154,16 +29047,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "498", - "499", - "500", - "501", - "504", - "508" + "387", + "388", + "389", + "390", + "508", + "509", + "510", + "511", + "514", + "518" ], "location": { "end": { @@ -28184,23 +29077,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28222,23 +29115,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28259,26 +29152,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" - ], - "location": { - "end": { + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" + ], + "location": { + "end": { "column": 148, "line": 154 }, @@ -28296,23 +29189,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28333,23 +29226,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "501", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "511", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28371,25 +29264,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "506" + "516" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28411,25 +29304,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "192" + "200" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28451,25 +29344,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "192" + "200" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28491,25 +29384,25 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "192" + "200" ], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "382", - "383", - "498", - "499", - "500", - "504", - "505", - "506", - "507", - "508" + "199", + "200", + "201", + "387", + "388", + "389", + "390", + "391", + "508", + "509", + "510", + "514", + "515", + "516", + "517", + "518" ], "location": { "end": { @@ -28530,14 +29423,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383", - "506", - "507", - "508" + "387", + "388", + "389", + "390", + "391", + "516", + "517", + "518" ], "location": { "end": { @@ -28558,14 +29451,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383", - "506", - "507", - "508" + "387", + "388", + "389", + "390", + "391", + "516", + "517", + "518" ], "location": { "end": { @@ -28587,20 +29480,20 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "379", - "380", - "381", - "383", - "498", - "499", - "500", - "504", - "505", - "506", - "507" + "199", + "200", + "201", + "387", + "388", + "389", + "391", + "508", + "509", + "510", + "514", + "515", + "516", + "517" ], "location": { "end": { @@ -28622,19 +29515,18 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "383" + "391" ], "coveredBy": [ - "379", - "380", - "381", - "382", - "383", - "499", - "501", - "505", - "506", - "508" + "388", + "389", + "390", + "391", + "509", + "511", + "515", + "516", + "518" ], "location": { "end": { @@ -28656,16 +29548,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "510", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "520", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -28687,16 +29579,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "510", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "520", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -28718,16 +29610,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "510", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "520", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -28749,16 +29641,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "510", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "520", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -28780,16 +29672,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "510", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "520", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -28811,16 +29703,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "510", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "520", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -28842,7 +29734,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "510" + "520" ], "location": { "end": { @@ -28863,7 +29755,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "510" + "520" ], "location": { "end": { @@ -28885,7 +29777,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "510" + "520" ], "location": { "end": { @@ -28907,15 +29799,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -28937,15 +29829,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -28966,9 +29858,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "511", - "556" + "450", + "521", + "566" ], "location": { "end": { @@ -28990,12 +29882,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", - "513", - "514", - "515", - "516", - "557" + "522", + "523", + "524", + "525", + "526", + "567" ], "location": { "end": { @@ -29017,12 +29909,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", - "513", - "514", - "515", - "516", - "557" + "522", + "523", + "524", + "525", + "526", + "567" ], "location": { "end": { @@ -29043,10 +29935,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", - "515", - "516", - "557" + "522", + "525", + "526", + "567" ], "location": { "end": { @@ -29068,11 +29960,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "514" + "524" ], "coveredBy": [ - "513", - "514" + "523", + "524" ], "location": { "end": { @@ -29093,15 +29985,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -29122,17 +30014,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" - ], - "location": { + "450", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" + ], + "location": { "end": { "column": 74, "line": 176 @@ -29151,15 +30043,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -29181,15 +30073,15 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "511" + "521" ], "coveredBy": [ - "440", - "511", - "512", - "513", - "556", - "557" + "450", + "521", + "522", + "523", + "566", + "567" ], "location": { "end": { @@ -29211,15 +30103,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "440", - "511", - "512", - "513", - "556", - "557" + "450", + "521", + "522", + "523", + "566", + "567" ], "location": { "end": { @@ -29240,12 +30132,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "511", - "512", - "513", - "556", - "557" + "450", + "521", + "522", + "523", + "566", + "567" ], "location": { "end": { @@ -29267,15 +30159,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "440", - "511", - "512", - "513", - "514", - "515", - "516", - "556", - "557" + "450", + "521", + "522", + "523", + "524", + "525", + "526", + "566", + "567" ], "location": { "end": { @@ -29289,2392 +30181,1527 @@ } }, { - "id": "582", + "id": "643", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(19,73): 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(61,88): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "coveredBy": [ - "23", - "24", - "25", - "27", - "54", - "55", - "56", - "60", - "61", - "62", - "120", - "121", - "122", - "123", - "124", - "153", - "154", - "155", - "156", "157", - "158", - "159", - "160", "161", "162", - "178", - "179", - "180", - "181", - "184", - "185", - "186", - "189", - "190", - "191", - "192", - "193", - "219", - "220", - "224", - "225", - "226", - "233", - "234", - "235", - "236", - "237", - "238", - "243", - "244", - "245", - "246", - "255", - "256", - "257", - "258", - "259", - "260", - "261", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "274", - "275", - "276", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286", - "304", - "305", - "306", - "307", - "308", - "309", - "310", - "312", - "313", - "315", - "316", - "318", - "319", - "320", - "326", - "364", - "365", - "366", - "367", - "368", - "390", - "391", - "392", - "393", - "394", - "453", - "454", - "556", - "557", - "607", - "608", - "609", - "610", - "611", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", - "637", - "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "674", - "675", - "676", - "677", - "678", + "163", + "165", + "166", + "167", + "168", + "169", + "170", + "331", + "332", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "485", + "486", + "566", "679", "680", - "681" + "681", + "682", + "683", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { "column": 2, - "line": 21 + "line": 63 }, "start": { - "column": 92, - "line": 19 + "column": 107, + "line": 61 } } }, { - "id": "593", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(27,74): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "602", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, "coveredBy": [ + "42", + "43", + "44", + "45", + "157", + "177", + "182", + "196", + "199", + "200", + "201", + "203", + "205", + "209", + "210", + "217", "219", - "220", + "221", + "223", "224", - "225", - "226", - "252", - "253", - "281", - "282", - "283", - "285", - "286", - "457", - "458", - "466", - "467", - "468", + "337", + "338", + "339", + "345", + "346", + "387", + "388", + "389", + "390", + "391", + "413", + "414", + "433", + "434", + "435", + "436", + "451", + "452", + "453", + "454", + "455", + "456", "469", "470", "471", - "488", - "489", + "472", + "504", + "505", + "506", + "507", + "508", + "509", + "510", "511", - "556", - "557", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "633", - "634", - "635", - "636", - "637", - "638", - "644", - "645", - "646" - ], - "location": { - "end": { - "column": 2, - "line": 29 - }, - "start": { - "column": 83, - "line": 27 - } - } - }, - { - "id": "615", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(47,52): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "225", - "281", - "282", - "283", - "285", - "286", - "466", - "467", - "468" + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "564", + "566", + "567", + "772", + "773", + "774", + "776", + "777", + "781", + "785", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 2, - "line": 50 + "column": 78, + "line": 32 }, "start": { - "column": 60, - "line": 47 + "column": 46, + "line": 32 } } }, { - "id": "643", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(61,88): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "644", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", "static": false, "coveredBy": [ - "149", - "153", - "154", - "155", "157", - "158", - "159", - "160", "161", "162", - "323", - "324", - "325", - "430", - "431", - "432", - "433", - "434", - "435", - "475", - "476", - "556", - "669", - "670", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "678", + "163", + "165", + "166", + "167", + "168", + "169", + "170", + "331", + "332", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "485", + "486", + "566", "679", "680", - "681" + "681", + "682", + "683", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { - "column": 2, - "line": 63 + "column": 85, + "line": 62 }, "start": { - "column": 107, - "line": 61 + "column": 33, + "line": 62 } } }, { - "id": "586", - "mutatorName": "EqualityOperator", - "replacement": "player.role.current !== role", + "id": "601", + "mutatorName": "ConditionalExpression", + "replacement": "true", "status": "Timeout", "static": false, "coveredBy": [ - "23", - "24", - "25", - "27", - "55", - "61", - "121", - "122", - "123", - "124", - "153", - "154", - "155", - "156", + "42", + "43", + "44", + "45", "157", - "158", - "159", - "160", - "161", - "162", - "178", - "179", - "180", - "181", - "184", - "185", - "186", - "189", - "190", - "191", - "192", - "193", + "177", + "182", + "196", + "199", + "200", + "201", + "203", + "205", + "209", + "210", + "217", "219", - "220", + "221", + "223", "224", - "225", - "226", - "233", - "234", - "235", - "236", - "237", - "238", - "243", - "244", - "245", - "246", - "255", - "256", - "257", - "258", - "259", - "260", - "261", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "274", - "275", - "276", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286", - "304", - "305", - "306", - "307", - "308", - "309", - "310", - "312", - "313", - "315", - "316", - "318", - "319", - "320", - "364", - "365", - "366", - "367", - "368", + "337", + "338", + "339", + "345", + "346", + "387", + "388", + "389", "390", "391", - "392", - "393", - "394", + "413", + "414", + "433", + "434", + "435", + "436", + "451", + "452", "453", "454", - "556", - "557", - "608", - "609", - "610", - "611", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", - "637", - "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "674", - "675", - "676", - "677", - "678", - "679", - "680", - "681" + "455", + "456", + "469", + "470", + "471", + "472", + "504", + "505", + "506", + "507", + "508", + "509", + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "564", + "566", + "567", + "772", + "773", + "774", + "776", + "777", + "781", + "785", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 71, - "line": 20 + "column": 78, + "line": 32 }, "start": { - "column": 43, - "line": 20 + "column": 46, + "line": 32 } } }, { - "id": "584", - "mutatorName": "ConditionalExpression", - "replacement": "true", + "id": "792", + "mutatorName": "UpdateOperator", + "replacement": "count--", + "statusReason": "Hit limit reached (1507/1500)", "status": "Timeout", "static": false, "coveredBy": [ - "23", - "24", - "25", - "27", - "55", - "61", - "121", - "122", - "123", - "124", - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "178", - "179", - "180", - "181", - "184", - "185", - "186", - "189", - "190", - "191", - "192", - "193", - "219", - "220", - "224", - "225", - "226", - "233", - "234", - "235", - "236", - "237", - "238", - "243", - "244", - "245", - "246", - "255", - "256", - "257", - "258", - "259", - "260", - "261", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "274", - "275", - "276", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286", - "304", - "305", - "306", - "307", - "308", - "309", - "310", - "312", - "313", - "315", - "316", - "318", - "319", - "320", - "364", - "365", - "366", - "367", - "368", + "388", + "389", "390", "391", - "392", - "393", - "394", - "453", - "454", - "556", - "557", - "608", - "609", - "610", - "611", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", - "637", - "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "674", - "675", - "676", - "677", - "678", - "679", - "680", - "681" + "509", + "511", + "515", + "516", + "518" ], "location": { "end": { - "column": 71, - "line": 20 + "column": 12, + "line": 158 }, "start": { - "column": 43, - "line": 20 + "column": 5, + "line": 158 } } - }, + } + ], + "source": "import { cloneDeep } from \"lodash\";\nimport type { Types } from \"mongoose\";\nimport { createCantFindPlayerUnexpectedException, createNoCurrentGamePlayUnexpectedException } from \"../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../role/enums/role.enum\";\nimport type { CreateGamePlayerDto } from \"../dto/create-game/create-game-player/create-game-player.dto\";\nimport { GAME_PLAY_ACTIONS } from \"../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../enums/player.enum\";\nimport type { GameAdditionalCard } from \"../schemas/game-additional-card/game-additional-card.schema\";\nimport type { Game } from \"../schemas/game.schema\";\nimport type { Player } from \"../schemas/player/player.schema\";\nimport type { GameSource, GetNearestPlayerOptions } from \"../types/game.type\";\nimport { createPlayer } from \"./player/player.factory\";\nimport { doesPlayerHaveAttribute } from \"./player/player.helper\";\n\nfunction getPlayerDtoWithRole(players: CreateGamePlayerDto[], role: ROLE_NAMES): CreateGamePlayerDto | undefined {\n return cloneDeep(players.find(player => player.role.name === role));\n}\n\nfunction getPlayerWithCurrentRole(players: Player[], role: ROLE_NAMES): Player | undefined {\n return cloneDeep(players.find(player => player.role.current === role));\n}\n\nfunction getPlayersWithCurrentRole(players: Player[], role: ROLE_NAMES): Player[] {\n return cloneDeep(players.filter(player => player.role.current === role));\n}\n\nfunction getPlayersWithCurrentSide(players: Player[], side: ROLE_SIDES): Player[] {\n return cloneDeep(players.filter(player => player.side.current === side));\n}\n\nfunction getPlayerWithId(players: Player[], id: Types.ObjectId): Player | undefined {\n return cloneDeep(players.find(({ _id }) => _id.toString() === id.toString()));\n}\n\nfunction getPlayerWithIdOrThrow(playerId: Types.ObjectId, game: Game, exception: Error): Player {\n const player = getPlayerWithId(game.players, playerId);\n if (!player) {\n throw exception;\n }\n return cloneDeep(player);\n}\n\nfunction getAdditionalCardWithId(cards: GameAdditionalCard[] | undefined, id: Types.ObjectId): GameAdditionalCard | undefined {\n return cloneDeep(cards?.find(({ _id }) => _id.toString() === id.toString()));\n}\n\nfunction areAllWerewolvesAlive(players: Player[]): boolean {\n const werewolfPlayers = getPlayersWithCurrentSide(players, ROLE_SIDES.WEREWOLVES);\n return werewolfPlayers.length > 0 && werewolfPlayers.every(werewolf => werewolf.isAlive);\n}\n\nfunction areAllVillagersAlive(players: Player[]): boolean {\n const villagerPlayers = getPlayersWithCurrentSide(players, ROLE_SIDES.VILLAGERS);\n return villagerPlayers.length > 0 && villagerPlayers.every(villager => villager.isAlive);\n}\n\nfunction areAllPlayersDead(players: Player[]): boolean {\n return players.length > 0 && players.every(({ isAlive }) => !isAlive);\n}\n\nfunction getPlayerWithAttribute(players: Player[], attribute: PLAYER_ATTRIBUTE_NAMES): Player | undefined {\n return cloneDeep(players.find(player => doesPlayerHaveAttribute(player, attribute)));\n}\n\nfunction getPlayersWithAttribute(players: Player[], attribute: PLAYER_ATTRIBUTE_NAMES): Player[] {\n return cloneDeep(players.filter(player => doesPlayerHaveAttribute(player, attribute)));\n}\n\nfunction getAlivePlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive));\n}\n\nfunction getAliveVillagerSidedPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && player.side.current === ROLE_SIDES.VILLAGERS));\n}\n\nfunction getAliveWerewolfSidedPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && player.side.current === ROLE_SIDES.WEREWOLVES));\n}\n\nfunction getLeftToCharmByPiedPiperPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.CHARMED) && player.role.current !== ROLE_NAMES.PIED_PIPER));\n}\n\nfunction getLeftToEatByWerewolvesPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && player.side.current === ROLE_SIDES.VILLAGERS && !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.EATEN)));\n}\n\nfunction getLeftToEatByWhiteWerewolfPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && player.side.current === ROLE_SIDES.WEREWOLVES && player.role.current !== ROLE_NAMES.WHITE_WEREWOLF));\n}\n\nfunction getGroupOfPlayers(players: Player[], group: PLAYER_GROUPS): Player[] {\n if (group === PLAYER_GROUPS.ALL) {\n return cloneDeep(players);\n }\n if (group === PLAYER_GROUPS.LOVERS) {\n return cloneDeep(getPlayersWithAttribute(players, PLAYER_ATTRIBUTE_NAMES.IN_LOVE));\n }\n if (group === PLAYER_GROUPS.CHARMED) {\n return cloneDeep(getPlayersWithAttribute(players, PLAYER_ATTRIBUTE_NAMES.CHARMED));\n }\n if (group === PLAYER_GROUPS.VILLAGERS) {\n return cloneDeep(getPlayersWithCurrentSide(players, ROLE_SIDES.VILLAGERS));\n }\n return cloneDeep(getPlayersWithCurrentSide(players, ROLE_SIDES.WEREWOLVES));\n}\n\nfunction isGameSourceRole(source: GameSource): source is ROLE_NAMES {\n return Object.values(ROLE_NAMES).includes(source as ROLE_NAMES);\n}\n\nfunction isGameSourceGroup(source: GameSource): source is PLAYER_GROUPS {\n return Object.values(PLAYER_GROUPS).includes(source as PLAYER_GROUPS);\n}\n\nfunction getNonexistentPlayerId(players: Player[], candidateIds?: Types.ObjectId[]): Types.ObjectId | undefined {\n return candidateIds?.find(candidateId => !getPlayerWithId(players, candidateId));\n}\n\nfunction getNonexistentPlayer(players: Player[], candidatePlayers?: Player[]): Player | undefined {\n return cloneDeep(candidatePlayers?.find(candidatePlayer => !getPlayerWithId(players, candidatePlayer._id)));\n}\n\nfunction getFoxSniffedPlayers(sniffedTargetId: Types.ObjectId, game: Game): Player[] {\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"getFoxSniffedTargets\", { gameId: game._id, playerId: sniffedTargetId });\n const sniffedTarget = getPlayerWithIdOrThrow(sniffedTargetId, game, cantFindPlayerException);\n const leftAliveNeighbor = getNearestAliveNeighbor(sniffedTarget._id, game, { direction: \"left\" });\n const rightAliveNeighbor = getNearestAliveNeighbor(sniffedTarget._id, game, { direction: \"right\" });\n const sniffedTargets = [leftAliveNeighbor, sniffedTarget, rightAliveNeighbor].filter((player): player is Player => !!player);\n return sniffedTargets.reduce((acc, target) => {\n if (!acc.some(uniqueTarget => uniqueTarget._id.toString() === target._id.toString())) {\n return [...acc, target];\n }\n return acc;\n }, []);\n}\n\nfunction getNearestAliveNeighbor(playerId: Types.ObjectId, game: Game, options: GetNearestPlayerOptions): Player | undefined {\n const alivePlayers = getAlivePlayers(game.players);\n alivePlayers.sort((a, b) => a.position - b.position);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"getNearestAliveNeighbor\", { gameId: game._id, playerId });\n const player = getPlayerWithIdOrThrow(playerId, game, cantFindPlayerException);\n const indexHeading = options.direction === \"left\" ? -1 : 1;\n let currentIndex = player.position + indexHeading;\n let count = 0;\n while (count < alivePlayers.length) {\n if (currentIndex < 0) {\n currentIndex = alivePlayers.length - 1;\n } else if (currentIndex >= alivePlayers.length) {\n currentIndex = 0;\n }\n const checkingNeighbor = alivePlayers[currentIndex];\n if (checkingNeighbor.position !== player.position && (options.playerSide === undefined || checkingNeighbor.side.current === options.playerSide)) {\n return cloneDeep(checkingNeighbor);\n }\n currentIndex += indexHeading;\n count++;\n }\n}\n\nfunction getExpectedPlayersToPlay(game: Game): Player[] {\n const { players, currentPlay } = game;\n const mustIncludeDeadPlayersGamePlayActions = [GAME_PLAY_ACTIONS.SHOOT, GAME_PLAY_ACTIONS.BAN_VOTING, GAME_PLAY_ACTIONS.DELEGATE];\n let expectedPlayersToPlay: Player[] = [];\n if (currentPlay === null) {\n throw createNoCurrentGamePlayUnexpectedException(\"getExpectedPlayersToPlay\", { gameId: game._id });\n }\n if (isGameSourceGroup(currentPlay.source)) {\n expectedPlayersToPlay = getGroupOfPlayers(players, currentPlay.source);\n } else if (isGameSourceRole(currentPlay.source)) {\n expectedPlayersToPlay = getPlayersWithCurrentRole(players, currentPlay.source);\n } else {\n expectedPlayersToPlay = getPlayersWithAttribute(players, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n }\n if (!mustIncludeDeadPlayersGamePlayActions.includes(currentPlay.action)) {\n expectedPlayersToPlay = expectedPlayersToPlay.filter(player => player.isAlive);\n }\n return expectedPlayersToPlay.map(player => createPlayer(player));\n}\n\nexport {\n getPlayerDtoWithRole,\n getPlayerWithCurrentRole,\n getPlayersWithCurrentRole,\n getPlayersWithCurrentSide,\n getPlayerWithId,\n getPlayerWithIdOrThrow,\n getAdditionalCardWithId,\n areAllWerewolvesAlive,\n areAllVillagersAlive,\n areAllPlayersDead,\n getPlayerWithAttribute,\n getPlayersWithAttribute,\n getAlivePlayers,\n getAliveVillagerSidedPlayers,\n getAliveWerewolfSidedPlayers,\n getLeftToCharmByPiedPiperPlayers,\n getLeftToEatByWerewolvesPlayers,\n getLeftToEatByWhiteWerewolfPlayers,\n getGroupOfPlayers,\n isGameSourceRole,\n isGameSourceGroup,\n getNonexistentPlayerId,\n getNonexistentPlayer,\n getFoxSniffedPlayers,\n getNearestAliveNeighbor,\n getExpectedPlayersToPlay,\n};" + }, + "src/modules/game/helpers/game.mutator.ts": { + "language": "typescript", + "mutants": [ { - "id": "583", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "status": "Timeout", + "id": "816", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.mutator.ts(12,105): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "23", - "24", - "25", - "27", - "54", - "55", - "56", - "60", - "61", - "62", - "120", - "121", - "122", - "123", - "124", - "153", - "154", - "155", - "156", "157", - "158", - "159", - "160", - "161", - "162", - "178", - "179", - "180", - "181", - "184", - "185", - "186", + "177", + "182", "189", - "190", - "191", - "192", - "193", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", "219", - "220", + "221", + "223", "224", "225", "226", - "233", - "234", - "235", - "236", - "237", - "238", - "243", - "244", - "245", - "246", - "255", - "256", - "257", - "258", - "259", - "260", - "261", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "274", - "275", - "276", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286", - "304", - "305", - "306", - "307", - "308", - "309", - "310", - "312", - "313", - "315", - "316", - "318", - "319", - "320", - "326", - "364", - "365", - "366", - "367", - "368", - "390", + "337", + "338", + "339", + "345", + "346", + "376", "391", - "392", - "393", - "394", - "453", - "454", - "556", - "557", - "607", - "608", - "609", - "610", - "611", - "612", - "613", - "614", - "615", - "616", - "617", - "618", - "619", - "620", - "621", - "622", - "623", - "624", - "625", - "626", - "627", - "628", - "637", - "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "674", - "675", - "676", - "677", - "678", - "679", - "680", - "681" + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 71, + "column": 2, "line": 20 }, "start": { - "column": 33, - "line": 20 + "column": 110, + "line": 12 } } }, { - "id": "616", - "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:905:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "static": false, - "testsCompleted": 9, + "id": "817", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 10\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"ca661a2ccaa3b83d71d91ac4\",\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\": true,\n \"name\": \"Oswald\",\n \"position\": 3496473173950464,\n \"role\": PlayerRole {\n@@ -96,19 +104,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"cf2e316bdfdaddae522d0acd\",\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\": false,\n \"name\": \"Dejuan\",\n \"position\": 7148351229263872,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 33, + "static": false, "killedBy": [ - "281" + "157" ], "coveredBy": [ + "157", + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", "225", - "281", - "282", - "283", - "285", - "286", - "466", - "467", - "468" + "226", + "337", + "338", + "339", + "345", + "346", + "376", + "391", + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 91, - "line": 49 + "column": 105, + "line": 14 }, "start": { - "column": 10, - "line": 49 + "column": 50, + "line": 14 } } }, { - "id": "594", - "mutatorName": "MethodExpression", - "replacement": "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:525:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "818", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 17\n+ Received + 17\n\n@@ -78,37 +78,37 @@\n },\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n- \"_id\": \"a08e6e413eda9fcdcad291e5\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": false,\n- \"name\": \"Vito\",\n- \"position\": 8322900060798976,\n- \"role\": PlayerRole {\n- \"current\": \"wild-child\",\n- \"isRevealed\": true,\n- \"original\": \"vile-father-of-wolves\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Player {\n \"_id\": \"8e79ccffea6adcc8cb8946d9\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n \"remainingPhases\": undefined,\n \"source\": \"sheriff\",\n },\n ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Sydnee\",\n+ \"position\": 8120628936704000,\n+ \"role\": PlayerRole {\n+ \"current\": \"pied-piper\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager-villager\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ Player {\n+ \"_id\": \"8e79ccffea6adcc8cb8946d9\",\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Sydnee\",\n \"position\": 8120628936704000,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:322:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", + "testsCompleted": 33, "static": false, - "testsCompleted": 42, "killedBy": [ - "252" + "157" ], "coveredBy": [ + "157", + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", "219", - "220", + "221", + "223", "224", "225", "226", - "252", - "253", - "281", - "282", - "283", - "285", - "286", - "457", - "458", - "466", - "467", - "468", - "469", - "470", - "471", - "488", - "489", - "511", - "556", - "557", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "633", - "634", - "635", - "636", - "637", - "638", - "644", - "645", - "646" + "337", + "338", + "339", + "345", + "346", + "376", + "391", + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 74, - "line": 28 + "column": 105, + "line": 14 }, "start": { - "column": 20, - "line": 28 + "column": 60, + "line": 14 } } }, { - "id": "618", - "mutatorName": "LogicalOperator", - "replacement": "werewolfPlayers.length > 0 || werewolfPlayers.every(werewolf => werewolf.isAlive)", - "status": "Timeout", + "id": "819", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 10\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"8e2cb43febfaff8ed753084c\",\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\": \"Carlie\",\n \"position\": 4345286199607296,\n \"role\": PlayerRole {\n@@ -96,19 +104,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"ffcabd2a9ebbbaec54cced55\",\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\": false,\n \"name\": \"Merlin\",\n \"position\": 5462527219597312,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 33, "static": false, - "coveredBy": [ - "225", - "281", - "282", - "283", - "285", - "286", - "466", - "467", - "468" + "killedBy": [ + "157" ], - "location": { - "end": { - "column": 91, - "line": 49 - }, - "start": { - "column": 10, - "line": 49 - } - } - }, - { - "id": "595", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "status": "Timeout", - "static": false, "coveredBy": [ + "157", + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", "219", - "220", + "221", + "223", "224", "225", "226", - "252", - "253", - "281", - "282", - "283", - "285", - "286", - "457", - "458", - "466", - "467", - "468", - "469", - "470", - "471", - "488", - "489", - "511", - "556", - "557", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "633", - "634", - "635", - "636", - "637", - "638", - "644", - "645", - "646" + "337", + "338", + "339", + "345", + "346", + "376", + "391", + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 73, - "line": 28 + "column": 105, + "line": 14 }, "start": { - "column": 35, - "line": 28 + "column": 60, + "line": 14 } } }, { - "id": "621", + "id": "820", "mutatorName": "EqualityOperator", - "replacement": "werewolfPlayers.length <= 0", - "status": "Timeout", + "replacement": "player._id.toString() !== playerId.toString()", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 17\n+ Received + 17\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"c3e9eafdfc65ebfe0e58ae1a\",\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\": \"Orlo\",\n \"position\": 6943785082683392,\n \"role\": PlayerRole {\n@@ -95,32 +103,24 @@\n \"current\": \"villagers\",\n \"original\": \"werewolves\",\n },\n },\n Player {\n- \"_id\": \"3bfbbd03f9cabcaeb9ebc60e\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"sheriff\",\n- },\n- ],\n+ \"_id\": \"c3e9eafdfc65ebfe0e58ae1a\",\n+ \"attributes\": Array [],\n \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Brenna\",\n- \"position\": 7809057788264448,\n+ \"isAlive\": false,\n+ \"name\": \"Orlo\",\n+ \"position\": 6943785082683392,\n \"role\": PlayerRole {\n- \"current\": \"ancient\",\n+ \"current\": \"stuttering-judge\",\n \"isRevealed\": true,\n- \"original\": \"raven\",\n+ \"original\": \"stuttering-judge\",\n },\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"0f12b3a72cac3dfe95cf631c\",\n \"attributes\": Array [],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 33, "static": false, + "killedBy": [ + "157" + ], "coveredBy": [ + "157", + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", "225", - "281", - "282", - "283", - "285", - "286", - "466", - "467", - "468" + "226", + "337", + "338", + "339", + "345", + "346", + "376", + "391", + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 36, - "line": 49 + "column": 105, + "line": 14 }, "start": { - "column": 10, - "line": 49 + "column": 60, + "line": 14 } } }, { - "id": "596", + "id": "821", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Unexpected exception in revealPlayerRole\"\nReceived message: \"Cannot convert undefined or null to object\"\n\n 69 | stryCov_9fa48(\"801\");\n 70 | const clonedPlayer = cloneDeep(clonedGame.players[playerIdx]);\n > 71 | clonedGame.players.splice(playerIdx, 1, createPlayer(Object.assign(clonedPlayer, playerDataToUpdate)));\n | ^\n 72 | }\n 73 | }\n 74 | return clonedGame;\n\n at updatePlayerInGame (src/modules/game/helpers/game.mutator.ts:71:69)\n at PlayerKillerService.revealPlayerRole (src/modules/game/providers/services/player/player-killer.service.ts:139:38)\n at tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:242:61\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:242:84)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:242:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 33, "static": false, + "killedBy": [ + "345" + ], "coveredBy": [ + "157", + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", "219", - "220", + "221", + "223", "224", "225", "226", - "252", - "253", - "281", - "282", - "283", - "285", - "286", - "457", - "458", - "467", - "468", - "470", - "471", - "488", - "489", - "511", - "556", - "557", - "595", - "596", - "597", - "599", - "600", - "601", - "633", - "634", - "635", - "636", - "637", - "638", - "644", - "645", - "646" + "337", + "338", + "339", + "345", + "346", + "376", + "391", + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 73, - "line": 28 + "column": 23, + "line": 15 }, "start": { - "column": 45, - "line": 28 + "column": 7, + "line": 15 } } }, { - "id": "623", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", + "id": "822", + "mutatorName": "ConditionalExpression", + "replacement": "false", "status": "Timeout", "static": false, + "killedBy": [], "coveredBy": [ + "157", + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", "225", - "281", - "282", - "283", - "285", - "286", - "467", - "468" + "226", + "337", + "338", + "339", + "345", + "346", + "376", + "391", + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 90, - "line": 49 + "column": 23, + "line": 15 }, "start": { - "column": 62, - "line": 49 + "column": 7, + "line": 15 } } }, { - "id": "688", - "mutatorName": "BooleanLiteral", - "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.EATEN)", - "status": "Timeout", + "id": "823", + "mutatorName": "EqualityOperator", + "replacement": "playerIdx === -1", + "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/sandbox9682209/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:737:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 33, "static": false, + "killedBy": [ + "567" + ], "coveredBy": [ - "42", - "44", - "45", - "483" + "157", + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", + "225", + "226", + "337", + "338", + "339", + "345", + "346", + "376", + "391", + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 173, - "line": 86 + "column": 23, + "line": 15 }, "start": { - "column": 111, - "line": 86 + "column": 7, + "line": 15 } } }, { - "id": "644", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "status": "Timeout", + "id": "824", + "mutatorName": "UnaryOperator", + "replacement": "+1", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -96,19 +96,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"6d7f4d0920c3bda57a4cfe1e\",\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\": \"Cooper\",\n \"position\": 8457821358129152,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 33, "static": false, + "killedBy": [ + "157" + ], "coveredBy": [ - "149", - "153", - "154", - "155", "157", - "158", - "159", - "160", - "161", - "162", - "323", - "324", - "325", - "430", - "431", - "432", - "433", - "434", - "435", - "475", - "476", - "556", - "669", - "670", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "678", - "679", - "680", - "681" + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", + "225", + "226", + "337", + "338", + "339", + "345", + "346", + "376", + "391", + "567", + "782", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 85, - "line": 62 + "column": 23, + "line": 15 }, "start": { - "column": 33, - "line": 62 + "column": 21, + "line": 15 } } }, { - "id": "792", - "mutatorName": "UpdateOperator", - "replacement": "count--", - "status": "Timeout", + "id": "825", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 1\n\n@@ -78,17 +78,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Object {\n \"_id\": \"db8ecbee6eece562afea86ff\",\n- \"attributes\": Array [\n- Object {\n- \"name\": \"seen\",\n- \"remainingPhases\": 1,\n- \"source\": \"seer\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Israel\",\n \"position\": 6038071627743232,\n \"role\": Object {\n \"current\": \"werewolf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9682209/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:738:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 31, "static": false, + "killedBy": [ + "567" + ], "coveredBy": [ - "379", - "380", - "381", - "382", - "383", - "499", - "501", - "505", - "506", - "508" + "157", + "177", + "182", + "189", + "194", + "196", + "201", + "203", + "205", + "209", + "210", + "217", + "219", + "221", + "223", + "224", + "225", + "226", + "337", + "338", + "339", + "346", + "376", + "391", + "567", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { - "column": 12, - "line": 158 + "column": 4, + "line": 18 }, "start": { - "column": 5, - "line": 158 + "column": 25, + "line": 15 } } - } - ], - "source": "import { cloneDeep } from \"lodash\";\nimport type { Types } from \"mongoose\";\nimport { createCantFindPlayerUnexpectedException, createNoCurrentGamePlayUnexpectedException } from \"../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../role/enums/role.enum\";\nimport type { CreateGamePlayerDto } from \"../dto/create-game/create-game-player/create-game-player.dto\";\nimport { GAME_PLAY_ACTIONS } from \"../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../enums/player.enum\";\nimport type { GameAdditionalCard } from \"../schemas/game-additional-card/game-additional-card.schema\";\nimport type { Game } from \"../schemas/game.schema\";\nimport type { Player } from \"../schemas/player/player.schema\";\nimport type { GameSource, GetNearestPlayerOptions } from \"../types/game.type\";\nimport { createPlayer } from \"./player/player.factory\";\nimport { doesPlayerHaveAttribute } from \"./player/player.helper\";\n\nfunction getPlayerDtoWithRole(players: CreateGamePlayerDto[], role: ROLE_NAMES): CreateGamePlayerDto | undefined {\n return cloneDeep(players.find(player => player.role.name === role));\n}\n\nfunction getPlayerWithCurrentRole(players: Player[], role: ROLE_NAMES): Player | undefined {\n return cloneDeep(players.find(player => player.role.current === role));\n}\n\nfunction getPlayersWithCurrentRole(players: Player[], role: ROLE_NAMES): Player[] {\n return cloneDeep(players.filter(player => player.role.current === role));\n}\n\nfunction getPlayersWithCurrentSide(players: Player[], side: ROLE_SIDES): Player[] {\n return cloneDeep(players.filter(player => player.side.current === side));\n}\n\nfunction getPlayerWithId(players: Player[], id: Types.ObjectId): Player | undefined {\n return cloneDeep(players.find(({ _id }) => _id.toString() === id.toString()));\n}\n\nfunction getPlayerWithIdOrThrow(playerId: Types.ObjectId, game: Game, exception: Error): Player {\n const player = getPlayerWithId(game.players, playerId);\n if (!player) {\n throw exception;\n }\n return cloneDeep(player);\n}\n\nfunction getAdditionalCardWithId(cards: GameAdditionalCard[] | undefined, id: Types.ObjectId): GameAdditionalCard | undefined {\n return cloneDeep(cards?.find(({ _id }) => _id.toString() === id.toString()));\n}\n\nfunction areAllWerewolvesAlive(players: Player[]): boolean {\n const werewolfPlayers = getPlayersWithCurrentSide(players, ROLE_SIDES.WEREWOLVES);\n return werewolfPlayers.length > 0 && werewolfPlayers.every(werewolf => werewolf.isAlive);\n}\n\nfunction areAllVillagersAlive(players: Player[]): boolean {\n const villagerPlayers = getPlayersWithCurrentSide(players, ROLE_SIDES.VILLAGERS);\n return villagerPlayers.length > 0 && villagerPlayers.every(villager => villager.isAlive);\n}\n\nfunction areAllPlayersDead(players: Player[]): boolean {\n return players.length > 0 && players.every(({ isAlive }) => !isAlive);\n}\n\nfunction getPlayerWithAttribute(players: Player[], attribute: PLAYER_ATTRIBUTE_NAMES): Player | undefined {\n return cloneDeep(players.find(player => doesPlayerHaveAttribute(player, attribute)));\n}\n\nfunction getPlayersWithAttribute(players: Player[], attribute: PLAYER_ATTRIBUTE_NAMES): Player[] {\n return cloneDeep(players.filter(player => doesPlayerHaveAttribute(player, attribute)));\n}\n\nfunction getAlivePlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive));\n}\n\nfunction getAliveVillagerSidedPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && player.side.current === ROLE_SIDES.VILLAGERS));\n}\n\nfunction getAliveWerewolfSidedPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && player.side.current === ROLE_SIDES.WEREWOLVES));\n}\n\nfunction getLeftToCharmByPiedPiperPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.CHARMED) && player.role.current !== ROLE_NAMES.PIED_PIPER));\n}\n\nfunction getLeftToEatByWerewolvesPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && player.side.current === ROLE_SIDES.VILLAGERS && !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.EATEN)));\n}\n\nfunction getLeftToEatByWhiteWerewolfPlayers(players: Player[]): Player[] {\n return cloneDeep(players.filter(player => player.isAlive && player.side.current === ROLE_SIDES.WEREWOLVES && player.role.current !== ROLE_NAMES.WHITE_WEREWOLF));\n}\n\nfunction getGroupOfPlayers(players: Player[], group: PLAYER_GROUPS): Player[] {\n if (group === PLAYER_GROUPS.ALL) {\n return cloneDeep(players);\n }\n if (group === PLAYER_GROUPS.LOVERS) {\n return cloneDeep(getPlayersWithAttribute(players, PLAYER_ATTRIBUTE_NAMES.IN_LOVE));\n }\n if (group === PLAYER_GROUPS.CHARMED) {\n return cloneDeep(getPlayersWithAttribute(players, PLAYER_ATTRIBUTE_NAMES.CHARMED));\n }\n if (group === PLAYER_GROUPS.VILLAGERS) {\n return cloneDeep(getPlayersWithCurrentSide(players, ROLE_SIDES.VILLAGERS));\n }\n return cloneDeep(getPlayersWithCurrentSide(players, ROLE_SIDES.WEREWOLVES));\n}\n\nfunction isGameSourceRole(source: GameSource): source is ROLE_NAMES {\n return Object.values(ROLE_NAMES).includes(source as ROLE_NAMES);\n}\n\nfunction isGameSourceGroup(source: GameSource): source is PLAYER_GROUPS {\n return Object.values(PLAYER_GROUPS).includes(source as PLAYER_GROUPS);\n}\n\nfunction getNonexistentPlayerId(players: Player[], candidateIds?: Types.ObjectId[]): Types.ObjectId | undefined {\n return candidateIds?.find(candidateId => !getPlayerWithId(players, candidateId));\n}\n\nfunction getNonexistentPlayer(players: Player[], candidatePlayers?: Player[]): Player | undefined {\n return cloneDeep(candidatePlayers?.find(candidatePlayer => !getPlayerWithId(players, candidatePlayer._id)));\n}\n\nfunction getFoxSniffedPlayers(sniffedTargetId: Types.ObjectId, game: Game): Player[] {\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"getFoxSniffedTargets\", { gameId: game._id, playerId: sniffedTargetId });\n const sniffedTarget = getPlayerWithIdOrThrow(sniffedTargetId, game, cantFindPlayerException);\n const leftAliveNeighbor = getNearestAliveNeighbor(sniffedTarget._id, game, { direction: \"left\" });\n const rightAliveNeighbor = getNearestAliveNeighbor(sniffedTarget._id, game, { direction: \"right\" });\n const sniffedTargets = [leftAliveNeighbor, sniffedTarget, rightAliveNeighbor].filter((player): player is Player => !!player);\n return sniffedTargets.reduce((acc, target) => {\n if (!acc.some(uniqueTarget => uniqueTarget._id.toString() === target._id.toString())) {\n return [...acc, target];\n }\n return acc;\n }, []);\n}\n\nfunction getNearestAliveNeighbor(playerId: Types.ObjectId, game: Game, options: GetNearestPlayerOptions): Player | undefined {\n const alivePlayers = getAlivePlayers(game.players);\n alivePlayers.sort((a, b) => a.position - b.position);\n const cantFindPlayerException = createCantFindPlayerUnexpectedException(\"getNearestAliveNeighbor\", { gameId: game._id, playerId });\n const player = getPlayerWithIdOrThrow(playerId, game, cantFindPlayerException);\n const indexHeading = options.direction === \"left\" ? -1 : 1;\n let currentIndex = player.position + indexHeading;\n let count = 0;\n while (count < alivePlayers.length) {\n if (currentIndex < 0) {\n currentIndex = alivePlayers.length - 1;\n } else if (currentIndex >= alivePlayers.length) {\n currentIndex = 0;\n }\n const checkingNeighbor = alivePlayers[currentIndex];\n if (checkingNeighbor.position !== player.position && (options.playerSide === undefined || checkingNeighbor.side.current === options.playerSide)) {\n return cloneDeep(checkingNeighbor);\n }\n currentIndex += indexHeading;\n count++;\n }\n}\n\nfunction getExpectedPlayersToPlay(game: Game): Player[] {\n const { players, currentPlay } = game;\n const mustIncludeDeadPlayersGamePlayActions = [GAME_PLAY_ACTIONS.SHOOT, GAME_PLAY_ACTIONS.BAN_VOTING, GAME_PLAY_ACTIONS.DELEGATE];\n let expectedPlayersToPlay: Player[] = [];\n if (currentPlay === null) {\n throw createNoCurrentGamePlayUnexpectedException(\"getExpectedPlayersToPlay\", { gameId: game._id });\n }\n if (isGameSourceGroup(currentPlay.source)) {\n expectedPlayersToPlay = getGroupOfPlayers(players, currentPlay.source);\n } else if (isGameSourceRole(currentPlay.source)) {\n expectedPlayersToPlay = getPlayersWithCurrentRole(players, currentPlay.source);\n } else {\n expectedPlayersToPlay = getPlayersWithAttribute(players, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n }\n if (!mustIncludeDeadPlayersGamePlayActions.includes(currentPlay.action)) {\n expectedPlayersToPlay = expectedPlayersToPlay.filter(player => player.isAlive);\n }\n return expectedPlayersToPlay.map(player => createPlayer(player));\n}\n\nexport {\n getPlayerDtoWithRole,\n getPlayerWithCurrentRole,\n getPlayersWithCurrentRole,\n getPlayersWithCurrentSide,\n getPlayerWithId,\n getPlayerWithIdOrThrow,\n getAdditionalCardWithId,\n areAllWerewolvesAlive,\n areAllVillagersAlive,\n areAllPlayersDead,\n getPlayerWithAttribute,\n getPlayersWithAttribute,\n getAlivePlayers,\n getAliveVillagerSidedPlayers,\n getAliveWerewolfSidedPlayers,\n getLeftToCharmByPiedPiperPlayers,\n getLeftToEatByWerewolvesPlayers,\n getLeftToEatByWhiteWerewolfPlayers,\n getGroupOfPlayers,\n isGameSourceRole,\n isGameSourceGroup,\n getNonexistentPlayerId,\n getNonexistentPlayer,\n getFoxSniffedPlayers,\n getNearestAliveNeighbor,\n getExpectedPlayersToPlay,\n};" - }, - "src/modules/game/helpers/game.mutator.ts": { - "language": "typescript", - "mutants": [ + }, { - "id": "816", + "id": "826", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(12,105): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.mutator.ts(22,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", + "157", + "177", + "182", + "196", "201", - "202", + "203", + "205", "209", - "211", - "213", - "215", - "216", + "210", "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" + "219", + "221", + "223", + "224", + "339", + "391", + "567", + "785", + "786", + "787" ], "location": { "end": { "column": 2, - "line": 20 + "line": 30 }, "start": { - "column": 110, - "line": 12 + "column": 107, + "line": 22 } } }, { - "id": "817", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 10\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"ca661a2ccaa3b83d71d91ac4\",\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\": true,\n \"name\": \"Oswald\",\n \"position\": 3496473173950464,\n \"role\": PlayerRole {\n@@ -96,19 +104,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"cf2e316bdfdaddae522d0acd\",\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\": false,\n \"name\": \"Dejuan\",\n \"position\": 7148351229263872,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 33, + "id": "827", + "mutatorName": "BooleanLiteral", + "replacement": "player", + "statusReason": "src/modules/game/helpers/game.mutator.ts(28,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(29,39): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Partial'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "149" - ], + "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", + "157", + "177", + "182", + "196", "201", - "202", + "203", + "205", "209", - "211", - "213", - "215", - "216", + "210", "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" + "219", + "221", + "223", + "224", + "339", + "391", + "567", + "785", + "786", + "787" ], "location": { "end": { - "column": 105, - "line": 14 + "column": 14, + "line": 25 }, "start": { - "column": 50, - "line": 14 + "column": 7, + "line": 25 } } }, { - "id": "818", + "id": "828", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 17\n+ Received + 17\n\n@@ -78,37 +78,37 @@\n },\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n- \"_id\": \"a08e6e413eda9fcdcad291e5\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": false,\n- \"name\": \"Vito\",\n- \"position\": 8322900060798976,\n- \"role\": PlayerRole {\n- \"current\": \"wild-child\",\n- \"isRevealed\": true,\n- \"original\": \"vile-father-of-wolves\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Player {\n \"_id\": \"8e79ccffea6adcc8cb8946d9\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n \"remainingPhases\": undefined,\n \"source\": \"sheriff\",\n },\n ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Sydnee\",\n+ \"position\": 8120628936704000,\n+ \"role\": PlayerRole {\n+ \"current\": \"pied-piper\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager-villager\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ Player {\n+ \"_id\": \"8e79ccffea6adcc8cb8946d9\",\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Sydnee\",\n \"position\": 8120628936704000,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:322:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 33, + "statusReason": "src/modules/game/helpers/game.mutator.ts(28,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(29,39): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "149" - ], + "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", + "157", + "177", + "182", + "196", "201", - "202", + "203", + "205", "209", - "211", - "213", - "215", - "216", + "210", "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" + "219", + "221", + "223", + "224", + "339", + "391", + "567", + "785", + "786", + "787" ], "location": { "end": { - "column": 105, - "line": 14 + "column": 14, + "line": 25 }, "start": { - "column": 60, - "line": 14 + "column": 7, + "line": 25 } } }, { - "id": "819", + "id": "829", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 10\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"8e2cb43febfaff8ed753084c\",\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\": \"Carlie\",\n \"position\": 4345286199607296,\n \"role\": PlayerRole {\n@@ -96,19 +104,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"ffcabd2a9ebbbaec54cced55\",\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\": false,\n \"name\": \"Merlin\",\n \"position\": 5462527219597312,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 33, + "statusReason": "src/modules/game/helpers/game.mutator.ts(28,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(29,39): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "149" - ], + "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", + "157", + "177", + "182", + "196", "201", - "202", + "203", + "205", "209", - "211", - "213", - "215", - "216", + "210", "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" + "219", + "221", + "223", + "224", + "339", + "391", + "567", + "785", + "786", + "787" ], "location": { "end": { - "column": 105, - "line": 14 + "column": 14, + "line": 25 }, "start": { - "column": 60, - "line": 14 + "column": 7, + "line": 25 } } }, { - "id": "820", - "mutatorName": "EqualityOperator", - "replacement": "player._id.toString() !== playerId.toString()", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 17\n+ Received + 17\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"c3e9eafdfc65ebfe0e58ae1a\",\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\": \"Orlo\",\n \"position\": 6943785082683392,\n \"role\": PlayerRole {\n@@ -95,32 +103,24 @@\n \"current\": \"villagers\",\n \"original\": \"werewolves\",\n },\n },\n Player {\n- \"_id\": \"3bfbbd03f9cabcaeb9ebc60e\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"sheriff\",\n- },\n- ],\n+ \"_id\": \"c3e9eafdfc65ebfe0e58ae1a\",\n+ \"attributes\": Array [],\n \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Brenna\",\n- \"position\": 7809057788264448,\n+ \"isAlive\": false,\n+ \"name\": \"Orlo\",\n+ \"position\": 6943785082683392,\n \"role\": PlayerRole {\n- \"current\": \"ancient\",\n+ \"current\": \"stuttering-judge\",\n \"isRevealed\": true,\n- \"original\": \"raven\",\n+ \"original\": \"stuttering-judge\",\n },\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"0f12b3a72cac3dfe95cf631c\",\n \"attributes\": Array [],\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 33, + "id": "830", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.mutator.ts(26,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(27,39): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "149" + "killedBy": [], + "coveredBy": [ + "785" ], + "location": { + "end": { + "column": 4, + "line": 27 + }, + "start": { + "column": 16, + "line": 25 + } + } + }, + { + "id": "831", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.mutator.ts(32,106): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", + "191", "213", "215", - "216", - "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" + "400", + "788", + "789", + "790" ], "location": { "end": { - "column": 105, - "line": 14 + "column": 2, + "line": 41 }, "start": { - "column": 60, - "line": 14 + "column": 111, + "line": 32 } } }, { - "id": "821", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Unexpected exception in revealPlayerRole\"\nReceived message: \"Cannot convert undefined or null to object\"\n\n 69 | stryCov_9fa48(\"801\");\n 70 | const clonedPlayer = cloneDeep(clonedGame.players[playerIdx]);\n > 71 | clonedGame.players.splice(playerIdx, 1, createPlayer(Object.assign(clonedPlayer, playerDataToUpdate)));\n | ^\n 72 | }\n 73 | }\n 74 | return clonedGame;\n\n at updatePlayerInGame (src/modules/game/helpers/game.mutator.ts:71:69)\n at PlayerKillerService.revealPlayerRole (src/modules/game/providers/services/player/player-killer.service.ts:139:38)\n at tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:242:61\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:242:84)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:242:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 33, + "id": "832", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.mutator.ts(34,3): error TS2322: Type 'void[]' is not assignable to type 'Player[]'.\n Type 'void' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "337" - ], + "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", + "191", "213", "215", - "216", - "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" + "400", + "788", + "789", + "790" ], "location": { "end": { - "column": 23, - "line": 15 + "column": 4, + "line": 39 }, "start": { - "column": 7, - "line": 15 + "column": 57, + "line": 34 } } }, { - "id": "822", + "id": "833", "mutatorName": "ConditionalExpression", - "replacement": "false", + "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" - ], - "location": { - "end": { - "column": 23, - "line": 15 - }, - "start": { - "column": 7, - "line": 15 - } - } - }, - { - "id": "823", - "mutatorName": "EqualityOperator", - "replacement": "playerIdx === -1", - "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/sandbox9682209/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:737:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 33, - "static": false, - "killedBy": [ - "557" - ], - "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", + "191", "213", "215", - "216", - "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" + "400", + "788", + "789", + "790" ], "location": { "end": { - "column": 23, - "line": 15 + "column": 39, + "line": 35 }, "start": { - "column": 7, - "line": 15 + "column": 9, + "line": 35 } } }, { - "id": "824", - "mutatorName": "UnaryOperator", - "replacement": "+1", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -96,19 +96,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"6d7f4d0920c3bda57a4cfe1e\",\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\": \"Cooper\",\n \"position\": 8457821358129152,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 33, + "id": "834", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, - "killedBy": [ - "149" - ], + "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", + "191", "213", "215", - "216", - "217", - "218", - "329", - "330", - "331", - "337", - "338", - "368", - "383", - "557", - "772", - "773", - "774", - "776", - "777", - "782", - "783" + "400", + "788", + "789", + "790" ], "location": { "end": { - "column": 23, - "line": 15 + "column": 39, + "line": 35 }, "start": { - "column": 21, - "line": 15 + "column": 9, + "line": 35 } } }, { - "id": "825", + "id": "835", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 1\n\n@@ -78,17 +78,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Object {\n \"_id\": \"db8ecbee6eece562afea86ff\",\n- \"attributes\": Array [\n- Object {\n- \"name\": \"seen\",\n- \"remainingPhases\": 1,\n- \"source\": \"seer\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Israel\",\n \"position\": 6038071627743232,\n \"role\": Object {\n \"current\": \"werewolf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9682209/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:738:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 24\n+ Received + 2\n\n@@ -96,22 +96,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"d5c99b1bca28b96d6374c451\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": PlayerAttributeActivation {\n- \"phase\": \"day\",\n- \"turn\": 1264477817274369,\n- },\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 2,\n- \"source\": \"scapegoat\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Gianni\",\n \"position\": 4026054203146240,\n \"role\": PlayerRole {\n@@ -124,22 +113,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"bbb0db757eefa1d5e8b7c2ac\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": PlayerAttributeActivation {\n- \"phase\": \"day\",\n- \"turn\": 1264477817274369,\n- },\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 2,\n- \"source\": \"scapegoat\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Thaddeus\",\n \"position\": 7386967180312576,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1199:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 31, + "testsCompleted": 6, "static": false, "killedBy": [ - "557" + "191" ], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", + "191", "213", "215", - "216", - "217", - "218", - "329", - "330", - "331", - "338", - "368", - "383", - "557", - "773", - "774", - "776", - "777", - "782", - "783" + "400", + "789", + "790" ], "location": { "end": { - "column": 4, - "line": 18 + "column": 6, + "line": 37 }, "start": { - "column": 25, - "line": 15 + "column": 41, + "line": 35 } } }, { - "id": "826", + "id": "836", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(22,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.mutator.ts(43,122): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "331", - "383", - "557", - "775", - "776", - "777" + "157", + "791", + "792", + "793" ], "location": { "end": { "column": 2, - "line": 30 + "line": 51 }, "start": { - "column": 107, - "line": 22 + "column": 127, + "line": 43 } } }, { - "id": "827", + "id": "837", "mutatorName": "BooleanLiteral", "replacement": "player", - "statusReason": "src/modules/game/helpers/game.mutator.ts(28,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(29,39): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Partial'.\n", + "statusReason": "src/modules/game/helpers/game.mutator.ts(49,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(49,23): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(50,39): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Partial'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "331", - "383", - "557", - "775", - "776", - "777" + "157", + "791", + "792", + "793" ], "location": { "end": { "column": 14, - "line": 25 + "line": 46 }, "start": { "column": 7, - "line": 25 + "line": 46 } } }, { - "id": "828", + "id": "838", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/helpers/game.mutator.ts(28,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(29,39): 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", + "statusReason": "src/modules/game/helpers/game.mutator.ts(49,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(49,23): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(50,39): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "331", - "383", - "557", - "775", - "776", - "777" + "157", + "791", + "792", + "793" ], "location": { "end": { "column": 14, - "line": 25 + "line": 46 }, "start": { "column": 7, - "line": 25 + "line": 46 } } }, { - "id": "829", + "id": "839", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/helpers/game.mutator.ts(28,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(29,39): 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", + "statusReason": "src/modules/game/helpers/game.mutator.ts(49,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(49,23): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(50,39): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "188", - "193", - "195", - "197", - "201", - "202", - "209", - "211", - "213", - "215", - "216", - "331", - "383", - "557", - "775", - "776", - "777" + "157", + "791", + "792", + "793" ], "location": { "end": { "column": 14, - "line": 25 + "line": 46 }, "start": { "column": 7, - "line": 25 + "line": 46 } } }, { - "id": "830", + "id": "840", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(26,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(27,39): 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", + "statusReason": "src/modules/game/helpers/game.mutator.ts(47,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(47,23): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(48,39): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "775" + "791" ], "location": { "end": { "column": 4, - "line": 27 + "line": 48 }, "start": { "column": 16, - "line": 25 + "line": 46 } } }, { - "id": "831", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(32,106): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "841", + "mutatorName": "MethodExpression", + "replacement": "player.attributes", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "183", - "205", - "207", - "392", - "778", - "779", - "780" + "157", + "792", + "793" ], "location": { "end": { - "column": 2, - "line": 41 + "column": 85, + "line": 49 }, "start": { - "column": 111, - "line": 32 + "column": 23, + "line": 49 } } }, { - "id": "832", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(34,3): error TS2322: Type 'void[]' is not assignable to type 'Player[]'.\n Type 'void' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "842", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -93,19 +93,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"c89bde994bb2e9fdf25bf07b\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"charmed\",\n- \"remainingPhases\": undefined,\n- \"source\": \"pied-piper\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Abbey\",\n \"position\": 5131676814409728,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/helpers/game.mutator.spec.ts:166:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "792" + ], "coveredBy": [ - "183", - "205", - "207", - "392", - "778", - "779", - "780" + "157", + "792", + "793" ], "location": { "end": { - "column": 4, - "line": 39 + "column": 84, + "line": 49 }, "start": { - "column": 57, - "line": 34 + "column": 48, + "line": 49 } } }, { - "id": "833", + "id": "843", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "183", - "205", - "207", - "392", - "778", - "779", - "780" + "157", + "792", + "793" ], "location": { "end": { - "column": 39, - "line": 35 + "column": 84, + "line": 49 }, "start": { - "column": 9, - "line": 35 + "column": 62, + "line": 49 } } }, { - "id": "834", + "id": "844", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "183", - "205", - "207", - "392", - "778", - "779", - "780" + "157", + "792", + "793" ], "location": { "end": { - "column": 39, - "line": 35 + "column": 84, + "line": 49 }, "start": { - "column": 9, - "line": 35 + "column": 62, + "line": 49 } } }, { - "id": "835", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 24\n+ Received + 2\n\n@@ -96,22 +96,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"d5c99b1bca28b96d6374c451\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": PlayerAttributeActivation {\n- \"phase\": \"day\",\n- \"turn\": 1264477817274369,\n- },\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 2,\n- \"source\": \"scapegoat\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Gianni\",\n \"position\": 4026054203146240,\n \"role\": PlayerRole {\n@@ -124,22 +113,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"bbb0db757eefa1d5e8b7c2ac\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": PlayerAttributeActivation {\n- \"phase\": \"day\",\n- \"turn\": 1264477817274369,\n- },\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 2,\n- \"source\": \"scapegoat\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Thaddeus\",\n \"position\": 7386967180312576,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1199:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "845", + "mutatorName": "EqualityOperator", + "replacement": "name === attributeName", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"418fb5ffbc7f7b21d4d0e2bc\",\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\": \"Clint\",\n \"position\": 2148253954998272,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:322:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "183" + "157" ], "coveredBy": [ - "183", - "205", - "207", - "392", - "779", - "780" + "157", + "792", + "793" ], "location": { "end": { - "column": 6, - "line": 37 + "column": 84, + "line": 49 }, "start": { - "column": 41, - "line": 35 + "column": 62, + "line": 49 } } }, { - "id": "836", + "id": "846", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(43,122): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.mutator.ts(53,69): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "149", - "781", - "782", - "783" + "161", + "162", + "163", + "165", + "166", + "167", + "168", + "169", + "176", + "383", + "384", + "395", + "405", + "566", + "794", + "795" ], "location": { "end": { "column": 2, - "line": 51 + "line": 57 }, "start": { - "column": 127, - "line": 43 + "column": 74, + "line": 53 } } }, { - "id": "837", - "mutatorName": "BooleanLiteral", - "replacement": "player", - "statusReason": "src/modules/game/helpers/game.mutator.ts(49,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(49,23): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(50,39): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Partial'.\n", + "id": "847", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.mutator.ts(59,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": [ - "149", - "781", - "782", - "783" + "174", + "796", + "797" ], "location": { "end": { - "column": 14, - "line": 46 - }, - "start": { - "column": 7, - "line": 46 - } - } - }, - { - "id": "838", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/helpers/game.mutator.ts(49,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(49,23): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(50,39): 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", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "149", - "781", - "782", - "783" - ], - "location": { - "end": { - "column": 14, - "line": 46 - }, - "start": { - "column": 7, - "line": 46 - } - } - }, - { - "id": "839", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/helpers/game.mutator.ts(49,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(49,23): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(50,39): 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", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "149", - "781", - "782", - "783" - ], - "location": { - "end": { - "column": 14, - "line": 46 - }, - "start": { - "column": 7, - "line": 46 - } - } - }, - { - "id": "840", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(47,3): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(47,23): error TS18048: 'player' is possibly 'undefined'.\nsrc/modules/game/helpers/game.mutator.ts(48,39): 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", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "781" - ], - "location": { - "end": { - "column": 4, - "line": 48 - }, - "start": { - "column": 16, - "line": 46 - } - } - }, - { - "id": "841", - "mutatorName": "MethodExpression", - "replacement": "player.attributes", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "149", - "782", - "783" - ], - "location": { - "end": { - "column": 85, - "line": 49 - }, - "start": { - "column": 23, - "line": 49 - } - } - }, - { - "id": "842", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -93,19 +93,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"c89bde994bb2e9fdf25bf07b\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"charmed\",\n- \"remainingPhases\": undefined,\n- \"source\": \"pied-piper\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Abbey\",\n \"position\": 5131676814409728,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/helpers/game.mutator.spec.ts:166:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "782" - ], - "coveredBy": [ - "149", - "782", - "783" - ], - "location": { - "end": { - "column": 84, - "line": 49 - }, - "start": { - "column": 48, - "line": 49 - } - } - }, - { - "id": "843", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "149", - "782", - "783" - ], - "location": { - "end": { - "column": 84, - "line": 49 - }, - "start": { - "column": 62, - "line": 49 - } - } - }, - { - "id": "844", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "149", - "782", - "783" - ], - "location": { - "end": { - "column": 84, - "line": 49 - }, - "start": { - "column": 62, - "line": 49 - } - } - }, - { - "id": "845", - "mutatorName": "EqualityOperator", - "replacement": "name === attributeName", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"418fb5ffbc7f7b21d4d0e2bc\",\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\": \"Clint\",\n \"position\": 2148253954998272,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:322:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "149" - ], - "coveredBy": [ - "149", - "782", - "783" - ], - "location": { - "end": { - "column": 84, - "line": 49 - }, - "start": { - "column": 62, - "line": 49 - } - } - }, - { - "id": "846", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(53,69): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", - "161", - "168", - "375", - "376", - "387", - "397", - "556", - "784", - "785" - ], - "location": { - "end": { - "column": 2, - "line": 57 - }, - "start": { - "column": 74, - "line": 53 - } - } - }, - { - "id": "847", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.mutator.ts(59,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": [ - "166", - "786", - "787" - ], - "location": { - "end": { - "column": 2, - "line": 63 + "column": 2, + "line": 63 }, "start": { "column": 73, @@ -31697,8 +31724,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "383", - "732" + "391", + "742" ], "location": { "end": { @@ -31720,8 +31747,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "383", - "732" + "391", + "742" ], "location": { "end": { @@ -31743,7 +31770,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "733" + "743" ], "location": { "end": { @@ -31765,7 +31792,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "733" + "743" ], "location": { "end": { @@ -31787,8 +31814,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "205", - "734" + "213", + "744" ], "location": { "end": { @@ -31810,8 +31837,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "205", - "734" + "213", + "744" ], "location": { "end": { @@ -31833,8 +31860,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "331", - "735" + "339", + "745" ], "location": { "end": { @@ -31856,8 +31883,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "331", - "735" + "339", + "745" ], "location": { "end": { @@ -31879,8 +31906,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "183", - "736" + "191", + "746" ], "location": { "end": { @@ -31902,8 +31929,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "183", - "736" + "191", + "746" ], "location": { "end": { @@ -31925,8 +31952,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "183", - "736" + "191", + "746" ], "location": { "end": { @@ -31947,8 +31974,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "183", - "736" + "191", + "746" ], "location": { "end": { @@ -31970,8 +31997,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "193", - "737" + "201", + "747" ], "location": { "end": { @@ -31993,8 +32020,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "193", - "737" + "201", + "747" ], "location": { "end": { @@ -32015,8 +32042,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "193", - "737" + "201", + "747" ], "location": { "end": { @@ -32038,10 +32065,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "341", - "367", - "392", - "738" + "349", + "375", + "400", + "748" ], "location": { "end": { @@ -32063,10 +32090,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "341", - "367", - "392", - "738" + "349", + "375", + "400", + "748" ], "location": { "end": { @@ -32087,10 +32114,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "341", - "367", - "392", - "738" + "349", + "375", + "400", + "748" ], "location": { "end": { @@ -32112,13 +32139,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "188", - "364", - "365", - "366", - "367", - "368", - "739" + "196", + "372", + "373", + "374", + "375", + "376", + "749" ], "location": { "end": { @@ -32140,13 +32167,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "188", - "364", - "365", - "366", - "367", - "368", - "739" + "196", + "372", + "373", + "374", + "375", + "376", + "749" ], "location": { "end": { @@ -32168,8 +32195,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "207", - "740" + "215", + "750" ], "location": { "end": { @@ -32191,8 +32218,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "207", - "740" + "215", + "750" ], "location": { "end": { @@ -32214,8 +32241,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "195", - "741" + "203", + "751" ], "location": { "end": { @@ -32237,8 +32264,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "195", - "741" + "203", + "751" ], "location": { "end": { @@ -32260,8 +32287,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "197", - "742" + "205", + "752" ], "location": { "end": { @@ -32283,8 +32310,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "197", - "742" + "205", + "752" ], "location": { "end": { @@ -32306,9 +32333,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "201", - "202", - "743" + "209", + "210", + "753" ], "location": { "end": { @@ -32330,9 +32357,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "201", - "202", - "743" + "209", + "210", + "753" ], "location": { "end": { @@ -32354,9 +32381,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "201", - "202", - "744" + "209", + "210", + "754" ], "location": { "end": { @@ -32378,9 +32405,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "201", - "202", - "744" + "209", + "210", + "754" ], "location": { "end": { @@ -32402,8 +32429,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "213", - "745" + "221", + "755" ], "location": { "end": { @@ -32425,8 +32452,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "213", - "745" + "221", + "755" ], "location": { "end": { @@ -32448,8 +32475,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "211", - "746" + "219", + "756" ], "location": { "end": { @@ -32471,8 +32498,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "211", - "746" + "219", + "756" ], "location": { "end": { @@ -32494,11 +32521,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "215", - "216", - "217", - "218", - "747" + "223", + "224", + "225", + "226", + "757" ], "location": { "end": { @@ -32520,11 +32547,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "215", - "216", - "217", - "218", - "747" + "223", + "224", + "225", + "226", + "757" ], "location": { "end": { @@ -32546,9 +32573,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "209", - "557", - "748" + "217", + "567", + "758" ], "location": { "end": { @@ -32570,9 +32597,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "209", - "557", - "748" + "217", + "567", + "758" ], "location": { "end": { @@ -32594,8 +32621,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "149", - "749" + "157", + "759" ], "location": { "end": { @@ -32617,8 +32644,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "149", - "749" + "157", + "759" ], "location": { "end": { @@ -32639,8 +32666,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "149", - "749" + "157", + "759" ], "location": { "end": { @@ -32662,9 +32689,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "169", - "174", - "750" + "177", + "182", + "760" ], "location": { "end": { @@ -32686,9 +32713,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "169", - "174", - "750" + "177", + "182", + "760" ], "location": { "end": { @@ -32710,12 +32737,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "169" + "177" ], "coveredBy": [ - "169", - "174", - "750" + "177", + "182", + "760" ], "location": { "end": { @@ -32737,45 +32764,35 @@ "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "183", - "188", - "193", - "195", - "197", + "157", + "177", + "182", + "191", + "196", "201", - "202", + "203", "205", - "207", "209", - "211", + "210", "213", "215", - "216", "217", - "218", - "331", - "341", - "364", - "365", - "366", - "367", - "368", - "383", - "392", - "557", - "732", - "733", - "734", - "735", - "736", - "737", - "738", - "739", - "740", - "741", + "219", + "221", + "223", + "224", + "225", + "226", + "339", + "349", + "372", + "373", + "374", + "375", + "376", + "391", + "400", + "567", "742", "743", "744", @@ -32786,10 +32803,20 @@ "749", "750", "751", - "776", - "777", - "779", - "780" + "752", + "753", + "754", + "755", + "756", + "757", + "758", + "759", + "760", + "761", + "786", + "787", + "789", + "790" ], "location": { "end": { @@ -32817,15 +32844,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "793", - "795", - "796", - "834", - "835", - "836", - "837", - "838", - "839" + "803", + "805", + "806", + "844", + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -32847,18 +32874,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "835" + "845" ], "coveredBy": [ - "793", - "795", - "796", - "834", - "835", - "836", - "837", - "838", - "839" + "803", + "805", + "806", + "844", + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -32880,18 +32907,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "834" + "844" ], "coveredBy": [ - "793", - "795", - "796", - "834", - "835", - "836", - "837", - "838", - "839" + "803", + "805", + "806", + "844", + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -32913,15 +32940,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "793", - "795", - "796", - "834", - "835", - "836", - "837", - "838", - "839" + "803", + "805", + "806", + "844", + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -32943,15 +32970,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "793", - "795", - "796", - "834", - "835", - "836", - "837", - "838", - "839" + "803", + "805", + "806", + "844", + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -32973,15 +33000,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "793", - "795", - "796", - "834", - "835", - "836", - "837", - "838", - "839" + "803", + "805", + "806", + "844", + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -33003,15 +33030,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "793", - "795", - "796", - "834", - "835", - "836", - "837", - "838", - "839" + "803", + "805", + "806", + "844", + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -33033,15 +33060,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "793", - "795", - "796", - "834", - "835", - "836", - "837", - "838", - "839" + "803", + "805", + "806", + "844", + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -33062,11 +33089,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "835", - "836", - "837", - "838", - "839" + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -33088,14 +33115,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "837" + "847" ], "coveredBy": [ - "835", - "836", - "837", - "838", - "839" + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -33117,14 +33144,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "835" + "845" ], "coveredBy": [ - "835", - "836", - "837", - "838", - "839" + "845", + "846", + "847", + "848", + "849" ], "location": { "end": { @@ -33145,10 +33172,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "835", - "837", - "838", - "839" + "845", + "847", + "848", + "849" ], "location": { "end": { @@ -33170,13 +33197,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "835" + "845" ], "coveredBy": [ - "835", - "837", - "838", - "839" + "845", + "847", + "848", + "849" ], "location": { "end": { @@ -33198,13 +33225,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "835" + "845" ], "coveredBy": [ - "835", - "837", - "838", - "839" + "845", + "847", + "848", + "849" ], "location": { "end": { @@ -33225,10 +33252,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "835", - "837", - "838", - "839" + "845", + "847", + "848", + "849" ], "location": { "end": { @@ -33249,9 +33276,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "837", - "838", - "839" + "847", + "848", + "849" ], "location": { "end": { @@ -33273,12 +33300,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "838" + "848" ], "coveredBy": [ - "837", - "838", - "839" + "847", + "848", + "849" ], "location": { "end": { @@ -33300,12 +33327,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "838" + "848" ], "coveredBy": [ - "837", - "838", - "839" + "847", + "848", + "849" ], "location": { "end": { @@ -33327,12 +33354,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "837" + "847" ], "coveredBy": [ - "837", - "838", - "839" + "847", + "848", + "849" ], "location": { "end": { @@ -33354,11 +33381,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "839" + "849" ], "coveredBy": [ - "837", - "839" + "847", + "849" ], "location": { "end": { @@ -33380,11 +33407,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "837" + "847" ], "coveredBy": [ - "837", - "839" + "847", + "849" ], "location": { "end": { @@ -33406,10 +33433,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "757", - "758", - "840", - "841" + "767", + "768", + "850", + "851" ], "location": { "end": { @@ -33431,13 +33458,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "840" + "850" ], "coveredBy": [ - "757", - "758", - "840", - "841" + "767", + "768", + "850", + "851" ], "location": { "end": { @@ -33458,10 +33485,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "757", - "758", - "840", - "841" + "767", + "768", + "850", + "851" ], "location": { "end": { @@ -33483,13 +33510,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "840" + "850" ], "coveredBy": [ - "757", - "758", - "840", - "841" + "767", + "768", + "850", + "851" ], "location": { "end": { @@ -33511,13 +33538,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "840" + "850" ], "coveredBy": [ - "757", - "758", - "840", - "841" + "767", + "768", + "850", + "851" ], "location": { "end": { @@ -33545,8 +33572,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "790", - "797" + "800", + "807" ], "location": { "end": { @@ -33568,8 +33595,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "790", - "797" + "800", + "807" ], "location": { "end": { @@ -33591,8 +33618,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "372", - "798" + "380", + "808" ], "location": { "end": { @@ -33614,8 +33641,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "372", - "798" + "380", + "808" ], "location": { "end": { @@ -33637,8 +33664,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "394", - "799" + "402", + "809" ], "location": { "end": { @@ -33660,8 +33687,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "394", - "799" + "402", + "809" ], "location": { "end": { @@ -33683,8 +33710,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "156", - "800" + "164", + "810" ], "location": { "end": { @@ -33706,8 +33733,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "156", - "800" + "164", + "810" ], "location": { "end": { @@ -33729,8 +33756,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "147", - "801" + "155", + "811" ], "location": { "end": { @@ -33752,8 +33779,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "147", - "801" + "155", + "811" ], "location": { "end": { @@ -33775,8 +33802,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "167", - "802" + "175", + "812" ], "location": { "end": { @@ -33798,8 +33825,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "167", - "802" + "175", + "812" ], "location": { "end": { @@ -33821,8 +33848,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "199", - "803" + "207", + "813" ], "location": { "end": { @@ -33844,8 +33871,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "199", - "803" + "207", + "813" ], "location": { "end": { @@ -33867,7 +33894,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "804" + "814" ], "location": { "end": { @@ -33889,7 +33916,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "804" + "814" ], "location": { "end": { @@ -33911,7 +33938,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "805" + "815" ], "location": { "end": { @@ -33933,7 +33960,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "805" + "815" ], "location": { "end": { @@ -33955,8 +33982,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "788", - "806" + "798", + "816" ], "location": { "end": { @@ -33978,8 +34005,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "788", - "806" + "798", + "816" ], "location": { "end": { @@ -34001,8 +34028,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "789", - "807" + "799", + "817" ], "location": { "end": { @@ -34024,8 +34051,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "789", - "807" + "799", + "817" ], "location": { "end": { @@ -34047,29 +34074,29 @@ "static": false, "killedBy": [], "coveredBy": [ - "147", - "156", - "167", - "199", - "329", - "372", - "394", - "404", - "788", - "789", - "790", - "797", + "155", + "164", + "175", + "207", + "337", + "380", + "402", + "412", "798", "799", "800", - "801", - "802", - "803", - "804", - "805", - "806", "807", - "808" + "808", + "809", + "810", + "811", + "812", + "813", + "814", + "815", + "816", + "817", + "818" ], "location": { "end": { @@ -34097,45 +34124,45 @@ "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", + "157", + "177", + "182", + "189", + "194", + "196", "201", - "202", + "203", + "205", "209", - "211", - "213", - "215", - "216", + "210", "217", - "218", - "329", - "330", - "331", + "219", + "221", + "223", + "224", + "225", + "226", + "337", "338", - "368", - "383", - "440", - "511", - "512", - "514", - "515", - "516", - "556", - "557", - "669", - "773", - "774", - "776", - "777", - "782", - "783" + "339", + "346", + "376", + "391", + "450", + "521", + "522", + "524", + "525", + "526", + "566", + "567", + "679", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { @@ -34156,45 +34183,45 @@ "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", + "157", + "177", + "182", + "189", + "194", + "196", "201", - "202", + "203", + "205", "209", - "211", - "213", - "215", - "216", + "210", "217", - "218", - "329", - "330", - "331", + "219", + "221", + "223", + "224", + "225", + "226", + "337", "338", - "368", - "383", - "440", - "511", - "512", - "514", - "515", - "516", - "556", - "557", - "669", - "773", - "774", - "776", - "777", - "782", - "783" + "339", + "346", + "376", + "391", + "450", + "521", + "522", + "524", + "525", + "526", + "566", + "567", + "679", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { @@ -34215,45 +34242,45 @@ "static": false, "killedBy": [], "coveredBy": [ - "149", - "169", - "174", - "181", - "186", - "188", - "193", - "195", - "197", + "157", + "177", + "182", + "189", + "194", + "196", "201", - "202", + "203", + "205", "209", - "211", - "213", - "215", - "216", + "210", "217", - "218", - "329", - "330", - "331", + "219", + "221", + "223", + "224", + "225", + "226", + "337", "338", - "368", - "383", - "440", - "511", - "512", - "514", - "515", - "516", - "556", - "557", - "669", - "773", - "774", - "776", - "777", - "782", - "783" + "339", + "346", + "376", + "391", + "450", + "521", + "522", + "524", + "525", + "526", + "566", + "567", + "679", + "783", + "784", + "786", + "787", + "792", + "793" ], "location": { "end": { @@ -34289,80 +34316,79 @@ "10", "25", "27", - "42", "44", "45", - "123", - "124", - "149", - "153", - "154", - "155", - "156", + "109", + "110", + "111", + "112", + "113", + "114", + "115", + "116", + "131", + "132", "157", - "158", - "159", - "160", "161", "162", - "219", - "220", - "224", - "225", - "226", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "227", + "228", + "232", + "233", "234", - "235", - "236", - "237", - "238", + "242", + "243", + "244", "245", "246", - "252", "253", - "257", - "258", - "259", + "254", "260", "261", + "265", + "266", + "267", "268", "269", - "270", - "271", - "281", - "282", - "283", - "284", - "285", - "286", - "312", - "313", - "315", - "316", - "319", + "276", + "277", + "278", + "279", + "289", + "290", + "291", + "292", + "293", + "294", "320", + "321", "323", "324", - "329", - "341", - "342", - "343", - "348", + "327", + "328", + "331", + "332", + "337", "349", "350", "351", - "352", - "353", - "354", - "355", "356", + "357", + "358", + "359", + "360", + "361", + "362", + "363", "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", "372", "373", "374", @@ -34370,90 +34396,101 @@ "376", "377", "378", + "379", "380", "381", "382", "383", + "384", "385", "386", - "387", + "388", "389", "390", "391", - "392", "393", "394", - "396", + "395", "397", - "430", - "431", - "432", - "433", - "434", - "435", - "475", - "476", - "477", - "478", - "482", - "483", + "398", + "399", + "400", + "401", + "402", + "404", + "405", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "485", "486", "487", - "513", - "514", - "556", - "557", - "603", - "604", - "605", - "606", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "565", + "566", + "567", "613", "614", "615", "616", - "617", - "618", - "619", + "623", "624", "625", "626", "627", "628", + "629", + "634", + "635", + "636", "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "670", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "678", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", "679", "680", "681", - "755", - "756", - "757", - "758", - "809", - "810", - "811", - "812", - "814", - "815", - "816", - "818", - "819" + "682", + "683", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "819", + "820", + "821", + "822", + "824", + "825", + "826", + "828", + "829" ], "location": { "end": { @@ -34475,7 +34512,7 @@ "testsCompleted": 154, "static": false, "killedBy": [ - "603" + "613" ], "coveredBy": [ "7", @@ -34483,80 +34520,79 @@ "10", "25", "27", - "42", "44", "45", - "123", - "124", - "149", - "153", - "154", - "155", - "156", + "109", + "110", + "111", + "112", + "113", + "114", + "115", + "116", + "131", + "132", "157", - "158", - "159", - "160", "161", "162", - "219", - "220", - "224", - "225", - "226", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "227", + "228", + "232", + "233", "234", - "235", - "236", - "237", - "238", + "242", + "243", + "244", "245", "246", - "252", "253", - "257", - "258", - "259", + "254", "260", "261", + "265", + "266", + "267", "268", "269", - "270", - "271", - "281", - "282", - "283", - "284", - "285", - "286", - "312", - "313", - "315", - "316", - "319", + "276", + "277", + "278", + "279", + "289", + "290", + "291", + "292", + "293", + "294", "320", + "321", "323", "324", - "329", - "341", - "342", - "343", - "348", + "327", + "328", + "331", + "332", + "337", "349", "350", "351", - "352", - "353", - "354", - "355", "356", + "357", + "358", + "359", + "360", + "361", + "362", + "363", "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", "372", "373", "374", @@ -34564,90 +34600,101 @@ "376", "377", "378", + "379", "380", "381", "382", "383", + "384", "385", "386", - "387", + "388", "389", "390", "391", - "392", "393", "394", - "396", + "395", "397", - "430", - "431", - "432", - "433", - "434", - "435", - "475", - "476", - "477", - "478", - "482", - "483", + "398", + "399", + "400", + "401", + "402", + "404", + "405", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "485", "486", "487", - "513", - "514", - "556", - "557", - "603", - "604", - "605", - "606", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "565", + "566", + "567", "613", "614", "615", "616", - "617", - "618", - "619", + "623", "624", "625", "626", "627", "628", + "629", + "634", + "635", + "636", "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "670", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "678", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", "679", "680", "681", - "755", - "756", - "757", - "758", - "809", - "810", - "811", - "812", - "814", - "815", - "816", - "818", - "819" + "682", + "683", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "819", + "820", + "821", + "822", + "824", + "825", + "826", + "828", + "829" ], "location": { "end": { @@ -34661,103 +34708,321 @@ } }, { - "id": "952", - "mutatorName": "EqualityOperator", - "replacement": "name !== attributeName", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"add2b871c96b5ec1ca09c97d\",\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\": true,\n \"name\": \"London\",\n \"position\": 8326784481230848,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 86, + "id": "950", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", "static": false, - "killedBy": [ - "149" - ], + "killedBy": [], "coveredBy": [ "7", "10", - "149", - "155", - "158", - "159", - "220", - "226", - "235", - "237", - "238", + "109", + "112", + "157", + "163", + "166", + "167", + "228", + "234", + "243", "245", - "252", - "257", - "268", - "313", - "316", - "319", + "246", + "253", + "260", + "265", + "276", + "321", "324", - "341", - "350", - "352", - "353", - "354", - "355", - "365", - "366", - "367", - "368", - "370", - "371", - "372", + "327", + "332", + "349", + "358", + "360", + "361", + "362", + "363", "373", "374", "375", "376", - "377", "378", + "379", "380", + "381", + "382", + "383", + "384", "385", - "389", - "396", - "430", - "475", - "476", - "477", - "478", - "482", - "483", + "386", + "388", + "393", + "397", + "404", + "438", + "485", "486", "487", - "513", - "514", - "557", - "604", - "605", - "606", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "567", "614", "615", "616", - "617", - "618", - "619", "624", - "637", - "641", - "642", - "669", - "671", - "672", - "673", - "674", - "675", - "676", - "677", + "625", + "626", + "627", + "628", + "629", + "634", + "647", + "651", + "652", "679", - "680", "681", - "755", - "756", - "757", - "758", - "810", - "811", - "812", - "818" + "682", + "683", + "684", + "685", + "686", + "687", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "820", + "821", + "822", + "828" + ], + "location": { + "end": { + "column": 67, + "line": 6 + }, + "start": { + "column": 45, + "line": 6 + } + } + }, + { + "id": "951", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "7", + "10", + "109", + "112", + "157", + "163", + "166", + "167", + "228", + "234", + "243", + "245", + "246", + "253", + "260", + "265", + "276", + "321", + "324", + "327", + "332", + "349", + "358", + "360", + "361", + "362", + "363", + "373", + "374", + "375", + "376", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "388", + "393", + "397", + "404", + "438", + "485", + "486", + "487", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "567", + "614", + "615", + "616", + "624", + "625", + "626", + "627", + "628", + "629", + "634", + "647", + "651", + "652", + "679", + "681", + "682", + "683", + "684", + "685", + "686", + "687", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "820", + "821", + "822", + "828" + ], + "location": { + "end": { + "column": 67, + "line": 6 + }, + "start": { + "column": 45, + "line": 6 + } + } + }, + { + "id": "952", + "mutatorName": "EqualityOperator", + "replacement": "name !== attributeName", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"add2b871c96b5ec1ca09c97d\",\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\": true,\n \"name\": \"London\",\n \"position\": 8326784481230848,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:328:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 86, + "static": false, + "killedBy": [ + "157" + ], + "coveredBy": [ + "7", + "10", + "109", + "112", + "157", + "163", + "166", + "167", + "228", + "234", + "243", + "245", + "246", + "253", + "260", + "265", + "276", + "321", + "324", + "327", + "332", + "349", + "358", + "360", + "361", + "362", + "363", + "373", + "374", + "375", + "376", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "388", + "393", + "397", + "404", + "438", + "485", + "486", + "487", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "567", + "614", + "615", + "616", + "624", + "625", + "626", + "627", + "628", + "629", + "634", + "647", + "651", + "652", + "679", + "681", + "682", + "683", + "684", + "685", + "686", + "687", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "820", + "821", + "822", + "828" ], "location": { "end": { @@ -34779,12 +35044,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "812", - "813", - "814", - "815", - "816" + "233", + "822", + "823", + "824", + "825", + "826" ], "location": { "end": { @@ -34805,12 +35070,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "812", - "813", - "814", - "815", - "816" + "233", + "822", + "823", + "824", + "825", + "826" ], "location": { "end": { @@ -34831,12 +35096,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "812", - "813", - "814", - "815", - "816" + "233", + "822", + "823", + "824", + "825", + "826" ], "location": { "end": { @@ -34857,12 +35122,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "812", - "813", - "814", - "815", - "816" + "233", + "822", + "823", + "824", + "825", + "826" ], "location": { "end": { @@ -34883,10 +35148,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "814", - "815", - "816" + "233", + "824", + "825", + "826" ], "location": { "end": { @@ -34907,10 +35172,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "814", - "815", - "816" + "233", + "824", + "825", + "826" ], "location": { "end": { @@ -34931,10 +35196,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "814", - "815", - "816" + "233", + "824", + "825", + "826" ], "location": { "end": { @@ -34955,9 +35220,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "814", - "816" + "233", + "824", + "826" ], "location": { "end": { @@ -34978,9 +35243,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "225", - "814", - "816" + "233", + "824", + "826" ], "location": { "end": { @@ -34994,155 +35259,546 @@ } }, { - "id": "967", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 6\n+ Received + 1\n\n@@ -146,13 +146,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 376638051188737,\n \"turn\": 3779499091034112,\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/sandbox6009138/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:698:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 54, + "id": "963", + "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", + "status": "CompileError", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "24", "25", "27", - "122", - "123", - "124", - "154", - "155", - "156", - "219", - "220", - "224", - "225", - "226", + "131", + "132", + "163", + "164", + "227", + "228", + "232", + "233", "234", - "235", - "236", + "243", "244", - "245", - "246", - "252", "253", - "256", - "257", - "258", - "259", + "254", "260", "261", + "265", + "266", "267", "268", "269", - "270", - "271", - "280", - "281", - "282", - "283", - "284", - "285", - "286", - "318", - "319", + "276", + "277", + "278", + "279", + "289", + "290", + "291", + "292", + "293", + "294", "320", - "556", - "557", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "642", - "812", - "813", - "814", - "815", - "816", - "817", - "818", - "819" - ], - "location": { - "end": { - "column": 52, - "line": 18 - }, - "start": { - "column": 10, - "line": 18 - } - } - }, - { - "id": "969", - "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", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "820", - "821" + "321", + "323", + "324", + "327", + "328", + "566", + "567", + "625", + "626", + "627", + "628", + "629", + "647", + "652", + "822", + "824", + "825", + "826", + "828", + "829" ], "location": { "end": { "column": 2, - "line": 23 - }, - "start": { - "column": 60, - "line": 21 - } - } - }, - { - "id": "970", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "820", - "821" - ], - "location": { - "end": { - "column": 55, - "line": 22 + "line": 15 }, "start": { - "column": 10, - "line": 22 + "column": 52, + "line": 13 } } }, { - "id": "971", - "mutatorName": "ConditionalExpression", - "replacement": "false", + "id": "964", + "mutatorName": "BooleanLiteral", + "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "820", - "821" - ], - "location": { - "end": { - "column": 55, - "line": 22 - }, - "start": { - "column": 10, - "line": 22 - } + "25", + "27", + "131", + "132", + "163", + "164", + "227", + "228", + "232", + "233", + "234", + "243", + "244", + "253", + "254", + "260", + "261", + "265", + "266", + "267", + "268", + "269", + "276", + "277", + "278", + "279", + "289", + "290", + "291", + "292", + "293", + "294", + "320", + "321", + "323", + "324", + "327", + "328", + "566", + "567", + "625", + "626", + "627", + "628", + "629", + "647", + "652", + "822", + "824", + "825", + "826", + "828", + "829" + ], + "location": { + "end": { + "column": 76, + "line": 14 + }, + "start": { + "column": 10, + "line": 14 + } + } + }, + { + "id": "965", + "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", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "24", + "25", + "27", + "130", + "131", + "132", + "162", + "163", + "164", + "227", + "228", + "232", + "233", + "234", + "242", + "243", + "244", + "252", + "253", + "254", + "260", + "261", + "264", + "265", + "266", + "267", + "268", + "269", + "275", + "276", + "277", + "278", + "279", + "288", + "289", + "290", + "291", + "292", + "293", + "294", + "326", + "327", + "328", + "566", + "567", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "652", + "822", + "823", + "824", + "825", + "826", + "827", + "828", + "829" + ], + "location": { + "end": { + "column": 2, + "line": 19 + }, + "start": { + "column": 60, + "line": 17 + } + } + }, + { + "id": "966", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "24", + "25", + "27", + "130", + "131", + "132", + "162", + "163", + "164", + "227", + "228", + "232", + "233", + "234", + "242", + "243", + "244", + "252", + "253", + "254", + "260", + "261", + "264", + "265", + "266", + "267", + "268", + "269", + "275", + "276", + "277", + "278", + "279", + "288", + "289", + "290", + "291", + "292", + "293", + "294", + "326", + "327", + "328", + "566", + "567", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "652", + "822", + "823", + "824", + "825", + "826", + "827", + "828", + "829" + ], + "location": { + "end": { + "column": 52, + "line": 18 + }, + "start": { + "column": 10, + "line": 18 + } + } + }, + { + "id": "967", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 6\n+ Received + 1\n\n@@ -146,13 +146,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 376638051188737,\n \"turn\": 3779499091034112,\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/sandbox6009138/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:698:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 54, + "static": false, + "killedBy": [ + "566" + ], + "coveredBy": [ + "24", + "25", + "27", + "130", + "131", + "132", + "162", + "163", + "164", + "227", + "228", + "232", + "233", + "234", + "242", + "243", + "244", + "252", + "253", + "254", + "260", + "261", + "264", + "265", + "266", + "267", + "268", + "269", + "275", + "276", + "277", + "278", + "279", + "288", + "289", + "290", + "291", + "292", + "293", + "294", + "326", + "327", + "328", + "566", + "567", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "652", + "822", + "823", + "824", + "825", + "826", + "827", + "828", + "829" + ], + "location": { + "end": { + "column": 52, + "line": 18 + }, + "start": { + "column": 10, + "line": 18 + } + } + }, + { + "id": "968", + "mutatorName": "LogicalOperator", + "replacement": "player.isAlive || isPlayerPowerful(player)", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "24", + "25", + "27", + "130", + "131", + "132", + "162", + "163", + "164", + "227", + "228", + "232", + "233", + "234", + "242", + "243", + "244", + "252", + "253", + "254", + "260", + "261", + "264", + "265", + "266", + "267", + "268", + "269", + "275", + "276", + "277", + "278", + "279", + "288", + "289", + "290", + "291", + "292", + "293", + "294", + "326", + "327", + "328", + "566", + "567", + "624", + "625", + "626", + "627", + "628", + "629", + "647", + "652", + "822", + "823", + "824", + "825", + "826", + "827", + "828", + "829" + ], + "location": { + "end": { + "column": 52, + "line": 18 + }, + "start": { + "column": 10, + "line": 18 + } + } + }, + { + "id": "969", + "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", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "830", + "831" + ], + "location": { + "end": { + "column": 2, + "line": 23 + }, + "start": { + "column": 60, + "line": 21 + } + } + }, + { + "id": "970", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "830", + "831" + ], + "location": { + "end": { + "column": 55, + "line": 22 + }, + "start": { + "column": 10, + "line": 22 + } + } + }, + { + "id": "971", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "830", + "831" + ], + "location": { + "end": { + "column": 55, + "line": 22 + }, + "start": { + "column": 10, + "line": 22 + } } }, { @@ -35153,8 +35809,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "820", - "821" + "830", + "831" ], "location": { "end": { @@ -35176,8 +35832,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "822", - "823" + "832", + "833" ], "location": { "end": { @@ -35198,8 +35854,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "822", - "823" + "832", + "833" ], "location": { "end": { @@ -35220,8 +35876,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "822", - "823" + "832", + "833" ], "location": { "end": { @@ -35242,8 +35898,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "822", - "823" + "832", + "833" ], "location": { "end": { @@ -35269,80 +35925,79 @@ "10", "25", "27", - "42", "44", "45", - "123", - "124", - "149", - "153", - "154", - "155", - "156", + "109", + "110", + "111", + "112", + "113", + "114", + "115", + "116", + "131", + "132", "157", - "158", - "159", - "160", "161", "162", - "219", - "220", - "224", - "225", - "226", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "227", + "228", + "232", + "233", "234", - "235", - "236", - "237", - "238", + "242", + "243", + "244", "245", "246", - "252", "253", - "257", - "258", - "259", + "254", "260", "261", + "265", + "266", + "267", "268", "269", - "270", - "271", - "281", - "282", - "283", - "284", - "285", - "286", - "312", - "313", - "315", - "316", - "319", + "276", + "277", + "278", + "279", + "289", + "290", + "291", + "292", + "293", + "294", "320", + "321", "323", "324", - "329", - "341", - "342", - "343", - "348", + "327", + "328", + "331", + "332", + "337", "349", "350", "351", - "352", - "353", - "354", - "355", "356", + "357", + "358", + "359", + "360", + "361", + "362", + "363", "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", "372", "373", "374", @@ -35350,90 +36005,101 @@ "376", "377", "378", + "379", "380", "381", "382", "383", + "384", "385", "386", - "387", + "388", "389", "390", "391", - "392", "393", "394", - "396", + "395", "397", - "430", - "431", - "432", - "433", - "434", - "435", - "475", - "476", - "477", - "478", - "482", - "483", + "398", + "399", + "400", + "401", + "402", + "404", + "405", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "485", "486", "487", - "513", - "514", - "556", - "557", - "603", - "604", - "605", - "606", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "565", + "566", + "567", "613", "614", "615", "616", - "617", - "618", - "619", + "623", "624", "625", "626", "627", "628", + "629", + "634", + "635", + "636", "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "670", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "678", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", "679", "680", "681", - "755", - "756", - "757", - "758", - "809", - "810", - "811", - "812", - "814", - "815", - "816", - "818", - "819" + "682", + "683", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "819", + "820", + "821", + "822", + "824", + "825", + "826", + "828", + "829" ], "location": { "end": { @@ -35446,160 +36112,6 @@ } } }, - { - "id": "963", - "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", - "status": "CompileError", - "static": false, - "coveredBy": [ - "25", - "27", - "123", - "124", - "155", - "156", - "219", - "220", - "224", - "225", - "226", - "235", - "236", - "245", - "246", - "252", - "253", - "257", - "258", - "259", - "260", - "261", - "268", - "269", - "270", - "271", - "281", - "282", - "283", - "284", - "285", - "286", - "312", - "313", - "315", - "316", - "319", - "320", - "556", - "557", - "615", - "616", - "617", - "618", - "619", - "637", - "642", - "812", - "814", - "815", - "816", - "818", - "819" - ], - "location": { - "end": { - "column": 2, - "line": 15 - }, - "start": { - "column": 52, - "line": 13 - } - } - }, - { - "id": "965", - "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", - "status": "CompileError", - "static": false, - "coveredBy": [ - "24", - "25", - "27", - "122", - "123", - "124", - "154", - "155", - "156", - "219", - "220", - "224", - "225", - "226", - "234", - "235", - "236", - "244", - "245", - "246", - "252", - "253", - "256", - "257", - "258", - "259", - "260", - "261", - "267", - "268", - "269", - "270", - "271", - "280", - "281", - "282", - "283", - "284", - "285", - "286", - "318", - "319", - "320", - "556", - "557", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "642", - "812", - "813", - "814", - "815", - "816", - "817", - "818", - "819" - ], - "location": { - "end": { - "column": 2, - "line": 19 - }, - "start": { - "column": 60, - "line": 17 - } - } - }, { "id": "947", "mutatorName": "ConditionalExpression", @@ -35612,80 +36124,79 @@ "10", "25", "27", - "42", "44", "45", - "123", - "124", - "149", - "153", - "154", - "155", - "156", + "109", + "110", + "111", + "112", + "113", + "114", + "115", + "116", + "131", + "132", "157", - "158", - "159", - "160", "161", "162", - "219", - "220", - "224", - "225", - "226", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "227", + "228", + "232", + "233", "234", - "235", - "236", - "237", - "238", + "242", + "243", + "244", "245", "246", - "252", "253", - "257", - "258", - "259", + "254", "260", "261", + "265", + "266", + "267", "268", "269", - "270", - "271", - "281", - "282", - "283", - "284", - "285", - "286", - "312", - "313", - "315", - "316", - "319", + "276", + "277", + "278", + "279", + "289", + "290", + "291", + "292", + "293", + "294", "320", + "321", "323", "324", - "329", - "341", - "342", - "343", - "348", + "327", + "328", + "331", + "332", + "337", "349", "350", "351", - "352", - "353", - "354", - "355", "356", + "357", + "358", + "359", + "360", + "361", + "362", + "363", "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", "372", "373", "374", @@ -35693,308 +36204,109 @@ "376", "377", "378", + "379", "380", "381", "382", "383", + "384", "385", "386", - "387", + "388", "389", "390", "391", - "392", "393", "394", - "396", + "395", "397", - "430", - "431", - "432", - "433", - "434", - "435", - "475", - "476", - "477", - "478", - "482", - "483", + "398", + "399", + "400", + "401", + "402", + "404", + "405", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "485", "486", "487", - "513", - "514", - "556", - "557", - "603", - "604", - "605", - "606", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "565", + "566", + "567", "613", "614", "615", "616", - "617", - "618", - "619", + "623", "624", "625", "626", "627", "628", + "629", + "634", + "635", + "636", "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "670", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "678", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", "679", "680", "681", - "755", - "756", - "757", - "758", - "809", - "810", - "811", - "812", - "814", - "815", - "816", - "818", - "819" - ], - "location": { - "end": { - "column": 75, - "line": 6 - }, - "start": { - "column": 10, - "line": 6 - } - } - }, - { - "id": "951", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", - "static": false, - "coveredBy": [ - "7", - "10", - "149", - "155", - "158", - "159", - "220", - "226", - "235", - "237", - "238", - "245", - "252", - "257", - "268", - "313", - "316", - "319", - "324", - "341", - "350", - "352", - "353", - "354", - "355", - "365", - "366", - "367", - "368", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "380", - "385", - "389", - "396", - "430", - "475", - "476", - "477", - "478", - "482", - "483", - "486", - "487", - "513", - "514", - "557", - "604", - "605", - "606", - "614", - "615", - "616", - "617", - "618", - "619", - "624", - "637", - "641", - "642", - "669", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "679", - "680", - "681", - "755", - "756", - "757", - "758", - "810", - "811", - "812", - "818" - ], - "location": { - "end": { - "column": 67, - "line": 6 - }, - "start": { - "column": 45, - "line": 6 - } - } - }, - { - "id": "950", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", - "static": false, - "coveredBy": [ - "7", - "10", - "149", - "155", - "158", - "159", - "220", - "226", - "235", - "237", - "238", - "245", - "252", - "257", - "268", - "313", - "316", - "319", - "324", - "341", - "350", - "352", - "353", - "354", - "355", - "365", - "366", - "367", - "368", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "380", - "385", - "389", - "396", - "430", - "475", - "476", - "477", - "478", - "482", - "483", - "486", - "487", - "513", - "514", - "557", - "604", - "605", - "606", - "614", - "615", - "616", - "617", - "618", - "619", - "624", - "637", - "641", - "642", - "669", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "679", - "680", - "681", - "755", - "756", - "757", - "758", - "810", - "811", - "812", - "818" + "682", + "683", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "819", + "820", + "821", + "822", + "824", + "825", + "826", + "828", + "829" ], "location": { "end": { - "column": 67, + "column": 75, "line": 6 }, "start": { - "column": 45, + "column": 10, "line": 6 } } @@ -36011,80 +36323,79 @@ "10", "25", "27", - "42", "44", "45", - "123", - "124", - "149", - "153", - "154", - "155", - "156", + "109", + "110", + "111", + "112", + "113", + "114", + "115", + "116", + "131", + "132", "157", - "158", - "159", - "160", "161", "162", - "219", - "220", - "224", - "225", - "226", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "227", + "228", + "232", + "233", "234", - "235", - "236", - "237", - "238", + "242", + "243", + "244", "245", "246", - "252", "253", - "257", - "258", - "259", + "254", "260", "261", + "265", + "266", + "267", "268", "269", - "270", - "271", - "281", - "282", - "283", - "284", - "285", - "286", - "312", - "313", - "315", - "316", - "319", + "276", + "277", + "278", + "279", + "289", + "290", + "291", + "292", + "293", + "294", "320", + "321", "323", "324", - "329", - "341", - "342", - "343", - "348", + "327", + "328", + "331", + "332", + "337", "349", "350", "351", - "352", - "353", - "354", - "355", "356", + "357", + "358", + "359", + "360", + "361", + "362", + "363", "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", "372", "373", "374", @@ -36092,90 +36403,101 @@ "376", "377", "378", + "379", "380", "381", "382", "383", + "384", "385", "386", - "387", + "388", "389", "390", "391", - "392", "393", "394", - "396", + "395", "397", - "430", - "431", - "432", - "433", - "434", - "435", - "475", - "476", - "477", - "478", - "482", - "483", + "398", + "399", + "400", + "401", + "402", + "404", + "405", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "485", "486", "487", - "513", - "514", - "556", - "557", - "603", - "604", - "605", - "606", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "565", + "566", + "567", "613", "614", "615", "616", - "617", - "618", - "619", + "623", "624", "625", "626", "627", "628", + "629", + "634", + "635", + "636", "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "670", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "678", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", "679", "680", "681", - "755", - "756", - "757", - "758", - "809", - "810", - "811", - "812", - "814", - "815", - "816", - "818", - "819" + "682", + "683", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "819", + "820", + "821", + "822", + "824", + "825", + "826", + "828", + "829" ], "location": { "end": { @@ -36200,80 +36522,79 @@ "10", "25", "27", - "42", "44", "45", - "123", - "124", - "149", - "153", - "154", - "155", - "156", + "109", + "110", + "111", + "112", + "113", + "114", + "115", + "116", + "131", + "132", "157", - "158", - "159", - "160", "161", "162", - "219", - "220", - "224", - "225", - "226", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "227", + "228", + "232", + "233", "234", - "235", - "236", - "237", - "238", + "242", + "243", + "244", "245", "246", - "252", "253", - "257", - "258", - "259", + "254", "260", "261", + "265", + "266", + "267", "268", "269", - "270", - "271", - "281", - "282", - "283", - "284", - "285", - "286", - "312", - "313", - "315", - "316", - "319", + "276", + "277", + "278", + "279", + "289", + "290", + "291", + "292", + "293", + "294", "320", + "321", "323", "324", - "329", - "341", - "342", - "343", - "348", + "327", + "328", + "331", + "332", + "337", "349", "350", "351", - "352", - "353", - "354", - "355", "356", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", + "357", + "358", + "359", + "360", + "361", + "362", + "363", + "364", "372", "373", "374", @@ -36281,90 +36602,101 @@ "376", "377", "378", + "379", "380", "381", "382", "383", + "384", "385", "386", - "387", + "388", "389", "390", "391", - "392", "393", "394", - "396", + "395", "397", - "430", - "431", - "432", - "433", - "434", - "435", - "475", - "476", - "477", - "478", - "482", - "483", + "398", + "399", + "400", + "401", + "402", + "404", + "405", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "485", "486", "487", - "513", - "514", - "556", - "557", - "603", - "604", - "605", - "606", + "488", + "492", + "493", + "496", + "497", + "523", + "524", + "565", + "566", + "567", "613", "614", "615", "616", - "617", - "618", - "619", + "623", "624", "625", "626", "627", "628", + "629", + "634", + "635", + "636", "637", "638", - "640", - "641", - "642", - "643", - "644", - "645", - "646", - "669", - "670", - "671", - "672", - "673", - "674", - "675", - "676", - "677", - "678", + "647", + "648", + "650", + "651", + "652", + "653", + "654", + "655", + "656", "679", "680", "681", - "755", - "756", - "757", - "758", - "809", - "810", - "811", - "812", - "814", - "815", - "816", - "818", - "819" + "682", + "683", + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691", + "765", + "766", + "767", + "768", + "819", + "820", + "821", + "822", + "824", + "825", + "826", + "828", + "829" ], "location": { "end": { @@ -36376,238 +36708,6 @@ "line": 6 } } - }, - { - "id": "964", - "mutatorName": "BooleanLiteral", - "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", - "status": "Timeout", - "static": false, - "coveredBy": [ - "25", - "27", - "123", - "124", - "155", - "156", - "219", - "220", - "224", - "225", - "226", - "235", - "236", - "245", - "246", - "252", - "253", - "257", - "258", - "259", - "260", - "261", - "268", - "269", - "270", - "271", - "281", - "282", - "283", - "284", - "285", - "286", - "312", - "313", - "315", - "316", - "319", - "320", - "556", - "557", - "615", - "616", - "617", - "618", - "619", - "637", - "642", - "812", - "814", - "815", - "816", - "818", - "819" - ], - "location": { - "end": { - "column": 76, - "line": 14 - }, - "start": { - "column": 10, - "line": 14 - } - } - }, - { - "id": "966", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", - "static": false, - "coveredBy": [ - "24", - "25", - "27", - "122", - "123", - "124", - "154", - "155", - "156", - "219", - "220", - "224", - "225", - "226", - "234", - "235", - "236", - "244", - "245", - "246", - "252", - "253", - "256", - "257", - "258", - "259", - "260", - "261", - "267", - "268", - "269", - "270", - "271", - "280", - "281", - "282", - "283", - "284", - "285", - "286", - "318", - "319", - "320", - "556", - "557", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "642", - "812", - "813", - "814", - "815", - "816", - "817", - "818", - "819" - ], - "location": { - "end": { - "column": 52, - "line": 18 - }, - "start": { - "column": 10, - "line": 18 - } - } - }, - { - "id": "968", - "mutatorName": "LogicalOperator", - "replacement": "player.isAlive || isPlayerPowerful(player)", - "status": "Timeout", - "static": false, - "coveredBy": [ - "24", - "25", - "27", - "122", - "123", - "124", - "154", - "155", - "156", - "219", - "220", - "224", - "225", - "226", - "234", - "235", - "236", - "244", - "245", - "246", - "252", - "253", - "256", - "257", - "258", - "259", - "260", - "261", - "267", - "268", - "269", - "270", - "271", - "280", - "281", - "282", - "283", - "284", - "285", - "286", - "318", - "319", - "320", - "556", - "557", - "614", - "615", - "616", - "617", - "618", - "619", - "637", - "642", - "812", - "813", - "814", - "815", - "816", - "817", - "818", - "819" - ], - "location": { - "end": { - "column": 52, - "line": 18 - }, - "start": { - "column": 10, - "line": 18 - } - } } ], "source": "import { ROLE_SIDES } from \"../../../role/enums/role.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES } from \"../../enums/player.enum\";\nimport type { Player } from \"../../schemas/player/player.schema\";\n\nfunction doesPlayerHaveAttribute({ attributes }: Player, attributeName: PLAYER_ATTRIBUTE_NAMES): boolean {\n return attributes.findIndex(({ name }) => name === attributeName) !== -1;\n}\n\nfunction canPiedPiperCharm(piedPiperPlayer: Player, isPowerlessIfInfected: boolean): boolean {\n return isPlayerAliveAndPowerful(piedPiperPlayer) && (!isPowerlessIfInfected || piedPiperPlayer.side.current === ROLE_SIDES.VILLAGERS);\n}\n\nfunction isPlayerPowerful(player: Player): boolean {\n return !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.POWERLESS);\n}\n\nfunction isPlayerAliveAndPowerful(player: Player): boolean {\n return player.isAlive && isPlayerPowerful(player);\n}\n\nfunction isPlayerOnWerewolvesSide(player: Player): boolean {\n return player.side.current === ROLE_SIDES.WEREWOLVES;\n}\n\nfunction isPlayerOnVillagersSide(player: Player): boolean {\n return player.side.current === ROLE_SIDES.VILLAGERS;\n}\n\nexport {\n doesPlayerHaveAttribute,\n canPiedPiperCharm,\n isPlayerPowerful,\n isPlayerAliveAndPowerful,\n isPlayerOnWerewolvesSide,\n isPlayerOnVillagersSide,\n};" @@ -36624,10 +36724,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "560", - "561", - "562", - "563" + "570", + "571", + "572", + "573" ], "location": { "end": { @@ -36649,13 +36749,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "560" + "570" ], "coveredBy": [ - "560", - "561", - "562", - "563" + "570", + "571", + "572", + "573" ], "location": { "end": { @@ -36677,17 +36777,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "564", - "565", "566", "567", - "568", - "569", - "570", - "571", - "572" + "574", + "575", + "576", + "577", + "578", + "579", + "580", + "581", + "582" ], "location": { "end": { @@ -36709,9 +36809,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "573", - "574", - "575" + "583", + "584", + "585" ], "location": { "end": { @@ -36733,12 +36833,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "573" + "583" ], "coveredBy": [ - "573", - "574", - "575" + "583", + "584", + "585" ], "location": { "end": { @@ -36760,12 +36860,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "575" + "585" ], "coveredBy": [ - "573", - "574", - "575" + "583", + "584", + "585" ], "location": { "end": { @@ -36786,9 +36886,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "573", - "574", - "575" + "583", + "584", + "585" ], "location": { "end": { @@ -36810,12 +36910,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "575" + "585" ], "coveredBy": [ - "573", - "574", - "575" + "583", + "584", + "585" ], "location": { "end": { @@ -36837,10 +36937,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "576", - "577", - "578", - "579" + "586", + "587", + "588", + "589" ], "location": { "end": { @@ -36861,10 +36961,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "576", - "577", - "578", - "579" + "586", + "587", + "588", + "589" ], "location": { "end": { @@ -36885,10 +36985,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "576", - "577", - "578", - "579" + "586", + "587", + "588", + "589" ], "location": { "end": { @@ -36909,10 +37009,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "576", - "577", - "578", - "579" + "586", + "587", + "588", + "589" ], "location": { "end": { @@ -36934,13 +37034,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "579" + "589" ], "coveredBy": [ - "576", - "577", - "578", - "579" + "586", + "587", + "588", + "589" ], "location": { "end": { @@ -36962,11 +37062,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "580", - "581", - "582", - "583", - "584" + "590", + "591", + "592", + "593", + "594" ], "location": { "end": { @@ -36987,11 +37087,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "580", - "581", - "582", - "583", - "584" + "590", + "591", + "592", + "593", + "594" ], "location": { "end": { @@ -37013,8 +37113,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "585", - "586" + "595", + "596" ], "location": { "end": { @@ -37036,11 +37136,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "585" + "595" ], "coveredBy": [ - "585", - "586" + "595", + "596" ], "location": { "end": { @@ -37061,8 +37161,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "585", - "586" + "595", + "596" ], "location": { "end": { @@ -37084,8 +37184,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "587", - "588" + "597", + "598" ], "location": { "end": { @@ -37107,11 +37207,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "587" + "597" ], "coveredBy": [ - "587", - "588" + "597", + "598" ], "location": { "end": { @@ -37132,8 +37232,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "587", - "588" + "597", + "598" ], "location": { "end": { @@ -37155,8 +37255,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "589", - "590" + "599", + "600" ], "location": { "end": { @@ -37177,8 +37277,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "589", - "590" + "599", + "600" ], "location": { "end": { @@ -37200,7 +37300,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "591" + "601" ], "location": { "end": { @@ -37222,10 +37322,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "591" + "601" ], "coveredBy": [ - "591" + "601" ], "location": { "end": { @@ -37247,10 +37347,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "591" + "601" ], "coveredBy": [ - "591" + "601" ], "location": { "end": { @@ -37271,7 +37371,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "591" + "601" ], "location": { "end": { @@ -37292,7 +37392,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "591" + "601" ], "location": { "end": { @@ -37314,10 +37414,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "591" + "601" ], "coveredBy": [ - "591" + "601" ], "location": { "end": { @@ -37339,10 +37439,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "591" + "601" ], "coveredBy": [ - "591" + "601" ], "location": { "end": { @@ -37364,8 +37464,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "592", - "593" + "602", + "603" ], "location": { "end": { @@ -37386,8 +37486,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "592", - "593" + "602", + "603" ], "location": { "end": { @@ -37408,8 +37508,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "592", - "593" + "602", + "603" ], "location": { "end": { @@ -37431,11 +37531,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "593" + "603" ], "coveredBy": [ - "592", - "593" + "602", + "603" ], "location": { "end": { @@ -37457,11 +37557,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "593" + "603" ], "coveredBy": [ - "592", - "593" + "602", + "603" ], "location": { "end": { @@ -37489,8 +37589,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "517", - "518" + "527", + "528" ], "location": { "end": { @@ -37512,21 +37612,21 @@ "static": false, "killedBy": [], "coveredBy": [ - "530", - "531", - "547", - "548", - "549", - "551", - "552", - "553", - "554", - "555", - "556", + "540", + "541", "557", + "558", "559", - "560", - "561" + "561", + "562", + "563", + "564", + "565", + "566", + "567", + "569", + "570", + "571" ], "location": { "end": { @@ -37548,8 +37648,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", - "545" + "554", + "555" ], "location": { "end": { @@ -37571,9 +37671,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "549", - "556", - "557" + "559", + "566", + "567" ], "location": { "end": { @@ -37594,9 +37694,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "549", - "556", - "557" + "559", + "566", + "567" ], "location": { "end": { @@ -37617,9 +37717,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "549", - "556", - "557" + "559", + "566", + "567" ], "location": { "end": { @@ -37647,9 +37747,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "407", - "556", - "557" + "415", + "566", + "567" ], "location": { "end": { @@ -37671,7 +37771,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "408" + "416" ], "location": { "end": { @@ -37693,7 +37793,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "409" + "417" ], "location": { "end": { @@ -37715,8 +37815,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "410", - "411" + "418", + "419" ], "location": { "end": { @@ -37738,7 +37838,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "412" + "420" ], "location": { "end": { @@ -37760,7 +37860,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "413" + "421" ], "location": { "end": { @@ -37782,7 +37882,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "414" + "422" ], "location": { "end": { @@ -37804,7 +37904,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "415" + "423" ], "location": { "end": { @@ -37826,7 +37926,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "416" + "424" ], "location": { "end": { @@ -37848,15 +37948,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "556", - "557" + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "566", + "567" ], "location": { "end": { @@ -37878,18 +37978,18 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "418" + "426" ], "coveredBy": [ - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "556", - "557" + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "566", + "567" ], "location": { "end": { @@ -37911,18 +38011,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "556", - "557" + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "566", + "567" ], "location": { "end": { @@ -37944,18 +38044,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "556", - "557" + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "566", + "567" ], "location": { "end": { @@ -37976,7 +38076,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "417" + "425" ], "location": { "end": { @@ -37997,7 +38097,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "417" + "425" ], "location": { "end": { @@ -38019,7 +38119,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "417" + "425" ], "location": { "end": { @@ -38041,14 +38141,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "418", - "419", - "420", - "421", - "422", - "423", - "556", - "557" + "426", + "427", + "428", + "429", + "430", + "431", + "566", + "567" ], "location": { "end": { @@ -38069,14 +38169,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "418", - "419", - "420", - "421", - "422", - "423", - "556", - "557" + "426", + "427", + "428", + "429", + "430", + "431", + "566", + "567" ], "location": { "end": { @@ -38098,17 +38198,17 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "422" + "430" ], "coveredBy": [ - "418", - "419", - "420", - "421", - "422", - "423", - "556", - "557" + "426", + "427", + "428", + "429", + "430", + "431", + "566", + "567" ], "location": { "end": { @@ -38129,8 +38229,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "422", - "556" + "430", + "566" ], "location": { "end": { @@ -38152,9 +38252,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "424", - "560", - "561" + "432", + "570", + "571" ], "location": { "end": { @@ -38176,10 +38276,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38201,13 +38301,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "425" + "433" ], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38229,13 +38329,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "425" + "433" ], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38256,10 +38356,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38281,13 +38381,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "425" + "433" ], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38309,13 +38409,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38337,13 +38437,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "425" + "433" ], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38365,13 +38465,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "425" + "433" ], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38393,10 +38493,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38418,13 +38518,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "425" + "433" ], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38446,13 +38546,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "425" + "433" ], "coveredBy": [ - "425", - "426", - "556", - "557" + "433", + "434", + "566", + "567" ], "location": { "end": { @@ -38474,10 +38574,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38499,13 +38599,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38527,13 +38627,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38555,13 +38655,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38583,13 +38683,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38611,13 +38711,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38639,13 +38739,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38667,13 +38767,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38695,13 +38795,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38723,13 +38823,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38751,10 +38851,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38776,13 +38876,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "427" + "435" ], "coveredBy": [ - "427", - "428", - "556", - "557" + "435", + "436", + "566", + "567" ], "location": { "end": { @@ -38804,9 +38904,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "429", - "556", - "557" + "437", + "566", + "567" ], "location": { "end": { @@ -38828,9 +38928,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "429", - "556", - "557" + "437", + "566", + "567" ], "location": { "end": { @@ -38843,53 +38943,27 @@ } } }, - { - "id": "1064", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(129,6): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" - ], - "location": { - "end": { - "column": 4, - "line": 149 - }, - "start": { - "column": 41, - "line": 133 - } - } - }, { "id": "1065", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"inconsequential\"\nReceived: \"death\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7361449/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:548:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: \"inconsequential\"\nReceived: \"death\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:608:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 9, "static": false, "killedBy": [ - "434" + "444" ], "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { @@ -38903,2032 +38977,2249 @@ } }, { - "id": "1066", + "id": "1080", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"sheriff-election\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:460:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], - "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "killedBy": [ + "438" ], - "location": { - "end": { - "column": 16, - "line": 138 - }, - "start": { - "column": 48, - "line": 135 - } - } - }, - { - "id": "1067", - "mutatorName": "EqualityOperator", - "replacement": "gameHistoryRecordToInsert.deadPlayers?.some(({\n death\n}) => {\n const deathFromVoteCauses = [PLAYER_DEATH_CAUSES.VOTE, PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED];\n return death?.cause !== undefined && deathFromVoteCauses.includes(death.cause);\n}) !== true", - "status": "Timeout", - "static": false, - "killedBy": [], "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 16, - "line": 138 + "column": 72, + "line": 139 }, "start": { - "column": 48, - "line": 135 + "column": 9, + "line": 139 } } }, { - "id": "1068", - "mutatorName": "MethodExpression", - "replacement": "gameHistoryRecordToInsert.deadPlayers?.every(({\n death\n}) => {\n const deathFromVoteCauses = [PLAYER_DEATH_CAUSES.VOTE, PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED];\n return death?.cause !== undefined && deathFromVoteCauses.includes(death.cause);\n})", - "status": "Timeout", + "id": "1082", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"sheriff-election\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:460:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "438" + ], "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "438", + "439" ], "location": { "end": { - "column": 7, - "line": 138 + "column": 6, + "line": 141 }, "start": { - "column": 48, - "line": 135 + "column": 74, + "line": 139 } } }, { - "id": "1069", - "mutatorName": "OptionalChaining", - "replacement": "gameHistoryRecordToInsert.deadPlayers.some", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(131,48): error TS18048: 'gameHistoryRecordToInsert.deadPlayers' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1087", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"skipped\"\nReceived: \"death\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:539:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "441" + ], "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 91, - "line": 135 + "column": 99, + "line": 142 }, "start": { - "column": 48, - "line": 135 + "column": 50, + "line": 142 } } }, { - "id": "1070", + "id": "1089", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:504:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: \"skipped\"\nReceived: \"death\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:516:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "432" + "440" ], "coveredBy": [ - "432", - "433", - "434", - "435" + "440", + "441" ], "location": { "end": { "column": 6, - "line": 138 + "line": 144 }, "start": { - "column": 107, - "line": 135 + "column": 101, + "line": 142 } } }, { - "id": "1071", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(132,73): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/player.enum\").PLAYER_DEATH_CAUSES' is not assignable to parameter of type 'never'.\n", - "status": "CompileError", + "id": "1093", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "432", - "433", - "434", - "435" + "444", + "445", + "566" ], "location": { "end": { - "column": 99, - "line": 136 + "column": 84, + "line": 148 }, "start": { - "column": 35, - "line": 136 + "column": 9, + "line": 148 } } }, { - "id": "1072", + "id": "1094", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"inconsequential\"\nReceived: \"death\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:548:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "false", + "status": "Timeout", "static": false, - "killedBy": [ - "434" - ], + "killedBy": [], "coveredBy": [ - "432", - "433", - "434", - "435" + "444", + "445", + "566" ], "location": { "end": { - "column": 85, - "line": 137 + "column": 84, + "line": 148 }, "start": { - "column": 14, - "line": 137 + "column": 9, + "line": 148 } } }, { - "id": "1073", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:504:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1095", + "mutatorName": "EqualityOperator", + "replacement": "baseGame.currentPlay.cause !== GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"inconsequential\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:608:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "432" + "444" ], "coveredBy": [ - "432", - "433", - "434", - "435" + "444", + "445", + "566" ], "location": { "end": { - "column": 85, - "line": 137 + "column": 84, + "line": 148 }, "start": { - "column": 14, - "line": 137 + "column": 9, + "line": 148 } } }, { - "id": "1074", - "mutatorName": "LogicalOperator", - "replacement": "death?.cause !== undefined || deathFromVoteCauses.includes(death.cause)", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(132,73): error TS18048: 'death' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1096", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "432", - "433", - "434", - "435" + "444" ], "location": { "end": { - "column": 85, - "line": 137 + "column": 6, + "line": 150 }, "start": { - "column": 14, - "line": 137 + "column": 86, + "line": 148 } } }, { - "id": "1075", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(132,51): error TS18048: 'death' is possibly 'undefined'.\n", + "id": "1097", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(150,6): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "432", - "433", - "434", - "435" + "446", + "447", + "448", + "449", + "566" ], "location": { "end": { - "column": 40, - "line": 137 + "column": 4, + "line": 166 }, "start": { - "column": 14, - "line": 137 + "column": 34, + "line": 158 } } }, { - "id": "1076", - "mutatorName": "EqualityOperator", - "replacement": "death?.cause === undefined", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(132,73): error TS18048: 'death' is possibly 'undefined'.\n", + "id": "1098", + "mutatorName": "LogicalOperator", + "replacement": "gameHistoryRecordToInsert.play.votes && []", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(152,75): error TS2345: Argument of type 'never[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "432", - "433", - "434", - "435" + "446", + "447", + "448", + "449", + "566" ], "location": { "end": { - "column": 40, - "line": 137 + "column": 61, + "line": 159 }, "start": { - "column": 14, - "line": 137 + "column": 19, + "line": 159 } } }, { - "id": "1077", - "mutatorName": "OptionalChaining", - "replacement": "death.cause", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(132,14): error TS18048: 'death' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(132,72): error TS18048: 'death' is possibly 'undefined'.\n", + "id": "1099", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(152,75): error TS2345: Argument of type 'GameHistoryRecordPlayVote[] | string[]' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'string[]' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'string' is not assignable to type 'MakeGamePlayVoteWithRelationsDto'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "432", - "433", - "434", - "435" + "446", + "447" ], "location": { "end": { - "column": 26, - "line": 137 + "column": 61, + "line": 159 }, "start": { - "column": 14, - "line": 137 + "column": 59, + "line": 159 } } }, { - "id": "1078", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "status": "Timeout", + "id": "1100", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(153,11): error TS2741: Property 'result' is missing in type '{}' but required in type 'GameHistoryRecordPlayVoting'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "446", + "447", + "448", + "449", + "566" ], "location": { "end": { - "column": 16, - "line": 138 + "column": 6, + "line": 164 }, "start": { - "column": 12, - "line": 138 + "column": 70, + "line": 161 } } }, { - "id": "1079", - "mutatorName": "ConditionalExpression", - "replacement": "true", + "id": "1101", + "mutatorName": "ObjectLiteral", + "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "446", + "447", + "448", + "449", + "566" ], "location": { "end": { - "column": 72, - "line": 139 + "column": 149, + "line": 165 }, "start": { - "column": 9, - "line": 139 + "column": 86, + "line": 165 } } }, { - "id": "1080", - "mutatorName": "ConditionalExpression", + "id": "1102", + "mutatorName": "BooleanLiteral", "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"sheriff-election\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:460:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7361449/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 5, "static": false, "killedBy": [ - "430" + "566" ], "coveredBy": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "446", + "447", + "448", + "449", + "566" ], "location": { "end": { - "column": 72, - "line": 139 + "column": 147, + "line": 165 }, "start": { - "column": 9, - "line": 139 + "column": 143, + "line": 165 } } }, { - "id": "1081", - "mutatorName": "EqualityOperator", - "replacement": "baseGame.currentPlay.action !== GAME_PLAY_ACTIONS.ELECT_SHERIFF", - "status": "Timeout", + "id": "1103", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(165,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": [ - "430", - "431", - "432", - "433", - "434", - "435", - "556" + "450", + "566", + "567" ], "location": { "end": { - "column": 72, - "line": 139 + "column": 4, + "line": 174 }, "start": { - "column": 9, - "line": 139 + "column": 122, + "line": 168 } } }, { - "id": "1082", - "mutatorName": "BlockStatement", + "id": "1104", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"sheriff-election\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:460:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(166,11): error TS2739: Type '{}' is missing the following properties from type 'GameHistoryRecordPlaySource': name, players\n", + "status": "CompileError", "static": false, - "killedBy": [ - "430" - ], + "killedBy": [], "coveredBy": [ - "430", - "431" + "450", + "566", + "567" ], "location": { "end": { "column": 6, - "line": 141 + "line": 172 }, "start": { - "column": 74, - "line": 139 + "column": 70, + "line": 169 } } }, { - "id": "1083", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "id": "1105", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "566" + ], "coveredBy": [ - "432", - "433", - "434", - "435", - "556" + "450", + "566", + "567" ], "location": { "end": { - "column": 43, - "line": 142 + "column": 149, + "line": 173 }, "start": { - "column": 9, - "line": 142 + "column": 86, + "line": 173 } } }, { - "id": "1084", - "mutatorName": "ConditionalExpression", + "id": "1106", + "mutatorName": "BooleanLiteral", "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7361449/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:504:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "432" + "566" ], "coveredBy": [ - "432", - "433", - "434", - "435", - "556" + "450", + "566", + "567" ], "location": { "end": { - "column": 43, - "line": 142 + "column": 147, + "line": 173 }, "start": { - "column": 9, - "line": 142 + "column": 143, + "line": 173 } } }, { - "id": "1085", + "id": "1107", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:504:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: ResourceNotFoundException\n\nReceived function did not throw\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7361449/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:732:109\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 9, "static": false, "killedBy": [ - "432" + "451" ], "coveredBy": [ - "432", - "433" + "451", + "452", + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 6, - "line": 144 + "column": 4, + "line": 196 }, "start": { - "column": 45, - "line": 142 + "column": 100, + "line": 176 } } }, { - "id": "1086", + "id": "1108", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"tie\"\nReceived: \"inconsequential\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:570:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(176,66): error TS18048: 'unmatchedSource' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(180,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(184,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "435" - ], + "killedBy": [], "coveredBy": [ - "434", - "435", - "556" + "451", + "452", + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 84, - "line": 145 + "column": 24, + "line": 178 }, "start": { "column": 9, - "line": 145 + "line": 178 } } }, { - "id": "1087", + "id": "1109", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"inconsequential\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7361449/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:548:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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-history/game-history-record.service.ts(176,66): error TS18048: 'unmatchedSource' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "434" - ], + "killedBy": [], "coveredBy": [ - "434", - "435", - "556" + "451", + "452", + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 84, - "line": 145 + "column": 24, + "line": 178 }, "start": { "column": 9, - "line": 145 + "line": 178 } } }, { - "id": "1088", - "mutatorName": "EqualityOperator", - "replacement": "baseGame.currentPlay.cause !== GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"inconsequential\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:548:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1110", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:224:109\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "434" + "451" ], "coveredBy": [ - "434", - "435", - "556" + "451" ], "location": { "end": { - "column": 84, - "line": 145 + "column": 6, + "line": 180 }, "start": { - "column": 9, - "line": 145 + "column": 26, + "line": 178 } } }, { - "id": "1089", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"inconsequential\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:548:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1111", + "mutatorName": "OptionalChaining", + "replacement": "play.targets.map", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(178,64): error TS18048: 'play.targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "434" - ], + "killedBy": [], "coveredBy": [ - "434" + "452", + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 6, - "line": 147 + "column": 81, + "line": 181 }, "start": { - "column": 86, - "line": 145 + "column": 64, + "line": 181 } } }, { - "id": "1090", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(150,6): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "1112", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(178,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "436", - "437", - "438", - "439", - "556" + "452", + "456", + "567" ], "location": { "end": { - "column": 4, - "line": 163 + "column": 105, + "line": 181 }, "start": { - "column": 34, - "line": 155 + "column": 82, + "line": 181 } } }, { - "id": "1091", - "mutatorName": "LogicalOperator", - "replacement": "gameHistoryRecordToInsert.play.votes && []", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(152,75): error TS2345: Argument of type 'never[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", + "id": "1113", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(180,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(184,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "436", - "437", - "438", - "439", - "556" + "452", + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 61, - "line": 156 + "column": 24, + "line": 182 }, "start": { - "column": 19, - "line": 156 + "column": 9, + "line": 182 } } }, { - "id": "1092", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(152,75): error TS2345: Argument of type 'GameHistoryRecordPlayVote[] | string[]' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'string[]' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'string' is not assignable to type 'MakeGamePlayVoteWithRelationsDto'.\n", + "id": "1114", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(180,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "436", - "437" + "452", + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 61, - "line": 156 + "column": 24, + "line": 182 }, "start": { - "column": 59, - "line": 156 + "column": 9, + "line": 182 } } }, { - "id": "1093", - "mutatorName": "ObjectLiteral", + "id": "1115", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(153,11): error TS2741: Property 'result' is missing in type '{}' but required in type 'GameHistoryRecordPlayVoting'.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "436", - "437", - "438", - "439", - "556" + "452" ], "location": { "end": { "column": 6, - "line": 161 + "line": 184 }, "start": { - "column": 70, - "line": 158 + "column": 26, + "line": 182 } } }, { - "id": "1094", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "status": "Timeout", + "id": "1116", + "mutatorName": "OptionalChaining", + "replacement": "play.votes.map", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(182,63): error TS18048: 'play.votes' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "436", - "437", - "438", - "439", - "556" + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 149, - "line": 162 + "column": 78, + "line": 185 }, "start": { - "column": 86, - "line": 162 + "column": 63, + "line": 185 } } }, { - "id": "1095", - "mutatorName": "BooleanLiteral", - "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/sandbox7361449/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "id": "1117", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(178,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", + "status": "CompileError", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "436", - "437", - "438", - "439", - "556" + "453", + "454", + "456", + "566" ], "location": { "end": { - "column": 147, - "line": 162 + "column": 98, + "line": 185 }, "start": { - "column": 143, - "line": 162 + "column": 79, + "line": 185 } } }, { - "id": "1096", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(165,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "1118", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(184,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "440", - "556", - "557" + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 4, - "line": 171 + "column": 23, + "line": 186 }, "start": { - "column": 122, - "line": 165 + "column": 9, + "line": 186 } } }, { - "id": "1097", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(166,11): error TS2739: Type '{}' is missing the following properties from type 'GameHistoryRecordPlaySource': name, players\n", + "id": "1119", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(184,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "440", - "556", - "557" + "453", + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 6, - "line": 169 + "column": 23, + "line": 186 }, "start": { - "column": 70, - "line": 166 + "column": 9, + "line": 186 } } }, { - "id": "1098", - "mutatorName": "ObjectLiteral", + "id": "1120", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 3, + "status": "Timeout", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "440", - "556", - "557" + "453" ], "location": { "end": { - "column": 149, - "line": 170 + "column": 6, + "line": 188 }, "start": { - "column": 86, - "line": 170 + "column": 25, + "line": 186 } } }, { - "id": "1099", - "mutatorName": "BooleanLiteral", - "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/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 3, + "id": "1121", + "mutatorName": "OptionalChaining", + "replacement": "play.votes.map", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(186,68): error TS18048: 'play.votes' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "440", - "556", - "557" + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 147, - "line": 170 + "column": 83, + "line": 189 }, "start": { - "column": 143, - "line": 170 + "column": 68, + "line": 189 } } }, { - "id": "1100", - "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/sandbox7361449/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:732:109\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1122", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(182,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", + "status": "CompileError", "static": false, - "killedBy": [ - "441" - ], + "killedBy": [], "coveredBy": [ - "441", - "442", - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "454", + "456", + "566" ], "location": { "end": { - "column": 4, - "line": 193 + "column": 103, + "line": 189 }, "start": { - "column": 100, - "line": 173 + "column": 84, + "line": 189 } } }, { - "id": "1101", + "id": "1123", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(176,66): error TS18048: 'unmatchedSource' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(180,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(184,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "441", - "442", - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 24, - "line": 175 + "column": 28, + "line": 190 }, "start": { "column": 9, - "line": 175 + "line": 190 } } }, { - "id": "1102", + "id": "1124", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(176,66): error TS18048: 'unmatchedSource' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "441", - "442", - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "454", + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 24, - "line": 175 + "column": 28, + "line": 190 }, "start": { "column": 9, - "line": 175 + "line": 190 } } }, { - "id": "1103", + "id": "1125", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:224:109\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "441" - ], + "killedBy": [], "coveredBy": [ - "441" + "454" ], "location": { "end": { "column": 6, - "line": 177 + "line": 192 }, "start": { - "column": 26, - "line": 175 + "column": 30, + "line": 190 } } }, { - "id": "1104", - "mutatorName": "OptionalChaining", - "replacement": "play.targets.map", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(178,64): error TS18048: 'play.targets' is possibly 'undefined'.\n", + "id": "1126", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442", - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 81, - "line": 178 + "column": 95, + "line": 193 }, "start": { - "column": 64, - "line": 178 + "column": 9, + "line": 193 } } }, { - "id": "1105", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(178,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", + "id": "1127", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442", - "446", - "557" + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 105, - "line": 178 + "column": 95, + "line": 193 }, "start": { - "column": 82, - "line": 178 + "column": 9, + "line": 193 } } }, { - "id": "1106", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(180,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(184,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", + "id": "1128", + "mutatorName": "LogicalOperator", + "replacement": "play.chosenCard || !getAdditionalCardWithId(game.additionalCards, play.chosenCard._id)", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442", - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "455", + "456", + "460", + "566", + "567" ], "location": { "end": { - "column": 24, - "line": 179 + "column": 95, + "line": 193 }, "start": { "column": 9, - "line": 179 + "line": 193 } } }, { - "id": "1107", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(180,66): error TS18048: 'unmatchedTarget' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1129", + "mutatorName": "BooleanLiteral", + "replacement": "getAdditionalCardWithId(game.additionalCards, play.chosenCard._id)", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "442", - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "455", + "456" ], "location": { "end": { - "column": 24, - "line": 179 + "column": 95, + "line": 193 }, "start": { - "column": 9, - "line": 179 + "column": 28, + "line": 193 } } }, { - "id": "1108", + "id": "1130", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "442" + "455" ], "location": { "end": { "column": 6, - "line": 181 + "line": 195 }, "start": { - "column": 26, - "line": 179 + "column": 97, + "line": 193 } } }, { - "id": "1109", - "mutatorName": "OptionalChaining", - "replacement": "play.votes.map", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(182,63): error TS18048: 'play.votes' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1131", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:271:108\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "457" + ], "coveredBy": [ - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "457", + "458", + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 78, - "line": 182 + "column": 4, + "line": 213 }, "start": { - "column": 63, - "line": 182 + "column": 124, + "line": 198 } } }, { - "id": "1110", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(178,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", - "status": "CompileError", + "id": "1132", + "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:791:41", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "457" + ], "coveredBy": [ - "443", - "444", - "446", - "556" + "457", + "458", + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 98, - "line": 182 + "column": 67, + "line": 200 }, "start": { - "column": 79, - "line": 182 + "column": 52, + "line": 200 } } }, { - "id": "1111", + "id": "1133", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(184,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(201,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(203,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(205,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(207,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "457", + "458", + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 23, - "line": 183 + "column": 22, + "line": 201 }, "start": { "column": 9, - "line": 183 + "line": 201 } } }, { - "id": "1112", + "id": "1134", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(184,66): error TS18048: 'unmatchedVoter' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(201,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(205,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "443", - "444", - "445", - "446", - "450", - "556", - "557" + "457", + "458", + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 23, - "line": 183 + "column": 22, + "line": 201 }, "start": { "column": 9, - "line": 183 - } - } - }, - { - "id": "1113", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "443" - ], - "location": { - "end": { - "column": 6, - "line": 185 - }, - "start": { - "column": 25, - "line": 183 + "line": 201 } } }, { - "id": "1114", - "mutatorName": "OptionalChaining", - "replacement": "play.votes.map", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(186,68): error TS18048: 'play.votes' is possibly 'undefined'.\n", + "id": "1135", + "mutatorName": "EqualityOperator", + "replacement": "game !== null", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(201,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(205,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,58): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Game'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444", - "445", - "446", - "450", - "556", - "557" + "457", + "458", + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 83, - "line": 186 + "column": 22, + "line": 201 }, "start": { - "column": 68, - "line": 186 + "column": 9, + "line": 201 } } }, { - "id": "1115", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(182,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", + "id": "1136", + "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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444", - "446", - "556" + "457" ], "location": { "end": { - "column": 103, - "line": 186 + "column": 6, + "line": 203 }, "start": { - "column": 84, - "line": 186 + "column": 24, + "line": 201 } } }, { - "id": "1116", + "id": "1137", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(203,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(205,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(207,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444", - "445", - "446", - "450", - "556", - "557" + "458", + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 28, - "line": 187 + "column": 32, + "line": 205 }, "start": { "column": 9, - "line": 187 + "line": 205 } } }, { - "id": "1117", + "id": "1138", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(188,66): error TS18048: 'unmatchedVoteTarget' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(203,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444", - "445", - "446", - "450", - "556", - "557" + "458", + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 28, - "line": 187 + "column": 32, + "line": 205 }, "start": { "column": 9, - "line": 187 + "line": 205 } } }, { - "id": "1118", + "id": "1139", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "444" + "458" ], "location": { "end": { "column": 6, - "line": 189 + "line": 207 }, "start": { - "column": 30, - "line": 187 + "column": 34, + "line": 205 } } }, { - "id": "1119", + "id": "1140", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(207,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "445", - "446", - "450", - "556", - "557" + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 95, - "line": 190 + "column": 28, + "line": 209 }, "start": { "column": 9, - "line": 190 + "line": 209 } } }, { - "id": "1120", + "id": "1141", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(207,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "445", - "446", - "450", - "556", - "557" + "459", + "460", + "566", + "567" ], "location": { "end": { - "column": 95, - "line": 190 + "column": 28, + "line": 209 }, "start": { "column": 9, - "line": 190 + "line": 209 } } }, { - "id": "1121", - "mutatorName": "LogicalOperator", - "replacement": "play.chosenCard || !getAdditionalCardWithId(game.additionalCards, play.chosenCard._id)", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(190,75): error TS18048: 'play.chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(191,80): error TS18048: 'play.chosenCard' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1142", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:271:108\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "459" + ], "coveredBy": [ - "445", - "446", - "450", - "556", - "557" + "459" ], "location": { "end": { - "column": 95, - "line": 190 + "column": 6, + "line": 211 }, "start": { - "column": 9, - "line": 190 + "column": 30, + "line": 209 } } }, { - "id": "1122", - "mutatorName": "BooleanLiteral", - "replacement": "getAdditionalCardWithId(game.additionalCards, play.chosenCard._id)", - "status": "Timeout", + "id": "1064", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(133,6): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ + "438", + "439", + "440", + "441", + "442", + "443", + "444", "445", - "446" + "566" ], "location": { "end": { - "column": 95, - "line": 190 + "column": 4, + "line": 152 }, "start": { - "column": 28, - "line": 190 + "column": 41, + "line": 133 } } }, { - "id": "1123", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1069", + "mutatorName": "OptionalChaining", + "replacement": "gameHistoryRecordToInsert.deadPlayers.some", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(135,48): error TS18048: 'gameHistoryRecordToInsert.deadPlayers' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "445" + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 6, - "line": 192 + "column": 91, + "line": 135 }, "start": { - "column": 97, - "line": 190 + "column": 48, + "line": 135 } } }, { - "id": "1124", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:271:108\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1071", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(137,73): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/player.enum\").PLAYER_DEATH_CAUSES' is not assignable to parameter of type 'never'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "447" - ], "coveredBy": [ - "447", - "448", - "449", - "450", - "556", - "557" + "440", + "441", + "442", + "443", + "444", + "445" ], "location": { "end": { - "column": 4, - "line": 210 + "column": 99, + "line": 136 }, "start": { - "column": 124, - "line": 195 + "column": 35, + "line": 136 } } }, { - "id": "1125", - "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:791:41", - "status": "Killed", - "testsCompleted": 6, + "id": "1075", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(137,51): error TS18048: 'death' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "447" - ], "coveredBy": [ - "447", - "448", - "449", - "450", - "556", - "557" + "440", + "441", + "442", + "443", + "444", + "445" ], "location": { "end": { - "column": 67, - "line": 197 + "column": 40, + "line": 137 }, "start": { - "column": 52, - "line": 197 + "column": 14, + "line": 137 } } }, { - "id": "1126", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(201,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(203,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(205,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(207,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,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", + "id": "1074", + "mutatorName": "LogicalOperator", + "replacement": "death?.cause !== undefined || deathFromVoteCauses.includes(death.cause)", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(137,73): error TS18048: 'death' is possibly 'undefined'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "447", - "448", - "449", - "450", - "556", - "557" + "440", + "441", + "442", + "443", + "444", + "445" ], "location": { "end": { - "column": 22, - "line": 198 + "column": 85, + "line": 137 }, "start": { - "column": 9, - "line": 198 + "column": 14, + "line": 137 } } }, { - "id": "1127", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(201,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(205,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,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", + "id": "1076", + "mutatorName": "EqualityOperator", + "replacement": "death?.cause === undefined", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(137,73): error TS18048: 'death' is possibly 'undefined'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "447", - "448", - "449", - "450", - "556", - "557" + "440", + "441", + "442", + "443", + "444", + "445" ], "location": { "end": { - "column": 22, - "line": 198 + "column": 40, + "line": 137 }, "start": { - "column": 9, - "line": 198 + "column": 14, + "line": 137 } } }, { - "id": "1128", - "mutatorName": "EqualityOperator", - "replacement": "game !== null", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(201,58): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(205,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,58): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Game'.\n", + "id": "1077", + "mutatorName": "OptionalChaining", + "replacement": "death.cause", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(137,14): error TS18048: 'death' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(137,72): error TS18048: 'death' is possibly 'undefined'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "447", - "448", - "449", - "450", - "556", - "557" + "440", + "441", + "442", + "443", + "444", + "445" ], "location": { "end": { - "column": 22, - "line": 198 + "column": 26, + "line": 137 }, "start": { - "column": 9, - "line": 198 + "column": 14, + "line": 137 } } }, { - "id": "1129", - "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", + "id": "1079", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(142,50): error TS18048: 'gameHistoryRecordToInsert.play.votes' is possibly 'undefined'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "447" + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 6, - "line": 200 + "column": 72, + "line": 139 }, "start": { - "column": 24, - "line": 198 + "column": 9, + "line": 139 } } }, { - "id": "1130", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(203,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(205,54): error TS18047: 'game' is possibly 'null'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(207,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,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", + "id": "1085", + "mutatorName": "LogicalOperator", + "replacement": "!gameHistoryRecordToInsert.play.votes && gameHistoryRecordToInsert.play.votes.length === 0", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(142,50): error TS18048: 'gameHistoryRecordToInsert.play.votes' is possibly 'undefined'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "448", - "449", - "450", - "556", - "557" + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 32, - "line": 202 + "column": 99, + "line": 142 }, "start": { "column": 9, - "line": 202 + "line": 142 } } }, { - "id": "1131", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(203,66): error TS18048: 'unmatchedRevealedPlayer' is possibly 'undefined'.\n", + "id": "1086", + "mutatorName": "BooleanLiteral", + "replacement": "gameHistoryRecordToInsert.play.votes", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(142,49): error TS18048: 'gameHistoryRecordToInsert.play.votes' is possibly 'undefined'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "448", - "449", - "450", - "556", - "557" + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 32, - "line": 202 + "column": 46, + "line": 142 }, "start": { "column": 9, - "line": 202 + "line": 142 } } }, { - "id": "1132", + "id": "1067", + "mutatorName": "EqualityOperator", + "replacement": "gameHistoryRecordToInsert.deadPlayers?.some(({\n death\n}) => {\n const deathFromVoteCauses = [PLAYER_DEATH_CAUSES.VOTE, PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED];\n return death?.cause !== undefined && deathFromVoteCauses.includes(death.cause);\n}) !== 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/sandbox42305/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:706:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "static": false, + "testsCompleted": 9, + "killedBy": [ + "566" + ], + "coveredBy": [ + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" + ], + "location": { + "end": { + "column": 16, + "line": 138 + }, + "start": { + "column": 48, + "line": 135 + } + } + }, + { + "id": "1070", "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox42305/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:566:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", "static": false, - "killedBy": [], + "testsCompleted": 6, + "killedBy": [ + "442" + ], "coveredBy": [ - "448" + "440", + "441", + "442", + "443", + "444", + "445" ], "location": { "end": { "column": 6, - "line": 204 + "line": 138 }, "start": { - "column": 34, - "line": 202 + "column": 107, + "line": 135 } } }, { - "id": "1133", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(207,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-history/game-history-record.service.ts(209,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", - "status": "CompileError", + "id": "1068", + "mutatorName": "MethodExpression", + "replacement": "gameHistoryRecordToInsert.deadPlayers?.every(({\n death\n}) => {\n const deathFromVoteCauses = [PLAYER_DEATH_CAUSES.VOTE, PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED];\n return death?.cause !== undefined && deathFromVoteCauses.includes(death.cause);\n})", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox42305/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:566:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", "static": false, - "killedBy": [], + "testsCompleted": 9, + "killedBy": [ + "442" + ], "coveredBy": [ - "449", - "450", - "556", - "557" + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 28, - "line": 206 + "column": 7, + "line": 138 }, "start": { - "column": 9, - "line": 206 + "column": 48, + "line": 135 } } }, { - "id": "1134", + "id": "1066", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(207,66): error TS18048: 'unmatchedDeadPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox42305/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:566:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", "static": false, - "killedBy": [], + "testsCompleted": 9, + "killedBy": [ + "442" + ], "coveredBy": [ - "449", - "450", - "556", - "557" + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 28, - "line": 206 + "column": 16, + "line": 138 }, "start": { - "column": 9, - "line": 206 + "column": 48, + "line": 135 } } }, { - "id": "1135", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:271:108\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1072", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"inconsequential\"\nReceived: \"death\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox42305/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:612:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "testsCompleted": 6, "killedBy": [ - "449" + "444" ], "coveredBy": [ - "449" + "440", + "441", + "442", + "443", + "444", + "445" ], "location": { "end": { - "column": 6, - "line": 208 + "column": 85, + "line": 137 }, "start": { - "column": 30, - "line": 206 + "column": 14, + "line": 137 } } - } - ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { plainToInstance } from \"class-transformer\";\nimport type { Types } from \"mongoose\";\nimport { toJSON } from \"../../../../../../tests/helpers/object/object.helper\";\nimport { API_RESOURCES } from \"../../../../../shared/api/enums/api.enum\";\nimport { RESOURCE_NOT_FOUND_REASONS } from \"../../../../../shared/exception/enums/resource-not-found-error.enum\";\nimport { createNoCurrentGamePlayUnexpectedException } from \"../../../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { ResourceNotFoundException } from \"../../../../../shared/exception/types/resource-not-found-exception.type\";\nimport { plainToInstanceDefaultOptions } from \"../../../../../shared/validation/constants/validation.constant\";\nimport type { MakeGamePlayWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-with-relations.dto\";\nimport { GAME_HISTORY_RECORD_VOTING_RESULTS } from \"../../../enums/game-history-record.enum\";\nimport type { WITCH_POTIONS } from \"../../../enums/game-play.enum\";\nimport { GAME_PLAY_ACTIONS, GAME_PLAY_CAUSES } from \"../../../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES } from \"../../../enums/player.enum\";\nimport { getAdditionalCardWithId, getExpectedPlayersToPlay, getNonexistentPlayer, getPlayerWithAttribute, getPlayerWithId } from \"../../../helpers/game.helper\";\nimport { GameHistoryRecordPlaySource } from \"../../../schemas/game-history-record/game-history-record-play/game-history-record-play-source.schema\";\nimport { GameHistoryRecordPlayVoting } from \"../../../schemas/game-history-record/game-history-record-play/game-history-record-play-voting.schema\";\nimport { GameHistoryRecordPlay } from \"../../../schemas/game-history-record/game-history-record-play/game-history-record-play.schema\";\nimport type { GameHistoryRecord } from \"../../../schemas/game-history-record/game-history-record.schema\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport { GameHistoryRecordToInsert } from \"../../../types/game-history-record.type\";\nimport type { GameWithCurrentPlay } from \"../../../types/game-with-current-play\";\nimport { GameHistoryRecordRepository } from \"../../repositories/game-history-record.repository\";\nimport { GameRepository } from \"../../repositories/game.repository\";\nimport { GamePlayVoteService } from \"../game-play/game-play-vote/game-play-vote.service\";\n\n@Injectable()\nexport class GameHistoryRecordService {\n public constructor(\n private readonly gamePlayVoteService: GamePlayVoteService,\n private readonly gameHistoryRecordRepository: GameHistoryRecordRepository,\n private readonly gameRepository: GameRepository,\n ) {}\n \n public async createGameHistoryRecord(gameHistoryRecordToInsert: GameHistoryRecordToInsert): Promise {\n await this.validateGameHistoryRecordToInsertData(gameHistoryRecordToInsert);\n return this.gameHistoryRecordRepository.create(gameHistoryRecordToInsert);\n }\n\n public async getLastGameHistoryGuardProtectsRecord(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getLastGameHistoryGuardProtectsRecord(gameId);\n }\n\n public async getLastGameHistoryTieInVotesRecord(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getLastGameHistoryTieInVotesRecord(gameId);\n }\n\n public async getGameHistoryWitchUsesSpecificPotionRecords(gameId: Types.ObjectId, potion: WITCH_POTIONS): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryWitchUsesSpecificPotionRecords(gameId, potion);\n }\n\n public async getGameHistoryVileFatherOfWolvesInfectedRecords(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryVileFatherOfWolvesInfectedRecords(gameId);\n }\n\n public async getGameHistoryJudgeRequestRecords(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryJudgeRequestRecords(gameId);\n }\n\n public async getGameHistoryWerewolvesEatAncientRecords(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryWerewolvesEatAncientRecords(gameId);\n }\n\n public async getGameHistoryAncientProtectedFromWerewolvesRecords(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryAncientProtectedFromWerewolvesRecords(gameId);\n }\n\n public async getPreviousGameHistoryRecord(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getPreviousGameHistoryRecord(gameId);\n }\n \n public generateCurrentGameHistoryRecordToInsert(baseGame: Game, newGame: Game, play: MakeGamePlayWithRelationsDto): GameHistoryRecordToInsert {\n if (baseGame.currentPlay === null) {\n throw createNoCurrentGamePlayUnexpectedException(\"generateCurrentGameHistoryRecordToInsert\", { gameId: baseGame._id });\n }\n const gameHistoryRecordToInsert: GameHistoryRecordToInsert = {\n gameId: baseGame._id,\n turn: baseGame.turn,\n phase: baseGame.phase,\n tick: baseGame.tick,\n play: this.generateCurrentGameHistoryRecordPlayToInsert(baseGame as GameWithCurrentPlay, play),\n revealedPlayers: this.generateCurrentGameHistoryRecordRevealedPlayersToInsert(baseGame, newGame),\n deadPlayers: this.generateCurrentGameHistoryRecordDeadPlayersToInsert(baseGame, newGame),\n };\n if (gameHistoryRecordToInsert.play.votes) {\n gameHistoryRecordToInsert.play.voting = this.generateCurrentGameHistoryRecordPlayVotingToInsert(baseGame as GameWithCurrentPlay, newGame, gameHistoryRecordToInsert);\n }\n return plainToInstance(GameHistoryRecordToInsert, gameHistoryRecordToInsert, plainToInstanceDefaultOptions);\n }\n\n public async getGameHistory(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistory(gameId);\n }\n\n private generateCurrentGameHistoryRecordDeadPlayersToInsert(baseGame: Game, newGame: Game): Player[] | undefined {\n const { players: basePlayers } = baseGame;\n const { players: newPlayers } = newGame;\n const currentDeadPlayers = newPlayers.filter(player => {\n const matchingBasePlayer = getPlayerWithId(basePlayers, player._id);\n return matchingBasePlayer?.isAlive === true && !player.isAlive;\n });\n return currentDeadPlayers.length ? currentDeadPlayers : undefined;\n }\n\n private generateCurrentGameHistoryRecordRevealedPlayersToInsert(baseGame: Game, newGame: Game): Player[] | undefined {\n const { players: basePlayers } = baseGame;\n const { players: newPlayers } = newGame;\n const currentRevealedPlayers = newPlayers.filter(player => {\n const matchingBasePlayer = getPlayerWithId(basePlayers, player._id);\n return matchingBasePlayer?.role.isRevealed === false && player.role.isRevealed && player.isAlive;\n });\n return currentRevealedPlayers.length ? currentRevealedPlayers : undefined;\n }\n \n private generateCurrentGameHistoryRecordPlayToInsert(baseGame: GameWithCurrentPlay, play: MakeGamePlayWithRelationsDto): GameHistoryRecordPlay {\n const gameHistoryRecordPlayToInsert: GameHistoryRecordPlay = {\n source: this.generateCurrentGameHistoryRecordPlaySourceToInsert(baseGame),\n action: baseGame.currentPlay.action,\n didJudgeRequestAnotherVote: play.doesJudgeRequestAnotherVote,\n targets: play.targets,\n votes: play.votes,\n chosenCard: play.chosenCard,\n chosenSide: play.chosenSide,\n };\n return plainToInstance(GameHistoryRecordPlay, toJSON(gameHistoryRecordPlayToInsert), plainToInstanceDefaultOptions);\n }\n \n private generateCurrentGameHistoryRecordPlayVotingResultToInsert(\n baseGame: GameWithCurrentPlay,\n newGame: Game,\n gameHistoryRecordToInsert: GameHistoryRecordToInsert,\n ): GAME_HISTORY_RECORD_VOTING_RESULTS {\n const sheriffPlayer = getPlayerWithAttribute(newGame.players, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n const areSomePlayersDeadFromCurrentVotes = gameHistoryRecordToInsert.deadPlayers?.some(({ death }) => {\n const deathFromVoteCauses = [PLAYER_DEATH_CAUSES.VOTE, PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED];\n return death?.cause !== undefined && deathFromVoteCauses.includes(death.cause);\n }) === true;\n if (baseGame.currentPlay.action === GAME_PLAY_ACTIONS.ELECT_SHERIFF) {\n return sheriffPlayer ? GAME_HISTORY_RECORD_VOTING_RESULTS.SHERIFF_ELECTION : GAME_HISTORY_RECORD_VOTING_RESULTS.TIE;\n }\n if (areSomePlayersDeadFromCurrentVotes) {\n return GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH;\n }\n if (baseGame.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) {\n return GAME_HISTORY_RECORD_VOTING_RESULTS.INCONSEQUENTIAL;\n }\n return GAME_HISTORY_RECORD_VOTING_RESULTS.TIE;\n }\n\n private generateCurrentGameHistoryRecordPlayVotingToInsert(\n baseGame: GameWithCurrentPlay,\n newGame: Game,\n gameHistoryRecordToInsert: GameHistoryRecordToInsert,\n ): GameHistoryRecordPlayVoting {\n const votes = gameHistoryRecordToInsert.play.votes ?? [];\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, baseGame);\n const gameHistoryRecordPlayVoting: GameHistoryRecordPlayVoting = {\n result: this.generateCurrentGameHistoryRecordPlayVotingResultToInsert(baseGame, newGame, gameHistoryRecordToInsert),\n nominatedPlayers,\n };\n return plainToInstance(GameHistoryRecordPlayVoting, gameHistoryRecordPlayVoting, { ...plainToInstanceDefaultOptions, enableCircularCheck: true });\n }\n \n private generateCurrentGameHistoryRecordPlaySourceToInsert(baseGame: GameWithCurrentPlay): GameHistoryRecordPlaySource {\n const gameHistoryRecordPlaySource: GameHistoryRecordPlaySource = {\n name: baseGame.currentPlay.source,\n players: getExpectedPlayersToPlay(baseGame),\n };\n return plainToInstance(GameHistoryRecordPlaySource, gameHistoryRecordPlaySource, { ...plainToInstanceDefaultOptions, enableCircularCheck: true });\n }\n\n private validateGameHistoryRecordToInsertPlayData(play: GameHistoryRecordPlay, game: Game): void {\n const unmatchedSource = getNonexistentPlayer(game.players, play.source.players);\n if (unmatchedSource) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedSource._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_PLAYER_SOURCE);\n }\n const unmatchedTarget = getNonexistentPlayer(game.players, play.targets?.map(target => target.player));\n if (unmatchedTarget) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedTarget._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_PLAYER_TARGET);\n }\n const unmatchedVoter = getNonexistentPlayer(game.players, play.votes?.map(vote => vote.source));\n if (unmatchedVoter) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedVoter._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_PLAYER_VOTE_SOURCE);\n }\n const unmatchedVoteTarget = getNonexistentPlayer(game.players, play.votes?.map(vote => vote.target));\n if (unmatchedVoteTarget) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedVoteTarget._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_PLAYER_VOTE_TARGET);\n }\n if (play.chosenCard && !getAdditionalCardWithId(game.additionalCards, play.chosenCard._id)) {\n throw new ResourceNotFoundException(API_RESOURCES.GAME_ADDITIONAL_CARDS, play.chosenCard._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_CHOSEN_CARD);\n }\n }\n\n private async validateGameHistoryRecordToInsertData(gameHistoryRecordToInsert: GameHistoryRecordToInsert): Promise {\n const { gameId, play, revealedPlayers, deadPlayers } = gameHistoryRecordToInsert;\n const game = await this.gameRepository.findOne({ _id: gameId });\n if (game === null) {\n throw new ResourceNotFoundException(API_RESOURCES.GAMES, gameId.toString(), RESOURCE_NOT_FOUND_REASONS.UNKNOWN_GAME_PLAY_GAME_ID);\n }\n const unmatchedRevealedPlayer = getNonexistentPlayer(game.players, revealedPlayers);\n if (unmatchedRevealedPlayer) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedRevealedPlayer._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_REVEALED_PLAYER);\n }\n const unmatchedDeadPlayer = getNonexistentPlayer(game.players, deadPlayers);\n if (unmatchedDeadPlayer) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedDeadPlayer._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_DEAD_PLAYER);\n }\n this.validateGameHistoryRecordToInsertPlayData(play, game);\n }\n}" - }, - "src/modules/game/providers/services/game-phase/game-phase.service.ts": { - "language": "typescript", - "mutants": [ + }, { - "id": "1136", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(19,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1073", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, - "killedBy": [], "coveredBy": [ - "752" + "440", + "441", + "442", + "443", + "444", + "445" ], "location": { "end": { - "column": 4, - "line": 25 + "column": 85, + "line": 137 }, "start": { - "column": 97, - "line": 19 + "column": 14, + "line": 137 } } }, { - "id": "1137", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: {\"_id\": \"c6bc6c3873f265d9287731a7\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Alba\", \"position\": 2706767937011712, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"d70b890b01cb004ee3169f18\", \"additionalCards\": undefined, \"createdAt\": 2023-08-01T02:53:06.940Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 155116780912640}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"c6bc6c3873f265d9287731a7\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Alba\", \"position\": 2706767937011712, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"a16e02be3860408cfd7a1be5\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Annie\", \"position\": 3609674660184064, \"role\": {\"current\": \"angel\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"d6398db6c6a8947cb7dbb3cd\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Zoie\", \"position\": 3954812668346368, \"role\": {\"current\": \"villager-villager\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"9ecef03fdd5e3ed4ff1dcf4e\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Delta\", \"position\": 2402602125885440, \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 3026921120071680, \"turn\": 4304216801673216, \"upcomingPlays\": [], \"updatedAt\": 2023-08-01T07:34:06.209Z, \"victory\": undefined}\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:75:96)", - "status": "Killed", - "testsCompleted": 1, + "id": "1081", + "mutatorName": "EqualityOperator", + "replacement": "baseGame.currentPlay.action !== GAME_PLAY_ACTIONS.ELECT_SHERIFF", + "status": "Timeout", "static": false, - "killedBy": [ - "752" - ], "coveredBy": [ - "752" + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 6, - "line": 23 + "column": 72, + "line": 139 }, "start": { - "column": 46, - "line": 21 + "column": 9, + "line": 139 } } }, { - "id": "1138", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(27,72): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1078", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "status": "Timeout", "static": false, - "killedBy": [], "coveredBy": [ - "753", - "754" + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 4, - "line": 35 + "column": 16, + "line": 138 }, "start": { - "column": 86, - "line": 27 + "column": 12, + "line": 138 } } }, { - "id": "1139", + "id": "1083", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 3\n\n@@ -73,11 +73,11 @@\n \"wildChild\": WildChildGameOptions {\n \"isTransformationRevealed\": false,\n },\n },\n },\n- \"phase\": \"night\",\n+ \"phase\": \"day\",\n \"players\": Array [],\n \"status\": \"playing\",\n \"tick\": 5370907803516928,\n \"turn\": 7567433629958144,\n \"upcomingPlays\": Array [\n@@ -85,18 +85,13 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"cause\": undefined,\n- \"source\": \"seer\",\n+ \"source\": \"all\",\n },\n ],\n \"updatedAt\": 2023-08-01T20:27:52.380Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:99:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "753" - ], "coveredBy": [ - "753", - "754" + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 62, - "line": 29 + "column": 99, + "line": 142 }, "start": { - "column": 24, - "line": 29 + "column": 9, + "line": 142 } } }, { - "id": "1140", + "id": "1084", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 8\n\n@@ -73,11 +73,11 @@\n \"wildChild\": WildChildGameOptions {\n \"isTransformationRevealed\": false,\n },\n },\n },\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"players\": Array [],\n \"status\": \"over\",\n \"tick\": 4684889873973248,\n \"turn\": 6466506823041024,\n \"upcomingPlays\": Array [\n@@ -85,13 +85,18 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n+ \"cause\": undefined,\n+ \"source\": \"werewolves\",\n+ },\n+ GamePlay {\n+ \"action\": \"look\",\n \"cause\": undefined,\n- \"source\": \"all\",\n+ \"source\": \"seer\",\n },\n ],\n \"updatedAt\": 2023-08-01T11:36:28.573Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:110:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "754" - ], "coveredBy": [ - "753", - "754" + "440", + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 62, - "line": 29 + "column": 99, + "line": 142 }, "start": { - "column": 24, - "line": 29 + "column": 9, + "line": 142 } } }, { - "id": "1141", + "id": "1088", "mutatorName": "EqualityOperator", - "replacement": "clonedGame.phase !== GAME_PHASES.NIGHT", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 3\n\n@@ -73,11 +73,11 @@\n \"wildChild\": WildChildGameOptions {\n \"isTransformationRevealed\": true,\n },\n },\n },\n- \"phase\": \"night\",\n+ \"phase\": \"day\",\n \"players\": Array [],\n \"status\": \"over\",\n \"tick\": 716648359133184,\n \"turn\": 1317677737967616,\n \"upcomingPlays\": Array [\n@@ -85,18 +85,13 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"cause\": undefined,\n- \"source\": \"seer\",\n+ \"source\": \"all\",\n },\n ],\n \"updatedAt\": 2023-08-01T17:33:48.792Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:99:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "replacement": "gameHistoryRecordToInsert.play.votes.length !== 0", + "status": "Timeout", "static": false, - "killedBy": [ - "753" - ], "coveredBy": [ - "753", - "754" + "441", + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 62, - "line": 29 + "column": 99, + "line": 142 }, "start": { - "column": 24, - "line": 29 + "column": 50, + "line": 142 } } }, { - "id": "1142", + "id": "1090", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 7\n\n@@ -85,13 +85,18 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n+ \"cause\": undefined,\n+ \"source\": \"werewolves\",\n+ },\n+ GamePlay {\n+ \"action\": \"look\",\n \"cause\": undefined,\n- \"source\": \"all\",\n+ \"source\": \"seer\",\n },\n ],\n \"updatedAt\": 2023-08-01T10:21:11.124Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:110:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: \"inconsequential\"\nReceived: \"death\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox42305/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:612:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "testsCompleted": 5, "killedBy": [ - "754" + "444" ], "coveredBy": [ - "753", - "754" + "442", + "443", + "444", + "445", + "566" ], "location": { "end": { - "column": 70, - "line": 32 + "column": 43, + "line": 145 }, "start": { - "column": 32, - "line": 32 + "column": 9, + "line": 145 } } }, { - "id": "1143", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", - "static": false, + "id": "1092", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox42305/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:566:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "static": false, + "testsCompleted": 2, + "killedBy": [ + "442" + ], + "coveredBy": [ + "442", + "443" + ], + "location": { + "end": { + "column": 6, + "line": 147 + }, + "start": { + "column": 45, + "line": 145 + } + } + }, + { + "id": "1091", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"death\"\nReceived: \"tie\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox42305/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:566:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "static": false, + "testsCompleted": 5, + "killedBy": [ + "442" + ], + "coveredBy": [ + "442", + "443", + "444", + "445", + "566" + ], + "location": { + "end": { + "column": 43, + "line": 145 + }, + "start": { + "column": 9, + "line": 145 + } + } + } + ], + "source": "import { Injectable } from \"@nestjs/common\";\nimport { plainToInstance } from \"class-transformer\";\nimport type { Types } from \"mongoose\";\nimport { toJSON } from \"../../../../../../tests/helpers/object/object.helper\";\nimport { API_RESOURCES } from \"../../../../../shared/api/enums/api.enum\";\nimport { RESOURCE_NOT_FOUND_REASONS } from \"../../../../../shared/exception/enums/resource-not-found-error.enum\";\nimport { createNoCurrentGamePlayUnexpectedException } from \"../../../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { ResourceNotFoundException } from \"../../../../../shared/exception/types/resource-not-found-exception.type\";\nimport { plainToInstanceDefaultOptions } from \"../../../../../shared/validation/constants/validation.constant\";\nimport type { MakeGamePlayWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-with-relations.dto\";\nimport { GAME_HISTORY_RECORD_VOTING_RESULTS } from \"../../../enums/game-history-record.enum\";\nimport type { WITCH_POTIONS } from \"../../../enums/game-play.enum\";\nimport { GAME_PLAY_ACTIONS, GAME_PLAY_CAUSES } from \"../../../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES } from \"../../../enums/player.enum\";\nimport { getAdditionalCardWithId, getExpectedPlayersToPlay, getNonexistentPlayer, getPlayerWithAttribute, getPlayerWithId } from \"../../../helpers/game.helper\";\nimport { GameHistoryRecordPlaySource } from \"../../../schemas/game-history-record/game-history-record-play/game-history-record-play-source.schema\";\nimport { GameHistoryRecordPlayVoting } from \"../../../schemas/game-history-record/game-history-record-play/game-history-record-play-voting.schema\";\nimport { GameHistoryRecordPlay } from \"../../../schemas/game-history-record/game-history-record-play/game-history-record-play.schema\";\nimport type { GameHistoryRecord } from \"../../../schemas/game-history-record/game-history-record.schema\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport { GameHistoryRecordToInsert } from \"../../../types/game-history-record.type\";\nimport type { GameWithCurrentPlay } from \"../../../types/game-with-current-play\";\nimport { GameHistoryRecordRepository } from \"../../repositories/game-history-record.repository\";\nimport { GameRepository } from \"../../repositories/game.repository\";\nimport { GamePlayVoteService } from \"../game-play/game-play-vote/game-play-vote.service\";\n\n@Injectable()\nexport class GameHistoryRecordService {\n public constructor(\n private readonly gamePlayVoteService: GamePlayVoteService,\n private readonly gameHistoryRecordRepository: GameHistoryRecordRepository,\n private readonly gameRepository: GameRepository,\n ) {}\n \n public async createGameHistoryRecord(gameHistoryRecordToInsert: GameHistoryRecordToInsert): Promise {\n await this.validateGameHistoryRecordToInsertData(gameHistoryRecordToInsert);\n return this.gameHistoryRecordRepository.create(gameHistoryRecordToInsert);\n }\n\n public async getLastGameHistoryGuardProtectsRecord(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getLastGameHistoryGuardProtectsRecord(gameId);\n }\n\n public async getLastGameHistoryTieInVotesRecord(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getLastGameHistoryTieInVotesRecord(gameId);\n }\n\n public async getGameHistoryWitchUsesSpecificPotionRecords(gameId: Types.ObjectId, potion: WITCH_POTIONS): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryWitchUsesSpecificPotionRecords(gameId, potion);\n }\n\n public async getGameHistoryVileFatherOfWolvesInfectedRecords(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryVileFatherOfWolvesInfectedRecords(gameId);\n }\n\n public async getGameHistoryJudgeRequestRecords(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryJudgeRequestRecords(gameId);\n }\n\n public async getGameHistoryWerewolvesEatAncientRecords(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryWerewolvesEatAncientRecords(gameId);\n }\n\n public async getGameHistoryAncientProtectedFromWerewolvesRecords(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistoryAncientProtectedFromWerewolvesRecords(gameId);\n }\n\n public async getPreviousGameHistoryRecord(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getPreviousGameHistoryRecord(gameId);\n }\n \n public generateCurrentGameHistoryRecordToInsert(baseGame: Game, newGame: Game, play: MakeGamePlayWithRelationsDto): GameHistoryRecordToInsert {\n if (baseGame.currentPlay === null) {\n throw createNoCurrentGamePlayUnexpectedException(\"generateCurrentGameHistoryRecordToInsert\", { gameId: baseGame._id });\n }\n const gameHistoryRecordToInsert: GameHistoryRecordToInsert = {\n gameId: baseGame._id,\n turn: baseGame.turn,\n phase: baseGame.phase,\n tick: baseGame.tick,\n play: this.generateCurrentGameHistoryRecordPlayToInsert(baseGame as GameWithCurrentPlay, play),\n revealedPlayers: this.generateCurrentGameHistoryRecordRevealedPlayersToInsert(baseGame, newGame),\n deadPlayers: this.generateCurrentGameHistoryRecordDeadPlayersToInsert(baseGame, newGame),\n };\n if (gameHistoryRecordToInsert.play.votes) {\n gameHistoryRecordToInsert.play.voting = this.generateCurrentGameHistoryRecordPlayVotingToInsert(baseGame as GameWithCurrentPlay, newGame, gameHistoryRecordToInsert);\n }\n return plainToInstance(GameHistoryRecordToInsert, gameHistoryRecordToInsert, plainToInstanceDefaultOptions);\n }\n\n public async getGameHistory(gameId: Types.ObjectId): Promise {\n return this.gameHistoryRecordRepository.getGameHistory(gameId);\n }\n\n private generateCurrentGameHistoryRecordDeadPlayersToInsert(baseGame: Game, newGame: Game): Player[] | undefined {\n const { players: basePlayers } = baseGame;\n const { players: newPlayers } = newGame;\n const currentDeadPlayers = newPlayers.filter(player => {\n const matchingBasePlayer = getPlayerWithId(basePlayers, player._id);\n return matchingBasePlayer?.isAlive === true && !player.isAlive;\n });\n return currentDeadPlayers.length ? currentDeadPlayers : undefined;\n }\n\n private generateCurrentGameHistoryRecordRevealedPlayersToInsert(baseGame: Game, newGame: Game): Player[] | undefined {\n const { players: basePlayers } = baseGame;\n const { players: newPlayers } = newGame;\n const currentRevealedPlayers = newPlayers.filter(player => {\n const matchingBasePlayer = getPlayerWithId(basePlayers, player._id);\n return matchingBasePlayer?.role.isRevealed === false && player.role.isRevealed && player.isAlive;\n });\n return currentRevealedPlayers.length ? currentRevealedPlayers : undefined;\n }\n \n private generateCurrentGameHistoryRecordPlayToInsert(baseGame: GameWithCurrentPlay, play: MakeGamePlayWithRelationsDto): GameHistoryRecordPlay {\n const gameHistoryRecordPlayToInsert: GameHistoryRecordPlay = {\n source: this.generateCurrentGameHistoryRecordPlaySourceToInsert(baseGame),\n action: baseGame.currentPlay.action,\n didJudgeRequestAnotherVote: play.doesJudgeRequestAnotherVote,\n targets: play.targets,\n votes: play.votes,\n chosenCard: play.chosenCard,\n chosenSide: play.chosenSide,\n };\n return plainToInstance(GameHistoryRecordPlay, toJSON(gameHistoryRecordPlayToInsert), plainToInstanceDefaultOptions);\n }\n \n private generateCurrentGameHistoryRecordPlayVotingResultToInsert(\n baseGame: GameWithCurrentPlay,\n newGame: Game,\n gameHistoryRecordToInsert: GameHistoryRecordToInsert,\n ): GAME_HISTORY_RECORD_VOTING_RESULTS {\n const sheriffPlayer = getPlayerWithAttribute(newGame.players, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n const areSomePlayersDeadFromCurrentVotes = gameHistoryRecordToInsert.deadPlayers?.some(({ death }) => {\n const deathFromVoteCauses = [PLAYER_DEATH_CAUSES.VOTE, PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED];\n return death?.cause !== undefined && deathFromVoteCauses.includes(death.cause);\n }) === true;\n if (baseGame.currentPlay.action === GAME_PLAY_ACTIONS.ELECT_SHERIFF) {\n return sheriffPlayer ? GAME_HISTORY_RECORD_VOTING_RESULTS.SHERIFF_ELECTION : GAME_HISTORY_RECORD_VOTING_RESULTS.TIE;\n }\n if (!gameHistoryRecordToInsert.play.votes || gameHistoryRecordToInsert.play.votes.length === 0) {\n return GAME_HISTORY_RECORD_VOTING_RESULTS.SKIPPED;\n }\n if (areSomePlayersDeadFromCurrentVotes) {\n return GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH;\n }\n if (baseGame.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) {\n return GAME_HISTORY_RECORD_VOTING_RESULTS.INCONSEQUENTIAL;\n }\n return GAME_HISTORY_RECORD_VOTING_RESULTS.TIE;\n }\n\n private generateCurrentGameHistoryRecordPlayVotingToInsert(\n baseGame: GameWithCurrentPlay,\n newGame: Game,\n gameHistoryRecordToInsert: GameHistoryRecordToInsert,\n ): GameHistoryRecordPlayVoting {\n const votes = gameHistoryRecordToInsert.play.votes ?? [];\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, baseGame);\n const gameHistoryRecordPlayVoting: GameHistoryRecordPlayVoting = {\n result: this.generateCurrentGameHistoryRecordPlayVotingResultToInsert(baseGame, newGame, gameHistoryRecordToInsert),\n nominatedPlayers,\n };\n return plainToInstance(GameHistoryRecordPlayVoting, gameHistoryRecordPlayVoting, { ...plainToInstanceDefaultOptions, enableCircularCheck: true });\n }\n \n private generateCurrentGameHistoryRecordPlaySourceToInsert(baseGame: GameWithCurrentPlay): GameHistoryRecordPlaySource {\n const gameHistoryRecordPlaySource: GameHistoryRecordPlaySource = {\n name: baseGame.currentPlay.source,\n players: getExpectedPlayersToPlay(baseGame),\n };\n return plainToInstance(GameHistoryRecordPlaySource, gameHistoryRecordPlaySource, { ...plainToInstanceDefaultOptions, enableCircularCheck: true });\n }\n\n private validateGameHistoryRecordToInsertPlayData(play: GameHistoryRecordPlay, game: Game): void {\n const unmatchedSource = getNonexistentPlayer(game.players, play.source.players);\n if (unmatchedSource) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedSource._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_PLAYER_SOURCE);\n }\n const unmatchedTarget = getNonexistentPlayer(game.players, play.targets?.map(target => target.player));\n if (unmatchedTarget) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedTarget._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_PLAYER_TARGET);\n }\n const unmatchedVoter = getNonexistentPlayer(game.players, play.votes?.map(vote => vote.source));\n if (unmatchedVoter) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedVoter._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_PLAYER_VOTE_SOURCE);\n }\n const unmatchedVoteTarget = getNonexistentPlayer(game.players, play.votes?.map(vote => vote.target));\n if (unmatchedVoteTarget) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedVoteTarget._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_PLAYER_VOTE_TARGET);\n }\n if (play.chosenCard && !getAdditionalCardWithId(game.additionalCards, play.chosenCard._id)) {\n throw new ResourceNotFoundException(API_RESOURCES.GAME_ADDITIONAL_CARDS, play.chosenCard._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_CHOSEN_CARD);\n }\n }\n\n private async validateGameHistoryRecordToInsertData(gameHistoryRecordToInsert: GameHistoryRecordToInsert): Promise {\n const { gameId, play, revealedPlayers, deadPlayers } = gameHistoryRecordToInsert;\n const game = await this.gameRepository.findOne({ _id: gameId });\n if (game === null) {\n throw new ResourceNotFoundException(API_RESOURCES.GAMES, gameId.toString(), RESOURCE_NOT_FOUND_REASONS.UNKNOWN_GAME_PLAY_GAME_ID);\n }\n const unmatchedRevealedPlayer = getNonexistentPlayer(game.players, revealedPlayers);\n if (unmatchedRevealedPlayer) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedRevealedPlayer._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_REVEALED_PLAYER);\n }\n const unmatchedDeadPlayer = getNonexistentPlayer(game.players, deadPlayers);\n if (unmatchedDeadPlayer) {\n throw new ResourceNotFoundException(API_RESOURCES.PLAYERS, unmatchedDeadPlayer._id.toString(), RESOURCE_NOT_FOUND_REASONS.UNMATCHED_GAME_PLAY_DEAD_PLAYER);\n }\n this.validateGameHistoryRecordToInsertPlayData(play, game);\n }\n}" + }, + "src/modules/game/providers/services/game-phase/game-phase.service.ts": { + "language": "typescript", + "mutants": [ + { + "id": "1143", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(19,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, "killedBy": [], "coveredBy": [ - "753", - "754" + "762" + ], + "location": { + "end": { + "column": 4, + "line": 25 + }, + "start": { + "column": 97, + "line": 19 + } + } + }, + { + "id": "1144", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: {\"_id\": \"c6bc6c3873f265d9287731a7\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Alba\", \"position\": 2706767937011712, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"d70b890b01cb004ee3169f18\", \"additionalCards\": undefined, \"createdAt\": 2023-08-01T02:53:06.940Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 155116780912640}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"c6bc6c3873f265d9287731a7\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Alba\", \"position\": 2706767937011712, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"a16e02be3860408cfd7a1be5\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Annie\", \"position\": 3609674660184064, \"role\": {\"current\": \"angel\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"d6398db6c6a8947cb7dbb3cd\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Zoie\", \"position\": 3954812668346368, \"role\": {\"current\": \"villager-villager\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"werewolves\"}}, {\"_id\": \"9ecef03fdd5e3ed4ff1dcf4e\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Delta\", \"position\": 2402602125885440, \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 3026921120071680, \"turn\": 4304216801673216, \"upcomingPlays\": [], \"updatedAt\": 2023-08-01T07:34:06.209Z, \"victory\": undefined}\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:75:96)", + "status": "Killed", + "testsCompleted": 1, + "static": false, + "killedBy": [ + "762" + ], + "coveredBy": [ + "762" + ], + "location": { + "end": { + "column": 6, + "line": 23 + }, + "start": { + "column": 46, + "line": 21 + } + } + }, + { + "id": "1145", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(27,72): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "763", + "764" + ], + "location": { + "end": { + "column": 4, + "line": 35 + }, + "start": { + "column": 86, + "line": 27 + } + } + }, + { + "id": "1146", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 3\n\n@@ -73,11 +73,11 @@\n \"wildChild\": WildChildGameOptions {\n \"isTransformationRevealed\": false,\n },\n },\n },\n- \"phase\": \"night\",\n+ \"phase\": \"day\",\n \"players\": Array [],\n \"status\": \"playing\",\n \"tick\": 5370907803516928,\n \"turn\": 7567433629958144,\n \"upcomingPlays\": Array [\n@@ -85,18 +85,13 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"cause\": undefined,\n- \"source\": \"seer\",\n+ \"source\": \"all\",\n },\n ],\n \"updatedAt\": 2023-08-01T20:27:52.380Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:99:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "763" + ], + "coveredBy": [ + "763", + "764" + ], + "location": { + "end": { + "column": 62, + "line": 29 + }, + "start": { + "column": 24, + "line": 29 + } + } + }, + { + "id": "1147", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 8\n\n@@ -73,11 +73,11 @@\n \"wildChild\": WildChildGameOptions {\n \"isTransformationRevealed\": false,\n },\n },\n },\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"players\": Array [],\n \"status\": \"over\",\n \"tick\": 4684889873973248,\n \"turn\": 6466506823041024,\n \"upcomingPlays\": Array [\n@@ -85,13 +85,18 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n+ \"cause\": undefined,\n+ \"source\": \"werewolves\",\n+ },\n+ GamePlay {\n+ \"action\": \"look\",\n \"cause\": undefined,\n- \"source\": \"all\",\n+ \"source\": \"seer\",\n },\n ],\n \"updatedAt\": 2023-08-01T11:36:28.573Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:110:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "764" + ], + "coveredBy": [ + "763", + "764" + ], + "location": { + "end": { + "column": 62, + "line": 29 + }, + "start": { + "column": 24, + "line": 29 + } + } + }, + { + "id": "1148", + "mutatorName": "EqualityOperator", + "replacement": "clonedGame.phase !== GAME_PHASES.NIGHT", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 3\n\n@@ -73,11 +73,11 @@\n \"wildChild\": WildChildGameOptions {\n \"isTransformationRevealed\": true,\n },\n },\n },\n- \"phase\": \"night\",\n+ \"phase\": \"day\",\n \"players\": Array [],\n \"status\": \"over\",\n \"tick\": 716648359133184,\n \"turn\": 1317677737967616,\n \"upcomingPlays\": Array [\n@@ -85,18 +85,13 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"cause\": undefined,\n- \"source\": \"seer\",\n+ \"source\": \"all\",\n },\n ],\n \"updatedAt\": 2023-08-01T17:33:48.792Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:99:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "763" + ], + "coveredBy": [ + "763", + "764" + ], + "location": { + "end": { + "column": 62, + "line": 29 + }, + "start": { + "column": 24, + "line": 29 + } + } + }, + { + "id": "1149", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 7\n\n@@ -85,13 +85,18 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n+ \"cause\": undefined,\n+ \"source\": \"werewolves\",\n+ },\n+ GamePlay {\n+ \"action\": \"look\",\n \"cause\": undefined,\n- \"source\": \"all\",\n+ \"source\": \"seer\",\n },\n ],\n \"updatedAt\": 2023-08-01T10:21:11.124Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:110:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "764" + ], + "coveredBy": [ + "763", + "764" ], "location": { "end": { @@ -40942,7 +41233,29 @@ } }, { - "id": "1144", + "id": "1150", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "763", + "764" + ], + "location": { + "end": { + "column": 70, + "line": 32 + }, + "start": { + "column": 32, + "line": 32 + } + } + }, + { + "id": "1151", "mutatorName": "EqualityOperator", "replacement": "clonedGame.phase !== GAME_PHASES.NIGHT", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 2\n\n@@ -85,18 +85,13 @@\n \"action\": \"shoot\",\n \"cause\": undefined,\n \"source\": \"hunter\",\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"cause\": undefined,\n- \"source\": \"seer\",\n+ \"source\": \"all\",\n },\n ],\n \"updatedAt\": 2023-08-01T18:43:00.837Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:99:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40950,11 +41263,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "753" + "763" ], "coveredBy": [ - "753", - "754" + "763", + "764" ], "location": { "end": { @@ -40968,7 +41281,7 @@ } }, { - "id": "1145", + "id": "1152", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 17\n+ Received + 1\n\n@@ -78,25 +78,9 @@\n \"phase\": \"night\",\n \"players\": Array [],\n \"status\": \"over\",\n \"tick\": 8423466512416768,\n \"turn\": 8010631550599168,\n- \"upcomingPlays\": Array [\n- GamePlay {\n- \"action\": \"shoot\",\n- \"cause\": undefined,\n- \"source\": \"hunter\",\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"cause\": undefined,\n- \"source\": \"werewolves\",\n- },\n- GamePlay {\n- \"action\": \"look\",\n- \"cause\": undefined,\n- \"source\": \"seer\",\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": 2023-08-01T16:41:34.103Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:99:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -40976,11 +41289,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "753" + "763" ], "coveredBy": [ - "753", - "754" + "763", + "764" ], "location": { "end": { @@ -40994,7 +41307,7 @@ } }, { - "id": "1146", + "id": "1153", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(35,93): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -41002,8 +41315,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "755", - "756" + "765", + "766" ], "location": { "end": { @@ -41017,7 +41330,7 @@ } }, { - "id": "1147", + "id": "1154", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"f1cdfb3bee42fd4a7e665fb3\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T01:58:18.583Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1784036141826048}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"bec3a8acfdbfddce5fd3dc27\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Orin\", \"position\": 321735096270848, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 508690782224384, \"turn\": 6108992824672256, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T02:54:31.825Z, \"victory\": undefined}\nReceived: undefined\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:119:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -41025,11 +41338,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "755" + "765" ], "coveredBy": [ - "755", - "756" + "765", + "766" ], "location": { "end": { @@ -41043,15 +41356,15 @@ } }, { - "id": "1148", + "id": "1155", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "755", - "756" + "765", + "766" ], "location": { "end": { @@ -41065,7 +41378,7 @@ } }, { - "id": "1149", + "id": "1156", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:128:79)", @@ -41073,10 +41386,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "756" + "766" ], "coveredBy": [ - "756" + "766" ], "location": { "end": { @@ -41090,7 +41403,7 @@ } }, { - "id": "1150", + "id": "1157", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(44,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -41098,8 +41411,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "757", - "758" + "767", + "768" ], "location": { "end": { @@ -41113,7 +41426,7 @@ } }, { - "id": "1151", + "id": "1158", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(49,108): error TS2345: Argument of type 'PlayerAttribute | undefined' is not assignable to parameter of type 'PlayerAttribute'.\n Type 'undefined' is not assignable to type 'PlayerAttribute'.\n", @@ -41121,8 +41434,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "757", - "758" + "767", + "768" ], "location": { "end": { @@ -41136,7 +41449,7 @@ } }, { - "id": "1152", + "id": "1159", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(49,108): error TS2345: Argument of type 'PlayerAttribute | undefined' is not assignable to parameter of type 'PlayerAttribute'.\n Type 'undefined' is not assignable to type 'PlayerAttribute'.\n", @@ -41144,8 +41457,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "757", - "758" + "767", + "768" ], "location": { "end": { @@ -41159,14 +41472,14 @@ } }, { - "id": "1153", + "id": "1160", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "758" + "768" ], "location": { "end": { @@ -41180,15 +41493,15 @@ } }, { - "id": "1154", + "id": "1161", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "757", - "758" + "767", + "768" ], "location": { "end": { @@ -41202,7 +41515,7 @@ } }, { - "id": "1155", + "id": "1162", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:155:83)", @@ -41210,11 +41523,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "758" + "768" ], "coveredBy": [ - "757", - "758" + "767", + "768" ], "location": { "end": { @@ -41228,7 +41541,7 @@ } }, { - "id": "1156", + "id": "1163", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:155:83)", @@ -41236,10 +41549,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "758" + "768" ], "coveredBy": [ - "758" + "768" ], "location": { "end": { @@ -41253,7 +41566,7 @@ } }, { - "id": "1157", + "id": "1164", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-phase/game-phase.service.ts(57,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -41261,141 +41574,1168 @@ "static": false, "killedBy": [], "coveredBy": [ - "759", - "760" + "769", + "770" + ], + "location": { + "end": { + "column": 4, + "line": 66 + }, + "start": { + "column": 113, + "line": 59 + } + } + }, + { + "id": "1165", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:190:90)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "770" + ], + "coveredBy": [ + "769", + "770" + ], + "location": { + "end": { + "column": 47, + "line": 62 + }, + "start": { + "column": 9, + "line": 62 + } + } + }, + { + "id": "1166", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "769", + "770" + ], + "location": { + "end": { + "column": 47, + "line": 62 + }, + "start": { + "column": 9, + "line": 62 + } + } + }, + { + "id": "1167", + "mutatorName": "EqualityOperator", + "replacement": "clonedGame.phase !== GAME_PHASES.NIGHT", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:181:92)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "769" + ], + "coveredBy": [ + "769", + "770" + ], + "location": { + "end": { + "column": 47, + "line": 62 + }, + "start": { + "column": 9, + "line": 62 + } + } + }, + { + "id": "1168", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "769" + ], + "location": { + "end": { + "column": 6, + "line": 64 + }, + "start": { + "column": 49, + "line": 62 + } + } + } + ], + "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep } from \"lodash\";\nimport { GAME_PHASES } from \"../../../enums/game.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES } from \"../../../enums/player.enum\";\nimport { getPlayerAttribute } from \"../../../helpers/player/player-attribute/player-attribute.helper\";\nimport { doesPlayerHaveAttribute } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport { GamePlayService } from \"../game-play/game-play.service\";\nimport { PlayerAttributeService } from \"../player/player-attribute.service\";\n\n@Injectable()\nexport class GamePhaseService {\n public constructor(\n private readonly playerAttributeService: PlayerAttributeService,\n private readonly gamePlayService: GamePlayService,\n ) {}\n\n public async applyEndingGamePhasePlayerAttributesOutcomesToPlayers(game: Game): Promise {\n let clonedGame = cloneDeep(game);\n for (const player of clonedGame.players) {\n clonedGame = await this.applyEndingGamePhasePlayerAttributesOutcomesToPlayer(player, clonedGame);\n }\n return clonedGame;\n }\n\n public async switchPhaseAndAppendGamePhaseUpcomingPlays(game: Game): Promise {\n const clonedGame = cloneDeep(game);\n clonedGame.phase = clonedGame.phase === GAME_PHASES.NIGHT ? GAME_PHASES.DAY : GAME_PHASES.NIGHT;\n const upcomingNightPlays = await this.gamePlayService.getUpcomingNightPlays(clonedGame);\n const upcomingDayPlays = this.gamePlayService.getUpcomingDayPlays();\n const phaseUpcomingPlays = clonedGame.phase === GAME_PHASES.NIGHT ? upcomingNightPlays : upcomingDayPlays;\n clonedGame.upcomingPlays = [...clonedGame.upcomingPlays, ...phaseUpcomingPlays];\n return clonedGame;\n }\n\n private async applyEndingDayPlayerAttributesOutcomesToPlayer(player: Player, game: Game): Promise {\n let clonedGame = cloneDeep(game);\n const clonedPlayer = cloneDeep(player);\n if (doesPlayerHaveAttribute(clonedPlayer, PLAYER_ATTRIBUTE_NAMES.CONTAMINATED)) {\n clonedGame = await this.playerAttributeService.applyContaminatedAttributeOutcomes(clonedPlayer, clonedGame);\n }\n return clonedGame;\n }\n\n private async applyEndingNightPlayerAttributesOutcomesToPlayer(player: Player, game: Game): Promise {\n let clonedGame = cloneDeep(game);\n const clonedPlayer = cloneDeep(player);\n const eatenAttribute = getPlayerAttribute(clonedPlayer, PLAYER_ATTRIBUTE_NAMES.EATEN);\n if (eatenAttribute) {\n clonedGame = await this.playerAttributeService.applyEatenAttributeOutcomes(clonedPlayer, clonedGame, eatenAttribute);\n }\n if (doesPlayerHaveAttribute(clonedPlayer, PLAYER_ATTRIBUTE_NAMES.DRANK_DEATH_POTION)) {\n clonedGame = await this.playerAttributeService.applyDrankDeathPotionAttributeOutcomes(clonedPlayer, clonedGame);\n }\n return clonedGame;\n }\n \n private async applyEndingGamePhasePlayerAttributesOutcomesToPlayer(player: Player, game: Game): Promise {\n const clonedGame = cloneDeep(game);\n const clonedPlayer = cloneDeep(player);\n if (clonedGame.phase === GAME_PHASES.NIGHT) {\n return this.applyEndingNightPlayerAttributesOutcomesToPlayer(clonedPlayer, clonedGame);\n }\n return this.applyEndingDayPlayerAttributesOutcomesToPlayer(clonedPlayer, clonedGame);\n }\n}" + }, + "src/modules/game/providers/services/game-play/game-play-maker.service.ts": { + "language": "typescript", + "mutants": [ + { + "id": "1169", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:65:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 107, + "static": true, + "killedBy": [ + "133" + ], + "coveredBy": [ + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" + ], + "location": { + "end": { + "column": 4, + "line": 45 + }, + "start": { + "column": 162, + "line": 27 + } + } + }, + { + "id": "1170", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(28,33): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, + "killedBy": [], + "coveredBy": [ + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" + ], + "location": { + "end": { + "column": 84, + "line": 28 + }, + "start": { + "column": 33, + "line": 28 + } + } + }, + { + "id": "1171", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(29,32): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, + "killedBy": [], + "coveredBy": [ + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" + ], + "location": { + "end": { + "column": 79, + "line": 29 + }, + "start": { + "column": 32, + "line": 29 + } + } + }, + { + "id": "1172", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(30,34): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, + "killedBy": [], + "coveredBy": [ + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" + ], + "location": { + "end": { + "column": 84, + "line": 30 + }, + "start": { + "column": 34, + "line": 30 + } + } + }, + { + "id": "1173", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(31,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, + "killedBy": [], + "coveredBy": [ + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 4, - "line": 66 + "column": 66, + "line": 31 }, "start": { - "column": 113, - "line": 59 + "column": 24, + "line": 31 } } }, { - "id": "1158", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:190:90)", - "status": "Killed", - "testsCompleted": 2, - "static": false, - "killedBy": [ - "760" - ], + "id": "1174", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(32,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, + "killedBy": [], "coveredBy": [ - "759", - "760" + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 47, - "line": 62 + "column": 69, + "line": 32 }, "start": { - "column": 9, - "line": 62 + "column": 25, + "line": 32 } } }, { - "id": "1159", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", - "static": false, + "id": "1175", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(33,30): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "killedBy": [], "coveredBy": [ - "759", - "760" + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 47, - "line": 62 + "column": 78, + "line": 33 }, "start": { - "column": 9, - "line": 62 + "column": 30, + "line": 33 } } }, { - "id": "1160", - "mutatorName": "EqualityOperator", - "replacement": "clonedGame.phase !== GAME_PHASES.NIGHT", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts:181:92)", - "status": "Killed", - "testsCompleted": 2, - "static": false, - "killedBy": [ - "759" - ], + "id": "1176", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(34,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, + "killedBy": [], "coveredBy": [ - "759", - "760" + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 47, - "line": 62 + "column": 74, + "line": 34 }, "start": { - "column": 9, - "line": 62 + "column": 25, + "line": 34 } } }, { - "id": "1161", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", - "static": false, + "id": "1177", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(35,26): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "killedBy": [], "coveredBy": [ - "759" + "133", + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "195", + "196", + "197", + "198", + "199", + "200", + "201", + "202", + "203", + "204", + "205", + "206", + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 6, - "line": 64 + "column": 76, + "line": 35 }, "start": { - "column": 49, - "line": 62 + "column": 26, + "line": 35 } } - } - ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep } from \"lodash\";\nimport { GAME_PHASES } from \"../../../enums/game.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES } from \"../../../enums/player.enum\";\nimport { getPlayerAttribute } from \"../../../helpers/player/player-attribute/player-attribute.helper\";\nimport { doesPlayerHaveAttribute } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport { GamePlayService } from \"../game-play/game-play.service\";\nimport { PlayerAttributeService } from \"../player/player-attribute.service\";\n\n@Injectable()\nexport class GamePhaseService {\n public constructor(\n private readonly playerAttributeService: PlayerAttributeService,\n private readonly gamePlayService: GamePlayService,\n ) {}\n\n public async applyEndingGamePhasePlayerAttributesOutcomesToPlayers(game: Game): Promise {\n let clonedGame = cloneDeep(game);\n for (const player of clonedGame.players) {\n clonedGame = await this.applyEndingGamePhasePlayerAttributesOutcomesToPlayer(player, clonedGame);\n }\n return clonedGame;\n }\n\n public async switchPhaseAndAppendGamePhaseUpcomingPlays(game: Game): Promise {\n const clonedGame = cloneDeep(game);\n clonedGame.phase = clonedGame.phase === GAME_PHASES.NIGHT ? GAME_PHASES.DAY : GAME_PHASES.NIGHT;\n const upcomingNightPlays = await this.gamePlayService.getUpcomingNightPlays(clonedGame);\n const upcomingDayPlays = this.gamePlayService.getUpcomingDayPlays();\n const phaseUpcomingPlays = clonedGame.phase === GAME_PHASES.NIGHT ? upcomingNightPlays : upcomingDayPlays;\n clonedGame.upcomingPlays = [...clonedGame.upcomingPlays, ...phaseUpcomingPlays];\n return clonedGame;\n }\n\n private async applyEndingDayPlayerAttributesOutcomesToPlayer(player: Player, game: Game): Promise {\n let clonedGame = cloneDeep(game);\n const clonedPlayer = cloneDeep(player);\n if (doesPlayerHaveAttribute(clonedPlayer, PLAYER_ATTRIBUTE_NAMES.CONTAMINATED)) {\n clonedGame = await this.playerAttributeService.applyContaminatedAttributeOutcomes(clonedPlayer, clonedGame);\n }\n return clonedGame;\n }\n\n private async applyEndingNightPlayerAttributesOutcomesToPlayer(player: Player, game: Game): Promise {\n let clonedGame = cloneDeep(game);\n const clonedPlayer = cloneDeep(player);\n const eatenAttribute = getPlayerAttribute(clonedPlayer, PLAYER_ATTRIBUTE_NAMES.EATEN);\n if (eatenAttribute) {\n clonedGame = await this.playerAttributeService.applyEatenAttributeOutcomes(clonedPlayer, clonedGame, eatenAttribute);\n }\n if (doesPlayerHaveAttribute(clonedPlayer, PLAYER_ATTRIBUTE_NAMES.DRANK_DEATH_POTION)) {\n clonedGame = await this.playerAttributeService.applyDrankDeathPotionAttributeOutcomes(clonedPlayer, clonedGame);\n }\n return clonedGame;\n }\n \n private async applyEndingGamePhasePlayerAttributesOutcomesToPlayer(player: Player, game: Game): Promise {\n const clonedGame = cloneDeep(game);\n const clonedPlayer = cloneDeep(player);\n if (clonedGame.phase === GAME_PHASES.NIGHT) {\n return this.applyEndingNightPlayerAttributesOutcomesToPlayer(clonedPlayer, clonedGame);\n }\n return this.applyEndingDayPlayerAttributesOutcomesToPlayer(clonedPlayer, clonedGame);\n }\n}" - }, - "src/modules/game/providers/services/game-play/game-play-maker.service.ts": { - "language": "typescript", - "mutants": [ + }, { - "id": "1162", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:65:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 107, + "id": "1178", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(36,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", "static": true, - "killedBy": [ - "125" - ], + "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -41481,36 +42821,36 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 4, - "line": 45 + "column": 71, + "line": 36 }, "start": { - "column": 162, - "line": 27 + "column": 25, + "line": 36 } } }, { - "id": "1163", + "id": "1179", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(28,33): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(37,23): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", "static": true, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -41596,36 +42936,36 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 84, - "line": 28 + "column": 65, + "line": 37 }, "start": { - "column": 33, - "line": 28 + "column": 23, + "line": 37 } } }, { - "id": "1164", + "id": "1180", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(29,32): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(38,30): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", "static": true, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -41711,36 +43051,36 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 79, - "line": 29 + "column": 84, + "line": 38 }, "start": { - "column": 32, - "line": 29 + "column": 30, + "line": 38 } } }, { - "id": "1165", + "id": "1181", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(30,34): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(39,28): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", "static": true, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -41826,36 +43166,36 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 84, - "line": 30 + "column": 79, + "line": 39 }, "start": { - "column": 34, - "line": 30 + "column": 28, + "line": 39 } } }, { - "id": "1166", + "id": "1182", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(31,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(40,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", "static": true, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -41941,36 +43281,36 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 66, - "line": 31 + "column": 81, + "line": 40 }, "start": { - "column": 24, - "line": 31 + "column": 29, + "line": 40 } } }, { - "id": "1167", + "id": "1183", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(32,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(41,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", "static": true, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -42056,36 +43396,36 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 69, - "line": 32 + "column": 74, + "line": 41 }, "start": { "column": 25, - "line": 32 + "line": 41 } } }, { - "id": "1168", + "id": "1184", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(33,30): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(42,26): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", "static": true, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -42171,36 +43511,36 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 78, - "line": 33 + "column": 71, + "line": 42 }, "start": { - "column": 30, - "line": 33 + "column": 26, + "line": 42 } } }, { - "id": "1169", + "id": "1185", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(34,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(43,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", "static": true, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -42286,36 +43626,36 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 74, - "line": 34 + "column": 68, + "line": 43 }, "start": { "column": 25, - "line": 34 + "line": 43 } } }, { - "id": "1170", + "id": "1186", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(35,26): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(44,39): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", "static": true, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", "133", "134", "135", @@ -42401,38 +43741,282 @@ "215", "216", "217", - "218" + "218", + "219", + "220", + "221", + "222", + "223", + "224", + "225", + "226" + ], + "location": { + "end": { + "column": 89, + "line": 44 + }, + "start": { + "column": 39, + "line": 44 + } + } + }, + { + "id": "1187", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(52,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": [ + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "566", + "567" + ], + "location": { + "end": { + "column": 4, + "line": 62 + }, + "start": { + "column": 92, + "line": 52 + } + } + }, + { + "id": "1188", + "mutatorName": "BooleanLiteral", + "replacement": "game.currentPlay", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 22, + "static": false, + "killedBy": [ + "566" + ], + "coveredBy": [ + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "566", + "567" + ], + "location": { + "end": { + "column": 26, + "line": 53 + }, + "start": { + "column": 9, + "line": 53 + } + } + }, + { + "id": "1189", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(61,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "566", + "567" + ], + "location": { + "end": { + "column": 26, + "line": 53 + }, + "start": { + "column": 9, + "line": 53 + } + } + }, + { + "id": "1190", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:124:91)", + "status": "Killed", + "testsCompleted": 22, + "static": false, + "killedBy": [ + "134" + ], + "coveredBy": [ + "134", + "135", + "136", + "137", + "138", + "139", + "140", + "141", + "142", + "143", + "144", + "145", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "566", + "567" + ], + "location": { + "end": { + "column": 26, + "line": 53 + }, + "start": { + "column": 9, + "line": 53 + } + } + }, + { + "id": "1191", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:124:91)", + "status": "Killed", + "testsCompleted": 1, + "static": false, + "killedBy": [ + "134" + ], + "coveredBy": [ + "134" + ], + "location": { + "end": { + "column": 6, + "line": 55 + }, + "start": { + "column": 28, + "line": 53 + } + } + }, + { + "id": "1192", + "mutatorName": "StringLiteral", + "replacement": "\"\"", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "134" + ], + "location": { + "end": { + "column": 70, + "line": 54 + }, + "start": { + "column": 56, + "line": 54 + } + } + }, + { + "id": "1193", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(52,72): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; }'.\n Property 'gameId' is missing in type '{}' but required in type '{ gameId: ObjectId; }'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "134" ], "location": { "end": { - "column": 76, - "line": 35 + "column": 92, + "line": 54 }, "start": { - "column": 26, - "line": 35 + "column": 72, + "line": 54 } } }, { - "id": "1171", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(36,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1194", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(61,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", "status": "CompileError", - "static": true, + "static": false, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", "135", "136", "137", @@ -42452,102 +44036,29 @@ "151", "152", "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "566", + "567" ], "location": { "end": { - "column": 71, - "line": 36 + "column": 43, + "line": 58 }, "start": { - "column": 25, - "line": 36 + "column": 9, + "line": 58 } } }, { - "id": "1172", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(37,23): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1195", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(61,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", "status": "CompileError", - "static": true, + "static": false, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", "135", "136", "137", @@ -42567,102 +44078,29 @@ "151", "152", "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "566", + "567" ], "location": { "end": { - "column": 65, - "line": 37 + "column": 43, + "line": 58 }, "start": { - "column": 23, - "line": 37 + "column": 9, + "line": 58 } } }, { - "id": "1173", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(38,30): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1196", + "mutatorName": "EqualityOperator", + "replacement": "gameSourcePlayMethod !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(61,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", "status": "CompileError", - "static": true, + "static": false, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", "135", "136", "137", @@ -42682,16823 +44120,16865 @@ "151", "152", "153", + "566", + "567" + ], + "location": { + "end": { + "column": 43, + "line": 58 + }, + "start": { + "column": 9, + "line": 58 + } + } + }, + { + "id": "1197", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(57,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "135", + "136" + ], + "location": { + "end": { + "column": 6, + "line": 60 + }, + "start": { + "column": 45, + "line": 58 + } + } + }, + { + "id": "1198", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(62,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ "154", - "155", + "155" + ], + "location": { + "end": { + "column": 4, + "line": 73 + }, + "start": { + "column": 122, + "line": 64 + } + } + }, + { + "id": "1199", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(68,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "154", + "155" + ], + "location": { + "end": { + "column": 48, + "line": 67 + }, + "start": { + "column": 9, + "line": 67 + } + } + }, + { + "id": "1200", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(68,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "154", + "155" + ], + "location": { + "end": { + "column": 48, + "line": 67 + }, + "start": { + "column": 9, + "line": 67 + } + } + }, + { + "id": "1201", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(68,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "154", + "155" + ], + "location": { + "end": { + "column": 48, + "line": 67 + }, + "start": { + "column": 9, + "line": 67 + } + } + }, + { + "id": "1202", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(65,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(68,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "154", + "155" + ], + "location": { + "end": { + "column": 24, + "line": 67 + }, + "start": { + "column": 9, + "line": 67 + } + } + }, + { + "id": "1203", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(66,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "154" + ], + "location": { + "end": { + "column": 6, + "line": 69 + }, + "start": { + "column": 50, + "line": 67 + } + } + }, + { + "id": "1204", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(73,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": [ "156", - "157", - "158", - "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "157" + ], + "location": { + "end": { + "column": 4, + "line": 88 + }, + "start": { + "column": 104, + "line": 75 + } + } + }, + { + "id": "1205", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(79,28): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(82,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "156", + "157" + ], + "location": { + "end": { + "column": 48, + "line": 78 + }, + "start": { + "column": 9, + "line": 78 + } + } + }, + { + "id": "1206", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(79,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "156", + "157" + ], + "location": { + "end": { + "column": 48, + "line": 78 + }, + "start": { + "column": 9, + "line": 78 + } + } + }, + { + "id": "1207", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(79,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "156", + "157" ], "location": { "end": { - "column": 84, - "line": 38 + "column": 48, + "line": 78 }, "start": { - "column": 30, - "line": 38 + "column": 9, + "line": 78 } } }, { - "id": "1174", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(39,28): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1208", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(76,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(79,28): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", - "static": true, + "static": false, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "146", - "147", - "148", - "149", - "150", - "151", - "152", - "153", - "154", - "155", "156", - "157", - "158", - "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "157" ], "location": { "end": { - "column": 79, - "line": 39 + "column": 24, + "line": 78 }, "start": { - "column": 28, - "line": 39 + "column": 9, + "line": 78 } } }, { - "id": "1175", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(40,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1209", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(77,28): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", - "static": true, + "static": false, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "146", - "147", - "148", - "149", - "150", - "151", - "152", - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "156" ], "location": { "end": { - "column": 81, - "line": 40 + "column": 6, + "line": 80 }, "start": { - "column": 29, - "line": 40 + "column": 50, + "line": 78 } } }, { - "id": "1176", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(41,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1210", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(82,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", "status": "CompileError", - "static": true, + "static": false, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "146", - "147", - "148", - "149", - "150", - "151", - "152", - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "157" ], "location": { "end": { - "column": 74, - "line": 41 + "column": 22, + "line": 83 }, "start": { - "column": 25, - "line": 41 + "column": 9, + "line": 83 } } }, { - "id": "1177", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(42,26): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1211", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(82,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", "status": "CompileError", - "static": true, + "static": false, + "killedBy": [], + "coveredBy": [ + "157" + ], + "location": { + "end": { + "column": 22, + "line": 83 + }, + "start": { + "column": 9, + "line": 83 + } + } + }, + { + "id": "1212", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "157" + ], + "location": { + "end": { + "column": 6, + "line": 85 + }, + "start": { + "column": 24, + "line": 83 + } + } + }, + { + "id": "1213", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(90,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": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "146", - "147", - "148", - "149", - "150", - "151", - "152", - "153", - "154", - "155", - "156", - "157", "158", "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "160" + ], + "location": { + "end": { + "column": 4, + "line": 101 + }, + "start": { + "column": 108, + "line": 90 + } + } + }, + { + "id": "1214", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:355:64)", + "status": "Killed", + "testsCompleted": 3, + "static": false, + "killedBy": [ + "159" + ], + "coveredBy": [ + "158", + "159", + "160" ], "location": { "end": { - "column": 71, - "line": 42 + "column": 6, + "line": 95 }, "start": { - "column": 26, - "line": 42 + "column": 96, + "line": 92 } } }, { - "id": "1178", + "id": "1215", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(43,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(93,37): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", - "static": true, + "static": false, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "146", - "147", - "148", - "149", - "150", - "151", - "152", - "153", - "154", - "155", - "156", - "157", "158", "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "160" ], "location": { "end": { - "column": 68, - "line": 43 + "column": 82, + "line": 93 }, "start": { - "column": 25, - "line": 43 + "column": 37, + "line": 93 } } }, { - "id": "1179", + "id": "1216", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(44,39): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(94,41): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", - "static": true, + "static": false, "killedBy": [], "coveredBy": [ - "125", - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "146", - "147", - "148", - "149", - "150", - "151", - "152", - "153", - "154", - "155", - "156", - "157", "158", "159", - "160", - "161", - "162", - "163", - "164", - "165", - "166", - "167", - "168", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "195", - "196", - "197", - "198", - "199", - "200", - "201", - "202", - "203", - "204", - "205", - "206", - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218" + "160" ], "location": { "end": { - "column": 89, - "line": 44 + "column": 94, + "line": 94 }, "start": { - "column": 39, - "line": 44 + "column": 41, + "line": 94 } } }, { - "id": "1180", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(52,78): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "1217", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(100,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "556", - "557" + "158", + "159", + "160" ], "location": { "end": { - "column": 4, - "line": 62 + "column": 40, + "line": 97 }, "start": { - "column": 92, - "line": 52 + "column": 9, + "line": 97 } } }, { - "id": "1181", - "mutatorName": "BooleanLiteral", - "replacement": "game.currentPlay", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 22, + "id": "1218", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(100,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "556", - "557" + "158", + "159", + "160" ], "location": { "end": { - "column": 26, - "line": 53 + "column": 40, + "line": 97 }, "start": { "column": 9, - "line": 53 + "line": 97 } } }, { - "id": "1182", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(61,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "id": "1219", + "mutatorName": "EqualityOperator", + "replacement": "sheriffPlayMethod !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(100,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "556", - "557" + "158", + "159", + "160" ], "location": { "end": { - "column": 26, - "line": 53 + "column": 40, + "line": 97 }, "start": { "column": 9, - "line": 53 + "line": 97 } } }, { - "id": "1183", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:124:91)", - "status": "Killed", - "testsCompleted": 22, + "id": "1220", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(96,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "126" - ], + "killedBy": [], "coveredBy": [ - "126", - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "556", - "557" + "158" ], "location": { "end": { - "column": 26, - "line": 53 + "column": 6, + "line": 99 }, "start": { - "column": 9, - "line": 53 + "column": 42, + "line": 97 } } }, { - "id": "1184", + "id": "1221", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:124:91)", - "status": "Killed", - "testsCompleted": 1, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(103,62): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "126" + "killedBy": [], + "coveredBy": [ + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "566" + ], + "location": { + "end": { + "column": 4, + "line": 120 + }, + "start": { + "column": 76, + "line": 103 + } + } + }, + { + "id": "1222", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "566" ], + "location": { + "end": { + "column": 69, + "line": 106 + }, + "start": { + "column": 9, + "line": 106 + } + } + }, + { + "id": "1223", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "126" + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 6, - "line": 55 + "column": 69, + "line": 106 }, "start": { - "column": 28, - "line": 53 + "column": 9, + "line": 106 } } }, { - "id": "1185", - "mutatorName": "StringLiteral", - "replacement": "\"\"", - "status": "Timeout", + "id": "1224", + "mutatorName": "LogicalOperator", + "replacement": "scapegoatPlayer || isPlayerAliveAndPowerful(scapegoatPlayer)", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(106,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "126" + "161", + "162", + "163", + "164", + "165", + "166", + "167", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 70, - "line": 54 + "column": 69, + "line": 106 }, "start": { - "column": 56, - "line": 54 + "column": 9, + "line": 106 } } }, { - "id": "1186", - "mutatorName": "ObjectLiteral", + "id": "1225", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(52,72): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; }'.\n Property 'gameId' is missing in type '{}' but required in type '{ gameId: ObjectId; }'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:680:60)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "164" + ], "coveredBy": [ - "126" + "164" ], "location": { "end": { - "column": 92, - "line": 54 + "column": 6, + "line": 109 }, "start": { - "column": 72, - "line": 54 + "column": 71, + "line": 106 } } }, { - "id": "1187", + "id": "1226", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(61,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\nExpected: not {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"34e5f804a3132339c1c7bcaa\", \"createdAt\": 2023-07-28T11:47:37.074Z, \"currentPlay\": {\"action\": \"eat\", \"cause\": undefined, \"source\": \"fox\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"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\": 5, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 3075220418068480}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"e0cda365634051bfedccbaae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Henriette\", \"position\": 4441720806703104, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"80b783edff4c5b5b324afab3\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marcella\", \"position\": 922169611649024, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ee9017d6b0c2cdd13fb6c72d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Moses\", \"position\": 7188295133954048, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"0505f3ceba508d4dd1b882ad\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Leon\", \"position\": 6269392878829568, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 4448024851906560, \"turn\": 4208860921331712, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T13:18:37.831Z}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:694:68)", + "status": "Killed", + "testsCompleted": 10, "static": false, - "killedBy": [], + "killedBy": [ + "165" + ], "coveredBy": [ - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "556", - "557" + "161", + "162", + "163", + "165", + "166", + "167", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 43, - "line": 58 + "column": 40, + "line": 111 }, "start": { "column": 9, - "line": 58 + "line": 111 } } }, { - "id": "1188", + "id": "1227", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(61,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "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\": \"92af4ef0fa8c2a2c501afe9c\", \"createdAt\": 2023-07-28T00:43:15.957Z, \"currentPlay\": {\"action\": \"ban-voting\", \"cause\": undefined, \"source\": \"ancient\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5073329822105600}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"454f0c1b6d0ea61076271ea2\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Alexane\", \"position\": 727514297139200, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"5dbfad3a2d0bf475cb3ab0e2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Domenico\", \"position\": 7190423411884032, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"7a2e633e910e74ba66c9bbee\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Austin\", \"position\": 6477858796994560, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1c930e34e9fe651aeabc9bdf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Misael\", \"position\": 3494509203685376, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 8020195960422400, \"turn\": 6915022433288192, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T07:23:43.891Z}], 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:722:64)", + "status": "Killed", + "testsCompleted": 10, "static": false, - "killedBy": [], + "killedBy": [ + "167" + ], "coveredBy": [ - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "556", - "557" + "161", + "162", + "163", + "165", + "166", + "167", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 43, - "line": 58 + "column": 40, + "line": 111 }, "start": { "column": 9, - "line": 58 + "line": 111 } } }, { - "id": "1189", + "id": "1228", "mutatorName": "EqualityOperator", - "replacement": "gameSourcePlayMethod !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(61,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "replacement": "sheriffPlayer?.isAlive !== true", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\nExpected: not {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"732cee5ac94ff63f6b4ab53e\", \"createdAt\": 2023-07-28T22:34:03.100Z, \"currentPlay\": {\"action\": \"eat\", \"cause\": undefined, \"source\": \"fox\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"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\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5518147612311552}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"d8fac03851b60e4b7cfdc3d5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Chester\", \"position\": 6170137493241856, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a9fcfe0bded4c41463cf82ac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Amy\", \"position\": 8165587201032192, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6cdf94ef6dc0dc017f1e680a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Betty\", \"position\": 1481153659797504, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bb3f0dedb4d231c738cc7d0e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Yazmin\", \"position\": 6037770925506560, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 2264799717097472, \"turn\": 8600263761854464, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T23:04:12.984Z}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:694:68)", + "status": "Killed", + "testsCompleted": 10, "static": false, - "killedBy": [], + "killedBy": [ + "165" + ], "coveredBy": [ - "127", - "128", - "129", - "130", - "131", - "132", - "133", - "134", - "135", - "136", - "137", - "138", - "139", - "140", - "141", - "142", - "143", - "144", - "145", - "556", - "557" + "161", + "162", + "163", + "165", + "166", + "167", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 43, - "line": 58 + "column": 40, + "line": 111 }, "start": { "column": 9, - "line": 58 + "line": 111 } } }, { - "id": "1190", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(57,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "id": "1229", + "mutatorName": "OptionalChaining", + "replacement": "sheriffPlayer.isAlive", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(111,9): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "127", - "128" + "161", + "162", + "163", + "165", + "166", + "167", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 6, - "line": 60 + "column": 31, + "line": 111 }, "start": { - "column": 45, - "line": 58 + "column": 9, + "line": 111 } } }, { - "id": "1191", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(62,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1230", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\nExpected: not {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"60cdbe75bbcda52d8ee3dacb\", \"createdAt\": 2023-07-28T19:28:38.823Z, \"currentPlay\": {\"action\": \"delegate\", \"cause\": undefined, \"source\": \"seer\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1756220098609152}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"accaffec1719fc6f6fea9ce9\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": false, \"name\": \"Jayden\", \"position\": 6415572545830912, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"1dac9048016ce41beffa9f59\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Timmothy\", \"position\": 6485551999877120, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"9de62e3a1cb05ea6ff0d4184\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eugene\", \"position\": 402497116045312, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"8ba7f28de00b8b18a6d0019a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ahmed\", \"position\": 5165782438772736, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 1906816816513024, \"turn\": 4363014629228544, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T18:42:35.747Z}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:708:68)", + "status": "Killed", + "testsCompleted": 10, "static": false, - "killedBy": [], + "killedBy": [ + "166" + ], "coveredBy": [ - "146", - "147" + "161", + "162", + "163", + "165", + "166", + "167", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 4, - "line": 73 + "column": 40, + "line": 111 }, "start": { - "column": 122, - "line": 64 + "column": 36, + "line": 111 } } }, { - "id": "1192", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(68,28): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1231", + "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\": \"ea6e04d7012bae9afea3a4c4\", \"createdAt\": 2023-07-28T07:19:40.819Z, \"currentPlay\": {\"action\": \"choose-side\", \"cause\": undefined, \"source\": \"dog-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6017581381058560}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"323da3beafdefeee0a1cbbff\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Icie\", \"position\": 111839883034624, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"30cbadacfdd542fa11f2ad99\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Linnea\", \"position\": 8200888311087104, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f56fc4dce3e65f0ea65d91ae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Felipe\", \"position\": 3687974115999744, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"2df13d4f9115a21f6c3e9e63\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Roslyn\", \"position\": 877362344361984, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 8904298100424704, \"turn\": 271362065170432, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T05:51:13.221Z}], 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:722:64)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "167" + ], "coveredBy": [ - "146", - "147" + "167" ], "location": { "end": { - "column": 48, - "line": 67 + "column": 6, + "line": 114 }, "start": { - "column": 9, - "line": 67 + "column": 42, + "line": 111 } } }, { - "id": "1193", + "id": "1232", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(68,28): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -149,8 +149,14 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 924709055102976,\n \"turn\": 6893015557734400,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"previous-votes-were-in-ties\",\n+ \"source\": \"all\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-30T19:32:18.219Z,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:513:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "170" + ], "coveredBy": [ - "146", - "147" + "161", + "162", + "163", + "165", + "166", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 48, - "line": 67 + "column": 86, + "line": 115 }, "start": { "column": 9, - "line": 67 + "line": 115 } } }, { - "id": "1194", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(68,28): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1233", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:64)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "168" + ], "coveredBy": [ - "146", - "147" + "161", + "162", + "163", + "165", + "166", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 48, - "line": 67 + "column": 86, + "line": 115 }, "start": { "column": 9, - "line": 67 + "line": 115 } } }, { - "id": "1195", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(65,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(68,28): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1234", + "mutatorName": "EqualityOperator", + "replacement": "clonedGame.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:486:64)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "168" + ], "coveredBy": [ - "146", - "147" + "161", + "162", + "163", + "165", + "166", + "168", + "169", + "170", + "566" ], "location": { "end": { - "column": 24, - "line": 67 + "column": 86, + "line": 115 }, "start": { "column": 9, - "line": 67 + "line": 115 } } }, { - "id": "1196", + "id": "1235", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(66,28): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:64)", + "status": "Killed", + "testsCompleted": 8, "static": false, - "killedBy": [], + "killedBy": [ + "168" + ], "coveredBy": [ - "146" + "161", + "162", + "163", + "165", + "166", + "168", + "169", + "566" ], "location": { "end": { "column": 6, - "line": 69 + "line": 118 }, "start": { - "column": 50, - "line": 67 + "column": 88, + "line": 115 } } }, { - "id": "1197", - "mutatorName": "BlockStatement", + "id": "1236", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(73,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "148", - "149" + "161", + "162", + "163", + "165", + "166", + "168", + "169", + "566" ], "location": { "end": { - "column": 4, - "line": 88 + "column": 108, + "line": 116 }, "start": { - "column": 104, - "line": 75 + "column": 53, + "line": 116 } } }, { - "id": "1198", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(79,28): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(82,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", + "id": "1237", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(122,123): 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", - "149" + "171", + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 48, - "line": 78 + "column": 4, + "line": 140 }, "start": { - "column": 9, - "line": 78 + "column": 137, + "line": 122 } } }, { - "id": "1199", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(79,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1238", + "mutatorName": "BooleanLiteral", + "replacement": "votes", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(127,75): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "148", - "149" + "171", + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 48, - "line": 78 + "column": 15, + "line": 124 }, "start": { "column": 9, - "line": 78 + "line": 124 } } }, { - "id": "1200", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(79,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1239", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(127,75): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "148", - "149" + "171", + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 48, - "line": 78 + "column": 15, + "line": 124 }, "start": { "column": 9, - "line": 78 + "line": 124 } } }, { - "id": "1201", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(76,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(79,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1240", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(127,75): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "148", - "149" + "171", + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 24, - "line": 78 + "column": 15, + "line": 124 }, "start": { "column": 9, - "line": 78 + "line": 124 } } }, { - "id": "1202", + "id": "1241", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(77,28): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "148" + "171" ], "location": { "end": { "column": 6, - "line": 80 - }, - "start": { - "column": 50, - "line": 78 - } - } - }, - { - "id": "1203", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(82,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "149" - ], - "location": { - "end": { - "column": 22, - "line": 83 + "line": 126 }, "start": { - "column": 9, - "line": 83 + "column": 17, + "line": 124 } } }, { - "id": "1204", + "id": "1242", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(82,54): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "566" + ], "coveredBy": [ - "149" + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 22, - "line": 83 + "column": 45, + "line": 128 }, "start": { "column": 9, - "line": 83 + "line": 128 } } }, { - "id": "1205", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1243", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"ac45c7ece3defaa8fafbb5d9\", \"createdAt\": 2023-07-30T19:00:41.515Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"cupid\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"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\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1315941828788224}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"57e467523dfff79d3f2e8a53\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gabriel\", \"position\": 7549518270693376, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"2a1ff3f56de7c16f7aa3ddda\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Deborah\", \"position\": 2975297341227008, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"aaa2e1fdcdd9ed7c75b6d7f1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Arlie\", \"position\": 7783520950812672, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1eaffb6aa7b579b908facbbe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Parker\", \"position\": 3838457164070912, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 4207429671714816, \"turn\": 2032904941076480, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": \"stuttering-judge-request\", \"source\": \"all\"}], \"updatedAt\": 2023-07-31T04:25:30.797Z}], but it was called with {\"_id\": \"ac45c7ece3defaa8fafbb5d9\", \"createdAt\": 2023-07-30T19:00:41.515Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"cupid\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"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\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1315941828788224}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"57e467523dfff79d3f2e8a53\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gabriel\", \"position\": 7549518270693376, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"2a1ff3f56de7c16f7aa3ddda\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Deborah\", \"position\": 2975297341227008, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"aaa2e1fdcdd9ed7c75b6d7f1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Arlie\", \"position\": 7783520950812672, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1eaffb6aa7b579b908facbbe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Parker\", \"position\": 3838457164070912, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 4207429671714816, \"turn\": 2032904941076480, \"upcomingPlays\": [], \"updatedAt\": 2023-07-31T04:25:30.797Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:601:64)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "174" + ], "coveredBy": [ - "149" + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 6, - "line": 85 + "column": 45, + "line": 128 }, "start": { - "column": 24, - "line": 83 + "column": 9, + "line": 128 } } }, { - "id": "1206", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(90,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1244", + "mutatorName": "EqualityOperator", + "replacement": "doesJudgeRequestAnotherVote !== 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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "566" + ], "coveredBy": [ - "150", - "151", - "152" + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 4, - "line": 101 + "column": 45, + "line": 128 }, "start": { - "column": 108, - "line": 90 + "column": 9, + "line": 128 } } }, { - "id": "1207", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:355:64)", + "id": "1245", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -149,8 +149,14 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 4967634026102784,\n \"turn\": 3639116983959552,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"stuttering-judge-request\",\n+ \"source\": \"all\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-30T10:02:38.387Z,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:557:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "151" + "172" ], "coveredBy": [ - "150", - "151", - "152" + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 6, - "line": 95 + "column": 45, + "line": 128 }, "start": { - "column": 96, - "line": 92 + "column": 41, + "line": 128 } } }, { - "id": "1208", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(93,37): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", - "status": "CompileError", + "id": "1246", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"c4b4979e1ec96d431a7bf2b0\", \"createdAt\": 2023-07-30T09:47:13.202Z, \"currentPlay\": {\"action\": \"protect\", \"cause\": undefined, \"source\": \"villager-villager\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"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\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 458061128925184}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"93e8ecf49dd37b3c8fd0e4d2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"D'angelo\", \"position\": 837521760059392, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b96f2cc63aa4d9d82ae94e9c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Berniece\", \"position\": 1670652775890944, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fef2109cfdc9bf4a2ba3e0bd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Glen\", \"position\": 5601825021493248, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6efbed5d3ae2331d7c25a1cf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rory\", \"position\": 1697418695409664, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 3594301346938880, \"turn\": 5545170552487936, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": \"stuttering-judge-request\", \"source\": \"all\"}], \"updatedAt\": 2023-07-30T20:56:13.128Z}], but it was called with {\"_id\": \"c4b4979e1ec96d431a7bf2b0\", \"createdAt\": 2023-07-30T09:47:13.202Z, \"currentPlay\": {\"action\": \"protect\", \"cause\": undefined, \"source\": \"villager-villager\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"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\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 458061128925184}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"93e8ecf49dd37b3c8fd0e4d2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"D'angelo\", \"position\": 837521760059392, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b96f2cc63aa4d9d82ae94e9c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Berniece\", \"position\": 1670652775890944, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fef2109cfdc9bf4a2ba3e0bd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Glen\", \"position\": 5601825021493248, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6efbed5d3ae2331d7c25a1cf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rory\", \"position\": 1697418695409664, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 3594301346938880, \"turn\": 5545170552487936, \"upcomingPlays\": [], \"updatedAt\": 2023-07-30T20:56:13.128Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:601:64)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "174" + ], "coveredBy": [ - "150", - "151", - "152" + "174" ], "location": { "end": { - "column": 82, - "line": 93 + "column": 6, + "line": 131 }, "start": { - "column": 37, - "line": 93 + "column": 47, + "line": 128 } } }, { - "id": "1209", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(94,41): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", - "status": "CompileError", + "id": "1247", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"ad5fd4aefb1c20d1593ffeea\", \"createdAt\": 2023-07-30T22:28:36.944Z, \"currentPlay\": {\"action\": \"vote\", \"cause\": undefined, \"source\": \"three-brothers\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5540033926791168}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"5c83b5ee854b5ac13a45c3b2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Valentina\", \"position\": 7998136324718592, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"69fddb85d1fc5ecc3ceb3c36\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Giles\", \"position\": 712276101300224, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"05f5b68abab825b854bacd87\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Audra\", \"position\": 6106159421325312, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ea1cb8d1db754fa2dd40f1d4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Laron\", \"position\": 3927849897558016, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 2635127544872960, \"turn\": 6962118052020224, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": \"stuttering-judge-request\", \"source\": \"all\"}], \"updatedAt\": 2023-07-30T11:13:23.172Z}], but it was called with {\"_id\": \"ad5fd4aefb1c20d1593ffeea\", \"createdAt\": 2023-07-30T22:28:36.944Z, \"currentPlay\": {\"action\": \"vote\", \"cause\": undefined, \"source\": \"three-brothers\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5540033926791168}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"5c83b5ee854b5ac13a45c3b2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Valentina\", \"position\": 7998136324718592, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"69fddb85d1fc5ecc3ceb3c36\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Giles\", \"position\": 712276101300224, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"05f5b68abab825b854bacd87\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Audra\", \"position\": 6106159421325312, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ea1cb8d1db754fa2dd40f1d4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Laron\", \"position\": 3927849897558016, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 2635127544872960, \"turn\": 6962118052020224, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": undefined, \"source\": \"all\"}], \"updatedAt\": 2023-07-30T11:13:23.172Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:601:64)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "174" + ], "coveredBy": [ - "150", - "151", - "152" + "174" ], "location": { "end": { - "column": 94, - "line": 94 + "column": 105, + "line": 129 }, "start": { - "column": 41, - "line": 94 + "column": 53, + "line": 129 } } }, { - "id": "1210", + "id": "1248", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(100,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"ee6ecf7c8f22e27d466cda6f\", \"createdAt\": 2023-07-30T21:31:13.894Z, \"currentPlay\": {\"action\": \"protect\", \"cause\": undefined, \"source\": \"raven\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2437427952091136}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"c80a0f9bd15dffde8ef18e3c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Vito\", \"position\": 3152820297531392, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"afbb7ec4af2a3db3dfdebee4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Wilton\", \"position\": 8725018766737408, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"dab122de74fbb0dbcbe1b48e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Francisca\", \"position\": 8171861644935168, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"57f7ab13dcdd4ceedb1dbddb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Karson\", \"position\": 2828299564744704, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 2338720577486848, \"turn\": 2687404259409920, \"upcomingPlays\": [], \"updatedAt\": 2023-07-31T07:03:55.255Z}\nReceived: undefined\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:557:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "172" + ], "coveredBy": [ - "150", - "151", - "152" + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 40, - "line": 97 + "column": 36, + "line": 132 }, "start": { "column": 9, - "line": 97 + "line": 132 } } }, { - "id": "1211", + "id": "1249", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(100,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "150", - "151", - "152" + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 40, - "line": 97 + "column": 36, + "line": 132 }, "start": { "column": 9, - "line": 97 + "line": 132 } } }, { - "id": "1212", + "id": "1250", "mutatorName": "EqualityOperator", - "replacement": "sheriffPlayMethod !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(100,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "replacement": "nominatedPlayers.length >= 1", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "150", - "151", - "152" + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 40, - "line": 97 + "column": 36, + "line": 132 }, "start": { "column": 9, - "line": 97 + "line": 132 } } }, { - "id": "1213", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(96,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1251", + "mutatorName": "EqualityOperator", + "replacement": "nominatedPlayers.length <= 1", + "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\": \"6f72551eecbd37ea2f5f6cdd\",\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\": 221157731074049,\n \"turn\": 5188298119053312,\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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "566" + ], "coveredBy": [ - "150" + "172", + "173", + "174", + "175", + "566" ], "location": { "end": { - "column": 6, - "line": 99 + "column": 36, + "line": 132 }, "start": { - "column": 42, - "line": 97 + "column": 9, + "line": 132 } } }, { - "id": "1214", + "id": "1252", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(103,62): 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 - 9\n+ Received + 3\n\n@@ -1,12 +1,11 @@\n Object {\n \"_id\": \"2baadbbfe517f6a9bc19fb4e\",\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\": 5858957291683841,\n \"turn\": 5766031314255872,\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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "566" + ], "coveredBy": [ - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "173", + "174", + "566" ], "location": { "end": { - "column": 4, - "line": 120 + "column": 6, + "line": 134 }, "start": { - "column": 76, - "line": 103 + "column": 38, + "line": 132 } } }, { - "id": "1215", + "id": "1253", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "172", + "175" ], "location": { "end": { - "column": 69, - "line": 106 + "column": 38, + "line": 135 }, "start": { "column": 9, - "line": 106 + "line": 135 } } }, { - "id": "1216", + "id": "1254", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "172", + "175" ], "location": { "end": { - "column": 69, - "line": 106 + "column": 38, + "line": 135 }, "start": { "column": 9, - "line": 106 + "line": 135 } } }, { - "id": "1217", - "mutatorName": "LogicalOperator", - "replacement": "scapegoatPlayer || isPlayerAliveAndPowerful(scapegoatPlayer)", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(106,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1255", + "mutatorName": "EqualityOperator", + "replacement": "nominatedPlayers.length !== 1", + "statusReason": "Error: expect(received).resolves.toStrictEqual()\n\nReceived promise rejected instead of resolved\nRejected to value: [TypeError: Cannot read properties of undefined (reading '_id')]\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:557:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "172" + ], "coveredBy": [ - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "172", + "175" ], "location": { "end": { - "column": 69, - "line": 106 + "column": 38, + "line": 135 }, "start": { "column": 9, - "line": 106 + "line": 135 } } }, { - "id": "1218", + "id": "1256", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:680:60)", + "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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:622:60)", "status": "Killed", "testsCompleted": 1, "static": false, "killedBy": [ - "156" + "175" ], "coveredBy": [ - "156" + "175" ], "location": { "end": { "column": 6, - "line": 109 + "line": 138 }, "start": { - "column": 71, - "line": 106 + "column": 40, + "line": 135 } } }, { - "id": "1219", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\nExpected: not {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"34e5f804a3132339c1c7bcaa\", \"createdAt\": 2023-07-28T11:47:37.074Z, \"currentPlay\": {\"action\": \"eat\", \"cause\": undefined, \"source\": \"fox\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"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\": 5, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 3075220418068480}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"e0cda365634051bfedccbaae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Henriette\", \"position\": 4441720806703104, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"80b783edff4c5b5b324afab3\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marcella\", \"position\": 922169611649024, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ee9017d6b0c2cdd13fb6c72d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Moses\", \"position\": 7188295133954048, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"0505f3ceba508d4dd1b882ad\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Leon\", \"position\": 6269392878829568, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 4448024851906560, \"turn\": 4208860921331712, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T13:18:37.831Z}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:694:68)", - "status": "Killed", - "testsCompleted": 10, + "id": "1257", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(142,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "157" - ], + "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "176", + "177", + "178" ], "location": { "end": { - "column": 40, - "line": 111 + "column": 4, + "line": 154 }, "start": { - "column": 9, - "line": 111 + "column": 99, + "line": 142 } } }, { - "id": "1220", + "id": "1258", "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\": \"92af4ef0fa8c2a2c501afe9c\", \"createdAt\": 2023-07-28T00:43:15.957Z, \"currentPlay\": {\"action\": \"ban-voting\", \"cause\": undefined, \"source\": \"ancient\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5073329822105600}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"454f0c1b6d0ea61076271ea2\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Alexane\", \"position\": 727514297139200, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"5dbfad3a2d0bf475cb3ab0e2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Domenico\", \"position\": 7190423411884032, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"7a2e633e910e74ba66c9bbee\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Austin\", \"position\": 6477858796994560, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1c930e34e9fe651aeabc9bdf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Misael\", \"position\": 3494509203685376, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 8020195960422400, \"turn\": 6915022433288192, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T07:23:43.891Z}], 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:722:64)", - "status": "Killed", - "testsCompleted": 10, + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(151,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "159" - ], + "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "176", + "177", + "178" ], "location": { "end": { - "column": 40, - "line": 111 + "column": 86, + "line": 144 }, "start": { "column": 9, - "line": 111 + "line": 144 } } }, { - "id": "1221", - "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\": \"732cee5ac94ff63f6b4ab53e\", \"createdAt\": 2023-07-28T22:34:03.100Z, \"currentPlay\": {\"action\": \"eat\", \"cause\": undefined, \"source\": \"fox\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"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\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5518147612311552}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"d8fac03851b60e4b7cfdc3d5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Chester\", \"position\": 6170137493241856, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a9fcfe0bded4c41463cf82ac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Amy\", \"position\": 8165587201032192, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6cdf94ef6dc0dc017f1e680a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Betty\", \"position\": 1481153659797504, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bb3f0dedb4d231c738cc7d0e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Yazmin\", \"position\": 6037770925506560, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 2264799717097472, \"turn\": 8600263761854464, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T23:04:12.984Z}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:694:68)", + "id": "1259", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -151,15 +151,10 @@\n \"status\": \"canceled\",\n \"tick\": 1284516423401472,\n \"turn\": 6567784358084608,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:905:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "157" - ], - "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "176" ], - "location": { - "end": { - "column": 40, - "line": 111 - }, - "start": { - "column": 9, - "line": 111 - } - } - }, - { - "id": "1222", - "mutatorName": "OptionalChaining", - "replacement": "sheriffPlayer.isAlive", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(111,9): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "176", + "177", + "178" ], "location": { "end": { - "column": 31, - "line": 111 + "column": 86, + "line": 144 }, "start": { "column": 9, - "line": 111 + "line": 144 } } }, { - "id": "1223", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalledWith(...expected)\n\nExpected: not {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"sheriff\"}, {\"_id\": \"60cdbe75bbcda52d8ee3dacb\", \"createdAt\": 2023-07-28T19:28:38.823Z, \"currentPlay\": {\"action\": \"delegate\", \"cause\": undefined, \"source\": \"seer\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1756220098609152}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"accaffec1719fc6f6fea9ce9\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": false, \"name\": \"Jayden\", \"position\": 6415572545830912, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"1dac9048016ce41beffa9f59\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Timmothy\", \"position\": 6485551999877120, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"9de62e3a1cb05ea6ff0d4184\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eugene\", \"position\": 402497116045312, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"8ba7f28de00b8b18a6d0019a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ahmed\", \"position\": 5165782438772736, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 1906816816513024, \"turn\": 4363014629228544, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T18:42:35.747Z}\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:708:68)", + "id": "1260", + "mutatorName": "EqualityOperator", + "replacement": "clonedGame.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -151,15 +151,10 @@\n \"status\": \"canceled\",\n \"tick\": 8854323750502400,\n \"turn\": 8012613753503744,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:905:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "158" + "176" ], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "159", - "160", - "161", - "162", - "556" + "176", + "177", + "178" ], "location": { - "end": { - "column": 40, - "line": 111 + "end": { + "column": 86, + "line": 144 }, "start": { - "column": 36, - "line": 111 + "column": 9, + "line": 144 } } }, { - "id": "1224", + "id": "1261", "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\": \"ea6e04d7012bae9afea3a4c4\", \"createdAt\": 2023-07-28T07:19:40.819Z, \"currentPlay\": {\"action\": \"choose-side\", \"cause\": undefined, \"source\": \"dog-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6017581381058560}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"323da3beafdefeee0a1cbbff\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Icie\", \"position\": 111839883034624, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"30cbadacfdd542fa11f2ad99\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Linnea\", \"position\": 8200888311087104, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f56fc4dce3e65f0ea65d91ae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Felipe\", \"position\": 3687974115999744, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"2df13d4f9115a21f6c3e9e63\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Roslyn\", \"position\": 877362344361984, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 8904298100424704, \"turn\": 271362065170432, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T05:51:13.221Z}], 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:722:64)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -151,15 +151,10 @@\n \"status\": \"canceled\",\n \"tick\": 7366553848774656,\n \"turn\": 5873246262001664,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:905:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "159" + "176" ], "coveredBy": [ - "159" + "176" ], "location": { "end": { "column": 6, - "line": 114 + "line": 147 }, "start": { - "column": 42, - "line": 111 + "column": 88, + "line": 144 } } }, { - "id": "1225", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -149,8 +149,14 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 924709055102976,\n \"turn\": 6893015557734400,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"previous-votes-were-in-ties\",\n+ \"source\": \"all\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-30T19:32:18.219Z,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:513:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1262", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -152,11 +152,11 @@\n \"tick\": 7097449808134144,\n \"turn\": 5500118639837184,\n \"upcomingPlays\": Array [\n GamePlay {\n \"action\": \"elect-sheriff\",\n- \"cause\": \"previous-votes-were-in-ties\",\n+ \"cause\": undefined,\n \"source\": \"all\",\n },\n GamePlay {\n \"action\": \"shoot\",\n \"cause\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:905:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "162" + "176" ], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "160", - "161", - "162", - "556" + "176" ], "location": { "end": { - "column": 86, - "line": 115 + "column": 128, + "line": 145 }, "start": { - "column": 9, - "line": 115 + "column": 73, + "line": 145 } } }, { - "id": "1226", + "id": "1263", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:64)", - "status": "Killed", - "testsCompleted": 9, + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(151,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "160" - ], + "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "160", - "161", - "162", - "556" + "177", + "178" ], "location": { "end": { - "column": 86, - "line": 115 + "column": 30, + "line": 149 }, "start": { "column": 9, - "line": 115 + "line": 149 } } }, { - "id": "1227", - "mutatorName": "EqualityOperator", - "replacement": "clonedGame.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:486:64)", - "status": "Killed", - "testsCompleted": 9, + "id": "1264", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(151,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "160" - ], + "killedBy": [], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "160", - "161", - "162", - "556" + "177", + "178" ], "location": { "end": { - "column": 86, - "line": 115 + "column": 30, + "line": 149 }, "start": { "column": 9, - "line": 115 + "line": 149 } } }, { - "id": "1228", + "id": "1265", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:64)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -79,19 +79,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"8a0687db94f2a44bc0df4cc1\",\n- \"attributes\": Array [\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\": true,\n \"name\": \"Dina\",\n \"position\": 7811340462718976,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:933:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 8, + "testsCompleted": 1, "static": false, "killedBy": [ - "160" + "177" ], "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "160", - "161", - "556" + "177" ], "location": { "end": { "column": 6, - "line": 118 - }, - "start": { - "column": 88, - "line": 115 - } - } - }, - { - "id": "1229", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "153", - "154", - "155", - "157", - "158", - "160", - "161", - "556" - ], - "location": { - "end": { - "column": 108, - "line": 116 + "line": 152 }, "start": { - "column": 53, - "line": 116 + "column": 32, + "line": 149 } } }, { - "id": "1230", + "id": "1266", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(122,123): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(156,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": [ - "163", - "164", - "165", - "166", - "167", - "556" + "179", + "180", + "181", + "182" ], "location": { "end": { "column": 4, - "line": 140 + "line": 171 }, "start": { - "column": 137, - "line": 122 + "column": 96, + "line": 156 } } }, { - "id": "1231", + "id": "1267", "mutatorName": "BooleanLiteral", "replacement": "votes", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(127,75): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(162,75): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "163", - "164", - "165", - "166", - "167", - "556" + "179", + "180", + "181", + "182" ], "location": { "end": { "column": 15, - "line": 124 + "line": 159 }, "start": { "column": 9, - "line": 124 + "line": 159 } } }, { - "id": "1232", + "id": "1268", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(127,75): 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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(162,75): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "163", - "164", - "165", - "166", - "167", - "556" + "179", + "180", + "181", + "182" ], "location": { "end": { "column": 15, - "line": 124 + "line": 159 }, "start": { "column": 9, - "line": 124 + "line": 159 } } }, { - "id": "1233", + "id": "1269", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(127,75): 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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(162,75): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "163", - "164", - "165", - "166", - "167", - "556" + "179", + "180", + "181", + "182" ], "location": { "end": { "column": 15, - "line": 124 + "line": 159 }, "start": { "column": 9, - "line": 124 + "line": 159 } } }, { - "id": "1234", + "id": "1270", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "163" + "179" ], "location": { "end": { "column": 6, - "line": 126 + "line": 161 }, "start": { "column": 17, - "line": 124 + "line": 159 } } }, { - "id": "1235", - "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1271", + "mutatorName": "BooleanLiteral", + "replacement": "nominatedPlayers.length", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"8c8ccc4d86a5a6c4ac1c8571\", \"createdAt\": 2023-07-31T09:13:46.488Z, \"currentPlay\": {\"action\": \"mark\", \"cause\": undefined, \"source\": \"hunter\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 5088904206090240}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"2b4663938e9ce0cefc46ce2a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kellie\", \"position\": 6331540113981440, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e6ba16c5efcdcc419c6f9ce0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kyleigh\", \"position\": 6872287099748352, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"afddbebce6ca23f75d6b4ab9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Nya\", \"position\": 7178852447027200, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bee236b91a15eae1bcbc8bae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Savion\", \"position\": 8588775181516800, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 119321114181632, \"turn\": 5040445795074048, \"upcomingPlays\": [], \"updatedAt\": 2023-07-30T14:13:29.441Z}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "556" + "180" ], "coveredBy": [ - "164", - "165", - "166", - "167", - "556" + "180", + "181", + "182" ], "location": { "end": { - "column": 45, - "line": 128 + "column": 33, + "line": 163 }, "start": { "column": 9, - "line": 128 + "line": 163 } } }, { - "id": "1236", + "id": "1272", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"ac45c7ece3defaa8fafbb5d9\", \"createdAt\": 2023-07-30T19:00:41.515Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"cupid\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"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\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1315941828788224}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"57e467523dfff79d3f2e8a53\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gabriel\", \"position\": 7549518270693376, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"2a1ff3f56de7c16f7aa3ddda\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Deborah\", \"position\": 2975297341227008, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"aaa2e1fdcdd9ed7c75b6d7f1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Arlie\", \"position\": 7783520950812672, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1eaffb6aa7b579b908facbbe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Parker\", \"position\": 3838457164070912, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 4207429671714816, \"turn\": 2032904941076480, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": \"stuttering-judge-request\", \"source\": \"all\"}], \"updatedAt\": 2023-07-31T04:25:30.797Z}], but it was called with {\"_id\": \"ac45c7ece3defaa8fafbb5d9\", \"createdAt\": 2023-07-30T19:00:41.515Z, \"currentPlay\": {\"action\": \"choose-sign\", \"cause\": undefined, \"source\": \"cupid\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"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\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1315941828788224}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"57e467523dfff79d3f2e8a53\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gabriel\", \"position\": 7549518270693376, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"2a1ff3f56de7c16f7aa3ddda\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Deborah\", \"position\": 2975297341227008, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"aaa2e1fdcdd9ed7c75b6d7f1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Arlie\", \"position\": 7783520950812672, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1eaffb6aa7b579b908facbbe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Parker\", \"position\": 3838457164070912, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 4207429671714816, \"turn\": 2032904941076480, \"upcomingPlays\": [], \"updatedAt\": 2023-07-31T04:25:30.797Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:601:64)", + "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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:756:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "166" + "181" ], "coveredBy": [ - "164", - "165", - "166", - "167", - "556" + "180", + "181", + "182" ], "location": { "end": { - "column": 45, - "line": 128 + "column": 33, + "line": 163 }, "start": { "column": 9, - "line": 128 + "line": 163 } } }, { - "id": "1237", - "mutatorName": "EqualityOperator", - "replacement": "doesJudgeRequestAnotherVote !== 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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1273", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"eeb9dedebdadcc3aaac586ca\", \"createdAt\": 2023-07-31T07:48:29.721Z, \"currentPlay\": {\"action\": \"choose-side\", \"cause\": undefined, \"source\": \"big-bad-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 896443386691584}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"dee7c1f79be6c6d5915ea5b9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Keeley\", \"position\": 4406031698362368, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"9d7a6077ceb0cdca11e2bb4b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sidney\", \"position\": 8331497681453056, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a481bfe76ded4ca6a5ae0bef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Emmy\", \"position\": 4360681688137728, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"90ee03d3acfab4c674de23bd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kristin\", \"position\": 1773197716357120, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 6407583690653696, \"turn\": 3835983667658752, \"upcomingPlays\": [], \"updatedAt\": 2023-07-31T07:42:04.502Z}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "556" + "180" ], "coveredBy": [ - "164", - "165", - "166", - "167", - "556" + "180", + "181", + "182" ], "location": { "end": { - "column": 45, - "line": 128 + "column": 33, + "line": 163 }, "start": { "column": 9, - "line": 128 + "line": 163 } } }, { - "id": "1238", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -149,8 +149,14 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 4967634026102784,\n \"turn\": 3639116983959552,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"cause\": \"stuttering-judge-request\",\n+ \"source\": \"all\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-30T10:02:38.387Z,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:557:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1274", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"1c0aa82b5237f9fca4b24fec\", \"createdAt\": 2023-07-30T19:27:57.695Z, \"currentPlay\": {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"lovers\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 4855800063328256}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"194e3efbca0ca1b198afb570\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Fiona\", \"position\": 3669990714638336, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"1677703bf68ec11cecccbebc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Henri\", \"position\": 5011997965942784, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"26720b0f9ecf5aceedcb2fba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Earline\", \"position\": 1791958892675072, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"525896ea1cf8bbffd52e3dcc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Fredy\", \"position\": 964668858302464, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 8393627254390784, \"turn\": 1738213513232384, \"upcomingPlays\": [], \"updatedAt\": 2023-07-30T17:53:18.058Z}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "164" + "180" ], "coveredBy": [ - "164", - "165", - "166", - "167", - "556" + "180" ], "location": { "end": { - "column": 45, - "line": 128 + "column": 6, + "line": 165 }, "start": { - "column": 41, - "line": 128 + "column": 35, + "line": 163 } } }, { - "id": "1239", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"c4b4979e1ec96d431a7bf2b0\", \"createdAt\": 2023-07-30T09:47:13.202Z, \"currentPlay\": {\"action\": \"protect\", \"cause\": undefined, \"source\": \"villager-villager\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"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\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 458061128925184}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"93e8ecf49dd37b3c8fd0e4d2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"D'angelo\", \"position\": 837521760059392, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b96f2cc63aa4d9d82ae94e9c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Berniece\", \"position\": 1670652775890944, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fef2109cfdc9bf4a2ba3e0bd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Glen\", \"position\": 5601825021493248, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6efbed5d3ae2331d7c25a1cf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rory\", \"position\": 1697418695409664, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 3594301346938880, \"turn\": 5545170552487936, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": \"stuttering-judge-request\", \"source\": \"all\"}], \"updatedAt\": 2023-07-30T20:56:13.128Z}], but it was called with {\"_id\": \"c4b4979e1ec96d431a7bf2b0\", \"createdAt\": 2023-07-30T09:47:13.202Z, \"currentPlay\": {\"action\": \"protect\", \"cause\": undefined, \"source\": \"villager-villager\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"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\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 458061128925184}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"93e8ecf49dd37b3c8fd0e4d2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"D'angelo\", \"position\": 837521760059392, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b96f2cc63aa4d9d82ae94e9c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Berniece\", \"position\": 1670652775890944, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fef2109cfdc9bf4a2ba3e0bd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Glen\", \"position\": 5601825021493248, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6efbed5d3ae2331d7c25a1cf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rory\", \"position\": 1697418695409664, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 3594301346938880, \"turn\": 5545170552487936, \"upcomingPlays\": [], \"updatedAt\": 2023-07-30T20:56:13.128Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:601:64)", + "id": "1275", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"d0227268bce1add5a5a4f1b9\", \"createdAt\": 2023-07-30T20:19:42.268Z, \"currentPlay\": {\"action\": \"delegate\", \"cause\": undefined, \"source\": \"charmed\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1334018790391808}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"b8b6d7afd2febcb44fc0baae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Amara\", \"position\": 4410339057729536, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"951904f2f86d61bc0fd4981b\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Delaney\", \"position\": 4162753147174912, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"8cf3d8afacd5f2c34abbeceb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maudie\", \"position\": 7652272198647808, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fdf212c007acb5b6a4bbbd0b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Merritt\", \"position\": 666503426867200, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 7732443169685504, \"turn\": 7798508455198720, \"upcomingPlays\": [], \"updatedAt\": 2023-07-30T13:16:06.019Z}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:783:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "166" + "182" ], "coveredBy": [ - "166" + "181", + "182" ], "location": { "end": { - "column": 6, - "line": 131 + "column": 38, + "line": 166 }, "start": { - "column": 47, - "line": 128 + "column": 9, + "line": 166 } } }, { - "id": "1240", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"ad5fd4aefb1c20d1593ffeea\", \"createdAt\": 2023-07-30T22:28:36.944Z, \"currentPlay\": {\"action\": \"vote\", \"cause\": undefined, \"source\": \"three-brothers\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5540033926791168}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"5c83b5ee854b5ac13a45c3b2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Valentina\", \"position\": 7998136324718592, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"69fddb85d1fc5ecc3ceb3c36\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Giles\", \"position\": 712276101300224, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"05f5b68abab825b854bacd87\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Audra\", \"position\": 6106159421325312, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ea1cb8d1db754fa2dd40f1d4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Laron\", \"position\": 3927849897558016, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 2635127544872960, \"turn\": 6962118052020224, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": \"stuttering-judge-request\", \"source\": \"all\"}], \"updatedAt\": 2023-07-30T11:13:23.172Z}], but it was called with {\"_id\": \"ad5fd4aefb1c20d1593ffeea\", \"createdAt\": 2023-07-30T22:28:36.944Z, \"currentPlay\": {\"action\": \"vote\", \"cause\": undefined, \"source\": \"three-brothers\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5540033926791168}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"5c83b5ee854b5ac13a45c3b2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Valentina\", \"position\": 7998136324718592, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"69fddb85d1fc5ecc3ceb3c36\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Giles\", \"position\": 712276101300224, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"05f5b68abab825b854bacd87\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Audra\", \"position\": 6106159421325312, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ea1cb8d1db754fa2dd40f1d4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Laron\", \"position\": 3927849897558016, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 2635127544872960, \"turn\": 6962118052020224, \"upcomingPlays\": [{\"action\": \"vote\", \"cause\": undefined, \"source\": \"all\"}], \"updatedAt\": 2023-07-30T11:13:23.172Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:601:64)", + "id": "1276", + "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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:756:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "166" + "181" ], "coveredBy": [ - "166" + "181", + "182" ], "location": { "end": { - "column": 105, - "line": 129 + "column": 38, + "line": 166 }, "start": { - "column": 53, - "line": 129 + "column": 9, + "line": 166 } } }, { - "id": "1241", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"ee6ecf7c8f22e27d466cda6f\", \"createdAt\": 2023-07-30T21:31:13.894Z, \"currentPlay\": {\"action\": \"protect\", \"cause\": undefined, \"source\": \"raven\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2437427952091136}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"c80a0f9bd15dffde8ef18e3c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Vito\", \"position\": 3152820297531392, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"afbb7ec4af2a3db3dfdebee4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Wilton\", \"position\": 8725018766737408, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"dab122de74fbb0dbcbe1b48e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Francisca\", \"position\": 8171861644935168, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"57f7ab13dcdd4ceedb1dbddb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Karson\", \"position\": 2828299564744704, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 2338720577486848, \"turn\": 2687404259409920, \"upcomingPlays\": [], \"updatedAt\": 2023-07-31T07:03:55.255Z}\nReceived: undefined\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:557:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1277", + "mutatorName": "EqualityOperator", + "replacement": "nominatedPlayers.length === 1", + "status": "Timeout", "static": false, - "killedBy": [ - "164" - ], + "killedBy": [], "coveredBy": [ - "164", - "165", - "166", - "167", - "556" + "181", + "182" ], "location": { "end": { - "column": 36, - "line": 132 + "column": 38, + "line": 166 }, "start": { "column": 9, - "line": 132 + "line": 166 } } }, { - "id": "1242", - "mutatorName": "ConditionalExpression", - "replacement": "false", + "id": "1278", + "mutatorName": "BlockStatement", + "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "164", - "165", - "166", - "167", - "556" + "181" ], "location": { "end": { - "column": 36, - "line": 132 + "column": 6, + "line": 168 }, "start": { - "column": 9, - "line": 132 + "column": 40, + "line": 166 } } }, { - "id": "1243", - "mutatorName": "EqualityOperator", - "replacement": "nominatedPlayers.length >= 1", - "status": "Timeout", + "id": "1279", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(214,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": [ - "164", - "165", - "166", - "167", - "556" + "183", + "184", + "185", + "566" ], "location": { "end": { - "column": 36, - "line": 132 + "column": 4, + "line": 184 }, "start": { - "column": 9, - "line": 132 + "column": 103, + "line": 173 } } }, { - "id": "1244", - "mutatorName": "EqualityOperator", - "replacement": "nominatedPlayers.length <= 1", - "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\": \"6f72551eecbd37ea2f5f6cdd\",\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\": 221157731074049,\n \"turn\": 5188298119053312,\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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "id": "1280", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "164", - "165", - "166", - "167", - "556" + "183", + "184", + "185", + "566" ], "location": { "end": { - "column": 36, - "line": 132 + "column": 6, + "line": 178 }, "start": { - "column": 9, - "line": 132 + "column": 92, + "line": 175 } } }, { - "id": "1245", - "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\": \"2baadbbfe517f6a9bc19fb4e\",\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\": 5858957291683841,\n \"turn\": 5766031314255872,\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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 3, + "id": "1281", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(217,42): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "165", - "166", - "556" + "183", + "184", + "185", + "566" ], "location": { "end": { - "column": 6, - "line": 134 + "column": 86, + "line": 176 + }, + "start": { + "column": 42, + "line": 176 + } + } + }, + { + "id": "1282", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(218,33): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "183", + "184", + "185", + "566" + ], + "location": { + "end": { + "column": 74, + "line": 177 }, "start": { - "column": 38, - "line": 132 + "column": 33, + "line": 177 } } }, { - "id": "1246", + "id": "1283", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(224,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "164", - "167" + "183", + "184", + "185", + "566" ], "location": { "end": { - "column": 38, - "line": 135 + "column": 36, + "line": 180 }, "start": { "column": 9, - "line": 135 + "line": 180 } } }, { - "id": "1247", + "id": "1284", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(224,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "164", - "167" + "183", + "184", + "185", + "566" ], "location": { "end": { - "column": 38, - "line": 135 + "column": 36, + "line": 180 }, "start": { "column": 9, - "line": 135 + "line": 180 } } }, { - "id": "1248", + "id": "1285", "mutatorName": "EqualityOperator", - "replacement": "nominatedPlayers.length !== 1", - "statusReason": "Error: expect(received).resolves.toStrictEqual()\n\nReceived promise rejected instead of resolved\nRejected to value: [TypeError: Cannot read properties of undefined (reading '_id')]\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:557:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "replacement": "allPlayMethod !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(224,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "164" - ], + "killedBy": [], "coveredBy": [ - "164", - "167" + "183", + "184", + "185", + "566" ], "location": { "end": { - "column": 38, - "line": 135 + "column": 36, + "line": 180 }, "start": { "column": 9, - "line": 135 + "line": 180 } } }, { - "id": "1249", + "id": "1286", "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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:622:60)", - "status": "Killed", - "testsCompleted": 1, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(222,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "167" - ], + "killedBy": [], "coveredBy": [ - "167" + "183" ], "location": { "end": { "column": 6, - "line": 138 + "line": 182 }, "start": { - "column": 40, - "line": 135 + "column": 38, + "line": 180 } } }, { - "id": "1250", + "id": "1287", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(142,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(227,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "168", - "169", - "170" + "186", + "187", + "188", + "189" ], "location": { "end": { "column": 4, - "line": 154 + "line": 200 }, "start": { - "column": 99, - "line": 142 + "column": 107, + "line": 186 } } }, { - "id": "1251", + "id": "1288", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(151,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(233,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "168", - "169", - "170" + "186", + "187", + "188", + "189" ], "location": { "end": { - "column": 86, - "line": 144 + "column": 36, + "line": 189 }, "start": { "column": 9, - "line": 144 + "line": 189 } } }, { - "id": "1252", + "id": "1289", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -151,15 +151,10 @@\n \"status\": \"canceled\",\n \"tick\": 1284516423401472,\n \"turn\": 6567784358084608,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:905:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(233,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "168" - ], + "killedBy": [], "coveredBy": [ - "168", - "169", - "170" + "186", + "187", + "188", + "189" ], "location": { "end": { - "column": 86, - "line": 144 + "column": 36, + "line": 189 }, "start": { "column": 9, - "line": 144 + "line": 189 } } }, { - "id": "1253", - "mutatorName": "EqualityOperator", - "replacement": "clonedGame.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -151,15 +151,10 @@\n \"status\": \"canceled\",\n \"tick\": 8854323750502400,\n \"turn\": 8012613753503744,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:905:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1290", + "mutatorName": "LogicalOperator", + "replacement": "!thiefPlayer && !chosenCard", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(233,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "168" - ], + "killedBy": [], "coveredBy": [ - "168", - "169", - "170" + "186", + "187", + "188", + "189" ], "location": { "end": { - "column": 86, - "line": 144 + "column": 36, + "line": 189 }, "start": { "column": 9, - "line": 144 + "line": 189 } } }, { - "id": "1254", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -151,15 +151,10 @@\n \"status\": \"canceled\",\n \"tick\": 7366553848774656,\n \"turn\": 5873246262001664,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"cause\": \"previous-votes-were-in-ties\",\n- \"source\": \"all\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:905:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1291", + "mutatorName": "BooleanLiteral", + "replacement": "thiefPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "168" - ], + "killedBy": [], "coveredBy": [ - "168" + "186", + "187", + "188", + "189" ], "location": { "end": { - "column": 6, - "line": 147 + "column": 21, + "line": 189 }, "start": { - "column": 88, - "line": 144 + "column": 9, + "line": 189 } } }, { - "id": "1255", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -152,11 +152,11 @@\n \"tick\": 7097449808134144,\n \"turn\": 5500118639837184,\n \"upcomingPlays\": Array [\n GamePlay {\n \"action\": \"elect-sheriff\",\n- \"cause\": \"previous-votes-were-in-ties\",\n+ \"cause\": undefined,\n \"source\": \"all\",\n },\n GamePlay {\n \"action\": \"shoot\",\n \"cause\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:905:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1292", + "mutatorName": "BooleanLiteral", + "replacement": "chosenCard", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(233,57): error TS18048: 'chosenCard' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "168" - ], + "killedBy": [], "coveredBy": [ - "168" + "187", + "188", + "189" ], "location": { "end": { - "column": 128, - "line": 145 + "column": 36, + "line": 189 }, "start": { - "column": 73, - "line": 145 + "column": 25, + "line": 189 } } }, { - "id": "1256", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(151,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", + "id": "1293", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(231,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(235,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(236,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "169", - "170" + "186", + "187" ], "location": { "end": { - "column": 30, - "line": 149 + "column": 6, + "line": 191 }, "start": { - "column": 9, - "line": 149 + "column": 38, + "line": 189 } } }, { - "id": "1257", + "id": "1294", + "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\": \"Aric\",\n \"position\": 8194882181005312,\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\": \"9d3ac9a706dc5a20cacbdfc2\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1158:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "189" + ], + "coveredBy": [ + "188", + "189" + ], + "location": { + "end": { + "column": 76, + "line": 192 + }, + "start": { + "column": 35, + "line": 192 + } + } + }, + { + "id": "1295", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(151,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "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\": \"Jason\",\n \"position\": 5775741862019072,\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\": \"6eecfef26e3b0fecffcbc9b2\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1130:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "188" + ], "coveredBy": [ - "169", - "170" + "188", + "189" ], "location": { "end": { - "column": 30, - "line": 149 + "column": 76, + "line": 192 }, "start": { - "column": 9, - "line": 149 + "column": 43, + "line": 192 } } }, { - "id": "1258", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -79,19 +79,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"8a0687db94f2a44bc0df4cc1\",\n- \"attributes\": Array [\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\": true,\n \"name\": \"Dina\",\n \"position\": 7811340462718976,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:933:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1296", + "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\": \"Deion\",\n \"position\": 2500600117854208,\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\": \"e0fd2be46fae9f5a06b67cdf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1158:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "169" + "189" ], "coveredBy": [ - "169" + "188", + "189" ], "location": { "end": { - "column": 6, - "line": 152 + "column": 76, + "line": 192 }, "start": { - "column": 32, - "line": 149 + "column": 43, + "line": 192 } } }, { - "id": "1259", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(156,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1297", + "mutatorName": "EqualityOperator", + "replacement": "role.name !== chosenCard.roleName", + "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\": \"Bart\",\n \"position\": 2068103395540992,\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\": \"39e2e81ba09ad7c3ee649ddd\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1130:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "188" + ], "coveredBy": [ - "171", - "172", - "173", - "174" + "188", + "189" ], "location": { "end": { - "column": 4, - "line": 171 + "column": 76, + "line": 192 }, "start": { - "column": 96, - "line": 156 + "column": 43, + "line": 192 } } }, { - "id": "1260", + "id": "1298", "mutatorName": "BooleanLiteral", - "replacement": "votes", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(162,75): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", + "replacement": "chosenRole", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "171", - "172", - "173", - "174" + "188", + "189" ], "location": { "end": { - "column": 15, - "line": 159 + "column": 20, + "line": 193 }, "start": { "column": 9, - "line": 159 + "line": 193 } } }, { - "id": "1261", + "id": "1299", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(162,75): 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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "171", - "172", - "173", - "174" + "188", + "189" ], "location": { "end": { - "column": 15, - "line": 159 + "column": 20, + "line": 193 }, "start": { "column": 9, - "line": 159 + "line": 193 } } }, { - "id": "1262", + "id": "1300", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(162,75): 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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "171", - "172", - "173", - "174" + "188", + "189" ], "location": { "end": { - "column": 15, - "line": 159 + "column": 20, + "line": 193 }, "start": { "column": 9, - "line": 159 + "line": 193 } } }, { - "id": "1263", + "id": "1301", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(235,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(236,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "171" + "188" ], "location": { "end": { "column": 6, - "line": 161 + "line": 195 }, "start": { - "column": 17, - "line": 159 + "column": 22, + "line": 193 } } }, { - "id": "1264", - "mutatorName": "BooleanLiteral", - "replacement": "nominatedPlayers.length", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"8c8ccc4d86a5a6c4ac1c8571\", \"createdAt\": 2023-07-31T09:13:46.488Z, \"currentPlay\": {\"action\": \"mark\", \"cause\": undefined, \"source\": \"hunter\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 5088904206090240}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"2b4663938e9ce0cefc46ce2a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kellie\", \"position\": 6331540113981440, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e6ba16c5efcdcc419c6f9ce0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kyleigh\", \"position\": 6872287099748352, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"afddbebce6ca23f75d6b4ab9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Nya\", \"position\": 7178852447027200, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bee236b91a15eae1bcbc8bae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Savion\", \"position\": 8588775181516800, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 119321114181632, \"turn\": 5040445795074048, \"upcomingPlays\": [], \"updatedAt\": 2023-07-30T14:13:29.441Z}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1302", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", + "status": "CompileError", "static": false, - "killedBy": [ - "172" - ], + "killedBy": [], "coveredBy": [ - "172", - "173", - "174" + "189" ], "location": { "end": { - "column": 33, - "line": 163 + "column": 87, + "line": 196 }, "start": { - "column": 9, - "line": 163 + "column": 38, + "line": 196 } } }, { - "id": "1265", - "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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:756:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1303", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(238,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerRole': original, current, isRevealed\n", + "status": "CompileError", "static": false, - "killedBy": [ - "173" - ], + "killedBy": [], "coveredBy": [ - "172", - "173", - "174" + "189" ], "location": { "end": { - "column": 33, - "line": 163 + "column": 87, + "line": 197 }, "start": { - "column": 9, - "line": 163 + "column": 38, + "line": 197 } } }, { - "id": "1266", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"eeb9dedebdadcc3aaac586ca\", \"createdAt\": 2023-07-31T07:48:29.721Z, \"currentPlay\": {\"action\": \"choose-side\", \"cause\": undefined, \"source\": \"big-bad-wolf\"}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 896443386691584}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"dee7c1f79be6c6d5915ea5b9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Keeley\", \"position\": 4406031698362368, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"9d7a6077ceb0cdca11e2bb4b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sidney\", \"position\": 8331497681453056, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a481bfe76ded4ca6a5ae0bef\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Emmy\", \"position\": 4360681688137728, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"90ee03d3acfab4c674de23bd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kristin\", \"position\": 1773197716357120, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 6407583690653696, \"turn\": 3835983667658752, \"upcomingPlays\": [], \"updatedAt\": 2023-07-31T07:42:04.502Z}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1304", + "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\": \"Kenton\",\n \"position\": 5368375150641152,\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\": \"db5dde68a7aff1c5e553d8bf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1158:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 1, "static": false, "killedBy": [ - "172" + "189" ], "coveredBy": [ - "172", - "173", - "174" + "189" ], "location": { "end": { - "column": 33, - "line": 163 + "column": 91, + "line": 198 }, "start": { - "column": 9, - "line": 163 + "column": 49, + "line": 198 } } }, { - "id": "1267", + "id": "1305", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"1c0aa82b5237f9fca4b24fec\", \"createdAt\": 2023-07-30T19:27:57.695Z, \"currentPlay\": {\"action\": \"settle-votes\", \"cause\": undefined, \"source\": \"lovers\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 4855800063328256}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"194e3efbca0ca1b198afb570\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Fiona\", \"position\": 3669990714638336, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"1677703bf68ec11cecccbebc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Henri\", \"position\": 5011997965942784, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"26720b0f9ecf5aceedcb2fba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Earline\", \"position\": 1791958892675072, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"525896ea1cf8bbffd52e3dcc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Fredy\", \"position\": 964668858302464, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 8393627254390784, \"turn\": 1738213513232384, \"upcomingPlays\": [], \"updatedAt\": 2023-07-30T17:53:18.058Z}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:736:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 1, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(243,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "172" + "killedBy": [], + "coveredBy": [ + "190", + "191" ], + "location": { + "end": { + "column": 4, + "line": 209 + }, + "start": { + "column": 107, + "line": 202 + } + } + }, + { + "id": "1306", + "mutatorName": "BooleanLiteral", + "replacement": "targets", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(249,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "172" + "190", + "191" ], "location": { "end": { - "column": 6, - "line": 165 + "column": 17, + "line": 204 }, "start": { - "column": 35, - "line": 163 + "column": 9, + "line": 204 } } }, { - "id": "1268", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"d0227268bce1add5a5a4f1b9\", \"createdAt\": 2023-07-30T20:19:42.268Z, \"currentPlay\": {\"action\": \"delegate\", \"cause\": undefined, \"source\": \"charmed\"}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1334018790391808}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"b8b6d7afd2febcb44fc0baae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Amara\", \"position\": 4410339057729536, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"951904f2f86d61bc0fd4981b\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Delaney\", \"position\": 4162753147174912, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"8cf3d8afacd5f2c34abbeceb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maudie\", \"position\": 7652272198647808, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fdf212c007acb5b6a4bbbd0b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Merritt\", \"position\": 666503426867200, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 7732443169685504, \"turn\": 7798508455198720, \"upcomingPlays\": [], \"updatedAt\": 2023-07-30T13:16:06.019Z}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:783:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1307", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(249,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "174" - ], + "killedBy": [], "coveredBy": [ - "173", - "174" + "190", + "191" ], "location": { "end": { - "column": 38, - "line": 166 + "column": 17, + "line": 204 }, "start": { "column": 9, - "line": 166 + "line": 204 } } }, { - "id": "1269", + "id": "1308", "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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:756:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(249,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "173" - ], + "killedBy": [], "coveredBy": [ - "173", - "174" + "190", + "191" ], "location": { "end": { - "column": 38, - "line": 166 + "column": 17, + "line": 204 }, "start": { "column": 9, - "line": 166 + "line": 204 } } }, { - "id": "1270", - "mutatorName": "EqualityOperator", - "replacement": "nominatedPlayers.length === 1", - "status": "Timeout", + "id": "1309", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(247,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "173", - "174" + "190" ], "location": { "end": { - "column": 38, - "line": 166 + "column": 6, + "line": 206 }, "start": { - "column": 9, - "line": 166 + "column": 19, + "line": 204 } } }, { - "id": "1271", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1310", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(249,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "173" + "191" ], "location": { "end": { - "column": 6, - "line": 168 + "column": 76, + "line": 208 }, "start": { - "column": 40, - "line": 166 + "column": 50, + "line": 208 } } }, { - "id": "1272", + "id": "1311", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(214,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(252,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "175", - "176", - "177", - "556" + "192", + "193", + "194" ], "location": { "end": { "column": 4, - "line": 184 + "line": 219 }, "start": { - "column": 103, - "line": 173 + "column": 109, + "line": 211 } } }, { - "id": "1273", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "status": "Timeout", + "id": "1312", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(258,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-play-maker.service.ts(259,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "175", - "176", - "177", - "556" + "192", + "193", + "194" ], "location": { "end": { - "column": 6, - "line": 178 + "column": 51, + "line": 214 }, "start": { - "column": 92, - "line": 175 + "column": 9, + "line": 214 } } }, { - "id": "1274", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(217,42): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1313", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(258,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-play-maker.service.ts(259,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "175", - "176", - "177", - "556" + "192", + "193", + "194" ], "location": { "end": { - "column": 86, - "line": 176 + "column": 51, + "line": 214 }, "start": { - "column": 42, - "line": 176 + "column": 9, + "line": 214 } } }, { - "id": "1275", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(218,33): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1314", + "mutatorName": "LogicalOperator", + "replacement": "chosenSide === undefined && !dogWolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(258,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-play-maker.service.ts(259,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "175", - "176", - "177", - "556" + "192", + "193", + "194" ], "location": { "end": { - "column": 74, - "line": 177 + "column": 51, + "line": 214 }, "start": { - "column": 33, - "line": 177 + "column": 9, + "line": 214 } } }, { - "id": "1276", + "id": "1315", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(224,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,82): error TS2322: Type 'ROLE_SIDES | undefined' is not assignable to type 'ROLE_SIDES'.\n Type 'undefined' is not assignable to type 'ROLE_SIDES'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "175", - "176", - "177", - "556" + "192", + "193", + "194" ], "location": { "end": { - "column": 36, - "line": 180 + "column": 33, + "line": 214 }, "start": { "column": 9, - "line": 180 + "line": 214 } } }, { - "id": "1277", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(224,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "id": "1316", + "mutatorName": "EqualityOperator", + "replacement": "chosenSide !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,82): error TS2322: Type 'undefined' is not assignable to type 'ROLE_SIDES'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "175", - "176", - "177", - "556" + "192", + "193", + "194" ], "location": { "end": { - "column": 36, - "line": 180 + "column": 33, + "line": 214 }, "start": { "column": 9, - "line": 180 + "line": 214 } } }, { - "id": "1278", - "mutatorName": "EqualityOperator", - "replacement": "allPlayMethod !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(224,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "id": "1317", + "mutatorName": "BooleanLiteral", + "replacement": "dogWolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(259,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "175", - "176", - "177", - "556" + "193", + "194" ], "location": { "end": { - "column": 36, - "line": 180 + "column": 51, + "line": 214 }, "start": { - "column": 9, - "line": 180 + "column": 37, + "line": 214 } } }, { - "id": "1279", + "id": "1318", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(222,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(256,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(256,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-play-maker.service.ts(257,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "175" + "192", + "193" ], "location": { "end": { "column": 6, - "line": 182 + "line": 216 }, "start": { - "column": 38, - "line": 180 + "column": 53, + "line": 214 } } }, { - "id": "1280", + "id": "1319", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -107,11 +107,11 @@\n \"current\": \"dog-wolf\",\n \"isRevealed\": false,\n \"original\": \"dog-wolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"9af6abfcfefbafbebabd1c4e\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1253:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "194" + ], + "coveredBy": [ + "194" + ], + "location": { + "end": { + "column": 105, + "line": 217 + }, + "start": { + "column": 49, + "line": 217 + } + } + }, + { + "id": "1320", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,51): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "194" + ], + "location": { + "end": { + "column": 103, + "line": 217 + }, + "start": { + "column": 57, + "line": 217 + } + } + }, + { + "id": "1321", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(227,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(262,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "178", - "179", - "180", - "181" + "195", + "196" ], "location": { "end": { "column": 4, - "line": 200 + "line": 230 }, "start": { - "column": 107, - "line": 186 + "column": 109, + "line": 221 } } }, { - "id": "1281", + "id": "1322", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(233,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(268,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "178", - "179", - "180", - "181" + "195", + "196" ], "location": { "end": { - "column": 36, - "line": 189 + "column": 48, + "line": 224 }, "start": { "column": 9, - "line": 189 + "line": 224 } } }, { - "id": "1282", + "id": "1323", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(233,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(268,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "178", - "179", - "180", - "181" + "195", + "196" ], "location": { "end": { - "column": 36, - "line": 189 + "column": 48, + "line": 224 }, "start": { "column": 9, - "line": 189 + "line": 224 } } }, { - "id": "1283", - "mutatorName": "LogicalOperator", - "replacement": "!thiefPlayer && !chosenCard", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(233,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "id": "1324", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(268,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "178", - "179", - "180", - "181" + "195", + "196" ], "location": { "end": { - "column": 36, - "line": 189 + "column": 48, + "line": 224 }, "start": { "column": 9, - "line": 189 + "line": 224 } } }, { - "id": "1284", - "mutatorName": "BooleanLiteral", - "replacement": "thiefPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "id": "1325", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(265,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(268,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "178", - "179", - "180", - "181" + "195", + "196" ], "location": { "end": { - "column": 21, - "line": 189 + "column": 24, + "line": 224 }, "start": { "column": 9, - "line": 189 + "line": 224 } } }, { - "id": "1285", - "mutatorName": "BooleanLiteral", - "replacement": "chosenCard", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(233,57): error TS18048: 'chosenCard' is possibly 'undefined'.\n", + "id": "1326", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(266,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "179", - "180", - "181" + "195" ], "location": { "end": { - "column": 36, - "line": 189 + "column": 6, + "line": 226 }, "start": { - "column": 25, - "line": 189 + "column": 50, + "line": 224 } } }, { - "id": "1286", + "id": "1327", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(231,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(235,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(236,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(273,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "178", - "179" + "197", + "198", + "199", + "200", + "201" ], "location": { "end": { - "column": 6, - "line": 191 + "column": 4, + "line": 248 }, "start": { - "column": 38, - "line": 189 + "column": 97, + "line": 232 } } }, { - "id": "1287", - "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\": \"Aric\",\n \"position\": 8194882181005312,\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\": \"9d3ac9a706dc5a20cacbdfc2\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1158:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1328", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "181" - ], + "killedBy": [], "coveredBy": [ - "180", - "181" + "197", + "198", + "199", + "200", + "201" ], "location": { "end": { - "column": 76, - "line": 192 + "column": 62, + "line": 237 }, "start": { - "column": 35, - "line": 192 + "column": 9, + "line": 237 } } }, { - "id": "1288", + "id": "1329", "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\": \"Jason\",\n \"position\": 5775741862019072,\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\": \"6eecfef26e3b0fecffcbc9b2\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1130:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "180" - ], + "killedBy": [], "coveredBy": [ - "180", - "181" + "197", + "198", + "199", + "200", + "201" ], "location": { "end": { - "column": 76, - "line": 192 + "column": 62, + "line": 237 }, "start": { - "column": 43, - "line": 192 + "column": 9, + "line": 237 } } }, { - "id": "1289", - "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\": \"Deion\",\n \"position\": 2500600117854208,\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\": \"e0fd2be46fae9f5a06b67cdf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1158:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1330", + "mutatorName": "LogicalOperator", + "replacement": "targets?.length !== expectedTargetCount && !foxPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "181" - ], + "killedBy": [], "coveredBy": [ - "180", - "181" + "197", + "198", + "199", + "200", + "201" ], "location": { "end": { - "column": 76, - "line": 192 + "column": 62, + "line": 237 }, "start": { - "column": 43, - "line": 192 + "column": 9, + "line": 237 } } }, { - "id": "1290", - "mutatorName": "EqualityOperator", - "replacement": "role.name !== chosenCard.roleName", - "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\": \"Bart\",\n \"position\": 2068103395540992,\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\": \"39e2e81ba09ad7c3ee649ddd\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1130:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1331", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "180" - ], + "killedBy": [], "coveredBy": [ - "180", - "181" + "197", + "198", + "199", + "200", + "201" ], "location": { "end": { - "column": 76, - "line": 192 + "column": 48, + "line": 237 }, "start": { - "column": 43, - "line": 192 + "column": 9, + "line": 237 } } }, { - "id": "1291", - "mutatorName": "BooleanLiteral", - "replacement": "chosenRole", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", + "id": "1332", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "180", - "181" + "197", + "198", + "199", + "200", + "201" ], "location": { "end": { - "column": 20, - "line": 193 + "column": 48, + "line": 237 }, "start": { "column": 9, - "line": 193 + "line": 237 } } }, { - "id": "1292", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(240,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", + "id": "1333", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(278,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "180", - "181" + "197", + "198", + "199", + "200", + "201" ], "location": { "end": { - "column": 20, - "line": 193 + "column": 24, + "line": 237 }, "start": { "column": 9, - "line": 193 + "line": 237 } } }, { - "id": "1293", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(238,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", + "id": "1334", + "mutatorName": "BooleanLiteral", + "replacement": "foxPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "180", - "181" + "198", + "199", + "200", + "201" ], "location": { "end": { - "column": 20, - "line": 193 + "column": 62, + "line": 237 }, "start": { - "column": 9, - "line": 193 + "column": 52, + "line": 237 } } }, { - "id": "1294", + "id": "1335", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(235,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(236,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(279,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(284,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "180" + "197", + "198" ], "location": { "end": { "column": 6, - "line": 195 + "line": 239 }, "start": { - "column": 22, - "line": 193 + "column": 64, + "line": 237 } } }, { - "id": "1295", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(237,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", - "status": "CompileError", + "id": "1336", + "mutatorName": "MethodExpression", + "replacement": "foxSniffedPlayers.some(player => player.side.current === ROLE_SIDES.VILLAGERS)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"0cdca63b80c4faeac29f213d\",\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\": \"Branson\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1354:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "181" + "199", + "200", + "201" ], "location": { "end": { - "column": 87, - "line": 196 + "column": 131, + "line": 242 }, "start": { - "column": 38, - "line": 196 + "column": 52, + "line": 242 } } }, { - "id": "1296", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(238,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerRole': original, current, isRevealed\n", - "status": "CompileError", + "id": "1337", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "181" + "199", + "200", + "201" ], "location": { "end": { - "column": 87, - "line": 197 + "column": 130, + "line": 242 }, "start": { - "column": 38, - "line": 197 + "column": 76, + "line": 242 } } }, { - "id": "1297", - "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\": \"Kenton\",\n \"position\": 5368375150641152,\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\": \"db5dde68a7aff1c5e553d8bf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1158:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1338", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", "static": false, - "killedBy": [ - "181" - ], + "killedBy": [], "coveredBy": [ - "181" + "199", + "200", + "201" ], "location": { "end": { - "column": 91, - "line": 198 + "column": 130, + "line": 242 }, "start": { - "column": 49, - "line": 198 + "column": 86, + "line": 242 } } }, { - "id": "1298", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(243,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1339", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -79,19 +79,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"3f4dfa8982c64a6700fb695c\",\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\": \"Jeremy\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1382:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "182", - "183" + "199", + "200", + "201" ], "location": { "end": { - "column": 4, - "line": 209 + "column": 130, + "line": 242 }, "start": { - "column": 107, - "line": 202 + "column": 86, + "line": 242 } } }, { - "id": "1299", - "mutatorName": "BooleanLiteral", - "replacement": "targets", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(249,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1340", + "mutatorName": "EqualityOperator", + "replacement": "player.side.current !== ROLE_SIDES.VILLAGERS", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -79,19 +79,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"bab794e8bd5bb25bbd5c4fe6\",\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\": \"Nolan\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1382:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "182", - "183" + "199", + "200", + "201" ], "location": { "end": { - "column": 17, - "line": 204 + "column": 130, + "line": 242 }, "start": { - "column": 9, - "line": 204 + "column": 86, + "line": 242 } } }, { - "id": "1300", + "id": "1341", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(249,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "182", - "183" + "199", + "200", + "201" ], "location": { "end": { - "column": 17, - "line": 204 + "column": 81, + "line": 243 }, "start": { "column": 9, - "line": 204 + "line": 243 } } }, { - "id": "1301", + "id": "1342", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(249,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "182", - "183" + "199", + "200", + "201" ], "location": { "end": { - "column": 17, - "line": 204 + "column": 81, + "line": 243 }, "start": { "column": 9, - "line": 204 + "line": 243 } } }, { - "id": "1302", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(247,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1343", + "mutatorName": "LogicalOperator", + "replacement": "isFoxPowerlessIfMissesWerewolf || areEveryFoxSniffedPlayersVillagerSided", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"0f4eba48e3d92b3edec369df\",\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\": \"Vicky\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1354:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "182" + "199", + "200", + "201" ], "location": { "end": { - "column": 6, - "line": 206 + "column": 81, + "line": 243 }, "start": { - "column": 19, - "line": 204 + "column": 9, + "line": 243 } } }, { - "id": "1303", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(249,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", - "status": "CompileError", + "id": "1344", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -79,19 +79,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"9e28db4afdf69e60546e74b2\",\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\": \"Yazmin\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1382:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "183" + "201" ], "location": { "end": { - "column": 76, - "line": 208 + "column": 6, + "line": 246 }, "start": { - "column": 50, - "line": 208 + "column": 83, + "line": 243 } } }, { - "id": "1304", + "id": "1345", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(252,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(291,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": [ - "184", - "185", - "186" + "202", + "203" ], "location": { "end": { "column": 4, - "line": 219 + "line": 259 }, "start": { - "column": 109, - "line": 211 + "column": 98, + "line": 250 } } }, { - "id": "1305", + "id": "1346", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(258,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-play-maker.service.ts(259,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(297,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "184", - "185", - "186" + "202", + "203" ], "location": { "end": { - "column": 51, - "line": 214 + "column": 48, + "line": 253 }, "start": { "column": 9, - "line": 214 + "line": 253 } } }, { - "id": "1306", + "id": "1347", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(258,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-play-maker.service.ts(259,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(297,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "184", - "185", - "186" + "202", + "203" ], "location": { "end": { - "column": 51, - "line": 214 + "column": 48, + "line": 253 }, "start": { "column": 9, - "line": 214 + "line": 253 } } }, { - "id": "1307", - "mutatorName": "LogicalOperator", - "replacement": "chosenSide === undefined && !dogWolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(258,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-play-maker.service.ts(259,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", + "id": "1348", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(297,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "184", - "185", - "186" + "202", + "203" ], "location": { "end": { - "column": 51, - "line": 214 + "column": 48, + "line": 253 }, "start": { "column": 9, - "line": 214 + "line": 253 } } }, { - "id": "1308", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,82): error TS2322: Type 'ROLE_SIDES | undefined' is not assignable to type 'ROLE_SIDES'.\n Type 'undefined' is not assignable to type 'ROLE_SIDES'.\n", + "id": "1349", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(294,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(297,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "184", - "185", - "186" + "202", + "203" ], "location": { "end": { - "column": 33, - "line": 214 + "column": 24, + "line": 253 }, "start": { "column": 9, - "line": 214 + "line": 253 } } }, { - "id": "1309", - "mutatorName": "EqualityOperator", - "replacement": "chosenSide !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,82): error TS2322: Type 'undefined' is not assignable to type 'ROLE_SIDES'.\n", + "id": "1350", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(295,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "184", - "185", - "186" + "202" ], "location": { "end": { - "column": 33, - "line": 214 + "column": 6, + "line": 255 }, "start": { - "column": 9, - "line": 214 + "column": 50, + "line": 253 } } }, { - "id": "1310", - "mutatorName": "BooleanLiteral", - "replacement": "dogWolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(259,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", + "id": "1351", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(302,96): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "185", - "186" + "204", + "205" ], "location": { "end": { - "column": 51, - "line": 214 + "column": 4, + "line": 270 }, "start": { - "column": 37, - "line": 214 + "column": 101, + "line": 261 } } }, { - "id": "1311", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(256,62): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(256,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-play-maker.service.ts(257,31): error TS18048: 'dogWolfPlayer' is possibly 'undefined'.\n", + "id": "1352", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "184", - "185" + "204", + "205" ], "location": { "end": { - "column": 6, - "line": 216 + "column": 48, + "line": 264 }, "start": { - "column": 53, - "line": 214 + "column": 9, + "line": 264 } } }, { - "id": "1312", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -107,11 +107,11 @@\n \"current\": \"dog-wolf\",\n \"isRevealed\": false,\n \"original\": \"dog-wolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"9af6abfcfefbafbebabd1c4e\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1253:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1353", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "186" + "killedBy": [], + "coveredBy": [ + "204", + "205" + ], + "location": { + "end": { + "column": 48, + "line": 264 + }, + "start": { + "column": 9, + "line": 264 + } + } + }, + { + "id": "1354", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "204", + "205" ], + "location": { + "end": { + "column": 48, + "line": 264 + }, + "start": { + "column": 9, + "line": 264 + } + } + }, + { + "id": "1355", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(305,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(308,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "186" + "204", + "205" ], "location": { "end": { - "column": 105, - "line": 217 + "column": 24, + "line": 264 }, "start": { - "column": 49, - "line": 217 + "column": 9, + "line": 264 } } }, { - "id": "1313", - "mutatorName": "ObjectLiteral", + "id": "1356", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,51): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(306,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "186" + "204" ], "location": { "end": { - "column": 103, - "line": 217 + "column": 6, + "line": 266 }, "start": { - "column": 57, - "line": 217 + "column": 50, + "line": 264 } } }, { - "id": "1314", + "id": "1357", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(262,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(313,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": [ - "187", - "188" + "206", + "207" ], "location": { "end": { "column": 4, - "line": 230 + "line": 281 }, "start": { - "column": 109, - "line": 221 + "column": 115, + "line": 272 } } }, { - "id": "1315", + "id": "1358", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(268,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(319,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "187", - "188" + "206", + "207" ], "location": { "end": { "column": 48, - "line": 224 + "line": 275 }, "start": { "column": 9, - "line": 224 + "line": 275 } } }, { - "id": "1316", + "id": "1359", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(268,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(319,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "187", - "188" + "206", + "207" ], "location": { "end": { "column": 48, - "line": 224 + "line": 275 }, "start": { "column": 9, - "line": 224 + "line": 275 } } }, { - "id": "1317", + "id": "1360", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(268,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(319,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "187", - "188" + "206", + "207" ], "location": { "end": { "column": 48, - "line": 224 + "line": 275 }, "start": { "column": 9, - "line": 224 + "line": 275 } } }, { - "id": "1318", + "id": "1361", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(265,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(268,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(316,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(319,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "187", - "188" + "206", + "207" ], "location": { "end": { "column": 24, - "line": 224 + "line": 275 }, "start": { "column": 9, - "line": 224 + "line": 275 } } }, { - "id": "1319", + "id": "1362", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(266,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "187" + "206" ], "location": { "end": { "column": 6, - "line": 226 + "line": 277 }, "start": { "column": 50, - "line": 224 + "line": 275 } } }, { - "id": "1320", + "id": "1363", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(273,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(324,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": [ - "189", - "190", - "191", - "192", - "193" + "208", + "209", + "210" ], "location": { "end": { "column": 4, - "line": 248 + "line": 296 }, "start": { - "column": 97, - "line": 232 + "column": 104, + "line": 283 } } }, { - "id": "1321", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "id": "1364", + "mutatorName": "BooleanLiteral", + "replacement": "targets", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(331,26): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "189", - "190", - "191", - "192", - "193" + "208", + "209", + "210" ], "location": { "end": { - "column": 62, - "line": 237 + "column": 17, + "line": 285 }, "start": { "column": 9, - "line": 237 + "line": 285 } } }, { - "id": "1322", + "id": "1365", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(331,26): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "189", - "190", - "191", - "192", - "193" + "208", + "209", + "210" ], "location": { "end": { - "column": 62, - "line": 237 + "column": 17, + "line": 285 }, "start": { "column": 9, - "line": 237 + "line": 285 } } }, { - "id": "1323", - "mutatorName": "LogicalOperator", - "replacement": "targets?.length !== expectedTargetCount && !foxPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "id": "1366", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(331,26): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "189", - "190", - "191", - "192", - "193" + "208", + "209", + "210" ], "location": { "end": { - "column": 62, - "line": 237 + "column": 17, + "line": 285 }, "start": { "column": 9, - "line": 237 + "line": 285 } } }, { - "id": "1324", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1367", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(329,26): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "189", - "190", - "191", - "192", - "193" + "208" ], "location": { "end": { - "column": 48, - "line": 237 + "column": 6, + "line": 287 }, "start": { - "column": 9, - "line": 237 + "column": 19, + "line": 285 } } }, { - "id": "1325", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1368", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -96,19 +96,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"addc81ef6aa89e4949d4c719\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n- \"remainingPhases\": 1,\n- \"source\": \"witch\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Pietro\",\n \"position\": 8355664053141504,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1539:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "209" + ], "coveredBy": [ - "189", - "190", - "191", - "192", - "193" + "209", + "210" ], "location": { "end": { - "column": 48, - "line": 237 + "column": 6, + "line": 294 }, "start": { - "column": 9, - "line": 237 + "column": 35, + "line": 290 } } }, { - "id": "1326", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(278,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(281,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1369", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -125,11 +125,11 @@\n \"_id\": \"d89d546507a677d291bb898d\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-death-potion\",\n+ \"name\": \"drank-life-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1573:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "210" + ], "coveredBy": [ - "189", - "190", - "191", - "192", - "193" + "209", + "210" ], "location": { "end": { - "column": 24, - "line": 237 + "column": 77, + "line": 292 }, "start": { - "column": 9, - "line": 237 + "column": 36, + "line": 292 } } }, { - "id": "1327", - "mutatorName": "BooleanLiteral", - "replacement": "foxPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1370", + "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 \"_id\": \"ffae789487aeb5c774dec60a\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n+ \"name\": \"drank-death-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1539:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "209" + ], + "coveredBy": [ + "209", + "210" + ], + "location": { + "end": { + "column": 77, + "line": 292 + }, + "start": { + "column": 36, + "line": 292 + } + } + }, + { + "id": "1371", + "mutatorName": "EqualityOperator", + "replacement": "target.drankPotion !== WITCH_POTIONS.LIFE", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "190", - "191", - "192", - "193" + "209", + "210" ], "location": { "end": { - "column": 62, - "line": 237 + "column": 77, + "line": 292 }, "start": { - "column": 52, - "line": 237 + "column": 36, + "line": 292 } } }, { - "id": "1328", + "id": "1372", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(279,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(284,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(339,98): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "189", - "190" + "211", + "212", + "213" ], "location": { "end": { - "column": 6, - "line": 239 + "column": 4, + "line": 305 }, "start": { - "column": 64, - "line": 237 + "column": 103, + "line": 298 } } }, { - "id": "1329", - "mutatorName": "MethodExpression", - "replacement": "foxSniffedPlayers.some(player => player.side.current === ROLE_SIDES.VILLAGERS)", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"0cdca63b80c4faeac29f213d\",\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\": \"Branson\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1354:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1373", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "192" - ], + "killedBy": [], "coveredBy": [ - "191", - "192", - "193" + "211", + "212", + "213" ], "location": { "end": { - "column": 131, - "line": 242 + "column": 54, + "line": 300 }, "start": { - "column": 52, - "line": 242 + "column": 9, + "line": 300 } } }, { - "id": "1330", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "status": "Timeout", + "id": "1374", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193" + "211", + "212", + "213" ], "location": { "end": { - "column": 130, - "line": 242 + "column": 54, + "line": 300 }, "start": { - "column": 76, - "line": 242 + "column": 9, + "line": 300 } } }, { - "id": "1331", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "id": "1375", + "mutatorName": "LogicalOperator", + "replacement": "targets === undefined && targets.length === 0", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(341,34): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193" + "211", + "212", + "213" ], "location": { "end": { - "column": 130, - "line": 242 + "column": 54, + "line": 300 }, "start": { - "column": 86, - "line": 242 + "column": 9, + "line": 300 } } }, { - "id": "1332", + "id": "1376", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -79,19 +79,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"3f4dfa8982c64a6700fb695c\",\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\": \"Jeremy\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1382:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(341,18): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "193" - ], + "killedBy": [], "coveredBy": [ - "191", - "192", - "193" + "211", + "212", + "213" ], "location": { "end": { - "column": 130, - "line": 242 + "column": 30, + "line": 300 }, "start": { - "column": 86, - "line": 242 + "column": 9, + "line": 300 } } }, { - "id": "1333", + "id": "1377", "mutatorName": "EqualityOperator", - "replacement": "player.side.current !== ROLE_SIDES.VILLAGERS", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -79,19 +79,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"bab794e8bd5bb25bbd5c4fe6\",\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\": \"Nolan\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1382:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "targets !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(341,34): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "193" - ], + "killedBy": [], "coveredBy": [ - "191", - "192", - "193" + "211", + "212", + "213" ], "location": { "end": { - "column": 130, - "line": 242 + "column": 30, + "line": 300 }, "start": { - "column": 86, - "line": 242 + "column": 9, + "line": 300 } } }, { - "id": "1334", + "id": "1378", "mutatorName": "ConditionalExpression", - "replacement": "true", + "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193" + "212", + "213" ], "location": { "end": { - "column": 81, - "line": 243 + "column": 54, + "line": 300 }, "start": { - "column": 9, - "line": 243 + "column": 34, + "line": 300 } } }, { - "id": "1335", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(286,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1379", + "mutatorName": "EqualityOperator", + "replacement": "targets.length !== 0", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193" + "212", + "213" ], "location": { "end": { - "column": 81, - "line": 243 + "column": 54, + "line": 300 }, "start": { - "column": 9, - "line": 243 + "column": 34, + "line": 300 } } }, { - "id": "1336", - "mutatorName": "LogicalOperator", - "replacement": "isFoxPowerlessIfMissesWerewolf || areEveryFoxSniffedPlayersVillagerSided", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -79,11 +79,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"0f4eba48e3d92b3edec369df\",\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\": \"Vicky\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1354:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1380", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(343,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "192" - ], + "killedBy": [], "coveredBy": [ - "191", - "192", - "193" + "211", + "212" ], "location": { "end": { - "column": 81, - "line": 243 + "column": 6, + "line": 302 }, "start": { - "column": 9, - "line": 243 + "column": 56, + "line": 300 } } }, { - "id": "1337", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -79,19 +79,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"9e28db4afdf69e60546e74b2\",\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\": \"Yazmin\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1382:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1381", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "193" - ], + "killedBy": [], "coveredBy": [ - "193" + "213" ], "location": { "end": { - "column": 6, - "line": 246 + "column": 76, + "line": 304 }, "start": { - "column": 83, - "line": 243 + "column": 50, + "line": 304 } } }, { - "id": "1338", + "id": "1382", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(291,93): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(348,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": [ - "194", - "195" + "214", + "215" ], "location": { "end": { "column": 4, - "line": 259 + "line": 315 }, "start": { - "column": 98, - "line": 250 + "column": 99, + "line": 307 } } }, { - "id": "1339", + "id": "1383", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(297,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "194", - "195" + "214", + "215" ], "location": { "end": { "column": 48, - "line": 253 + "line": 310 }, "start": { "column": 9, - "line": 253 + "line": 310 } } }, { - "id": "1340", + "id": "1384", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(297,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "194", - "195" + "214", + "215" ], "location": { "end": { "column": 48, - "line": 253 + "line": 310 }, "start": { "column": 9, - "line": 253 + "line": 310 } } }, { - "id": "1341", + "id": "1385", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(297,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "194", - "195" + "214", + "215" ], "location": { "end": { "column": 48, - "line": 253 + "line": 310 }, "start": { "column": 9, - "line": 253 + "line": 310 } } }, { - "id": "1342", + "id": "1386", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(294,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(297,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(351,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "194", - "195" + "214", + "215" ], "location": { "end": { "column": 24, - "line": 253 + "line": 310 }, "start": { "column": 9, - "line": 253 + "line": 310 } } }, { - "id": "1343", + "id": "1387", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(295,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(353,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "194" + "214" ], "location": { "end": { "column": 6, - "line": 255 + "line": 312 }, "start": { "column": 50, - "line": 253 + "line": 310 } } }, { - "id": "1344", + "id": "1388", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "215" + ], + "location": { + "end": { + "column": 76, + "line": 314 + }, + "start": { + "column": 50, + "line": 314 + } + } + }, + { + "id": "1389", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(302,96): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "196", - "197" + "216", + "217", + "567" ], "location": { "end": { "column": 4, - "line": 270 + "line": 326 }, "start": { - "column": 101, - "line": 261 + "column": 97, + "line": 317 } } }, { - "id": "1345", + "id": "1390", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(323,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "196", - "197" + "216", + "217", + "567" ], "location": { "end": { "column": 48, - "line": 264 + "line": 320 }, "start": { "column": 9, - "line": 264 + "line": 320 } } }, { - "id": "1346", + "id": "1391", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(323,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "196", - "197" + "216", + "217", + "567" ], "location": { "end": { "column": 48, - "line": 264 + "line": 320 }, "start": { "column": 9, - "line": 264 + "line": 320 } } }, { - "id": "1347", + "id": "1392", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(323,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "196", - "197" + "216", + "217", + "567" ], "location": { "end": { "column": 48, - "line": 264 + "line": 320 }, "start": { "column": 9, - "line": 264 + "line": 320 } } }, { - "id": "1348", + "id": "1393", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(305,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(308,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(320,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(323,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "196", - "197" + "216", + "217", + "567" ], "location": { "end": { "column": 24, - "line": 264 + "line": 320 }, "start": { "column": 9, - "line": 264 + "line": 320 } } }, { - "id": "1349", + "id": "1394", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(306,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(362,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "196" + "216" ], "location": { "end": { "column": 6, - "line": 266 + "line": 322 }, "start": { "column": 50, - "line": 264 + "line": 320 } } }, { - "id": "1350", + "id": "1395", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(313,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(369,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "198", - "199" + "218", + "219" ], "location": { "end": { "column": 4, - "line": 281 + "line": 337 }, "start": { - "column": 115, - "line": 272 + "column": 105, + "line": 328 } } }, { - "id": "1351", + "id": "1396", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(319,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(375,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "198", - "199" + "218", + "219" ], "location": { "end": { "column": 48, - "line": 275 + "line": 331 }, "start": { "column": 9, - "line": 275 + "line": 331 } } }, { - "id": "1352", + "id": "1397", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(319,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(375,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "198", - "199" + "218", + "219" ], "location": { "end": { "column": 48, - "line": 275 + "line": 331 }, "start": { "column": 9, - "line": 275 + "line": 331 } } }, { - "id": "1353", + "id": "1398", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(319,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(375,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "198", - "199" + "218", + "219" ], "location": { "end": { "column": 48, - "line": 275 + "line": 331 }, "start": { "column": 9, - "line": 275 + "line": 331 } } }, { - "id": "1354", + "id": "1399", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(316,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(319,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(372,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(375,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "198", - "199" + "218", + "219" ], "location": { "end": { "column": 24, - "line": 275 + "line": 331 }, "start": { "column": 9, - "line": 275 + "line": 331 } } }, { - "id": "1355", + "id": "1400", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(373,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "198" + "218" ], "location": { "end": { "column": 6, - "line": 277 + "line": 333 }, "start": { "column": 50, - "line": 275 + "line": 331 } } }, { - "id": "1356", + "id": "1401", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(324,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(380,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": [ - "200", - "201", - "202" + "220", + "221" ], "location": { "end": { "column": 4, - "line": 296 + "line": 348 }, "start": { - "column": 104, - "line": 283 + "column": 102, + "line": 339 } } }, { - "id": "1357", - "mutatorName": "BooleanLiteral", - "replacement": "targets", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(331,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1402", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(386,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "200", - "201", - "202" + "220", + "221" ], "location": { "end": { - "column": 17, - "line": 285 + "column": 48, + "line": 342 }, "start": { "column": 9, - "line": 285 + "line": 342 } } }, { - "id": "1358", + "id": "1403", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(331,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(386,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "200", - "201", - "202" + "220", + "221" ], "location": { "end": { - "column": 17, - "line": 285 + "column": 48, + "line": 342 }, "start": { "column": 9, - "line": 285 + "line": 342 } } }, { - "id": "1359", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(331,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1404", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(386,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "200", - "201", - "202" + "220", + "221" ], "location": { "end": { - "column": 17, - "line": 285 + "column": 48, + "line": 342 }, "start": { "column": 9, - "line": 285 + "line": 342 } } }, { - "id": "1360", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(329,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1405", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(383,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(386,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "200" + "220", + "221" ], "location": { "end": { - "column": 6, - "line": 287 + "column": 24, + "line": 342 }, "start": { - "column": 19, - "line": 285 + "column": 9, + "line": 342 } } }, { - "id": "1361", + "id": "1406", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -96,19 +96,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"addc81ef6aa89e4949d4c719\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n- \"remainingPhases\": 1,\n- \"source\": \"witch\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Pietro\",\n \"position\": 8355664053141504,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1539:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(384,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "201" - ], + "killedBy": [], "coveredBy": [ - "201", - "202" + "220" ], "location": { "end": { "column": 6, - "line": 294 + "line": 344 }, "start": { - "column": 35, - "line": 290 + "column": 50, + "line": 342 } } }, { - "id": "1362", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -125,11 +125,11 @@\n \"_id\": \"d89d546507a677d291bb898d\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-death-potion\",\n+ \"name\": \"drank-life-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1573:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1407", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(391,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "202" - ], + "killedBy": [], "coveredBy": [ - "201", - "202" + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 77, - "line": 292 + "column": 4, + "line": 364 }, "start": { - "column": 36, - "line": 292 + "column": 116, + "line": 350 } } }, { - "id": "1363", + "id": "1408", "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 \"_id\": \"ffae789487aeb5c774dec60a\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n+ \"name\": \"drank-death-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1539:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(397,70): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "201" - ], + "killedBy": [], "coveredBy": [ - "201", - "202" + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 77, - "line": 292 + "column": 48, + "line": 353 }, "start": { - "column": 36, - "line": 292 + "column": 9, + "line": 353 } } }, { - "id": "1364", - "mutatorName": "EqualityOperator", - "replacement": "target.drankPotion !== WITCH_POTIONS.LIFE", - "status": "Timeout", + "id": "1409", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(397,70): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "201", - "202" + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 77, - "line": 292 + "column": 48, + "line": 353 }, "start": { - "column": 36, - "line": 292 + "column": 9, + "line": 353 } } }, { - "id": "1365", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(339,98): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "1410", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(397,70): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "203", - "204", - "205" + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 4, - "line": 305 + "column": 48, + "line": 353 }, "start": { - "column": 103, - "line": 298 + "column": 9, + "line": 353 } } }, { - "id": "1366", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1411", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(394,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(397,70): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "203", - "204", - "205" + "222", + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 54, - "line": 300 + "column": 24, + "line": 353 }, "start": { "column": 9, - "line": 300 + "line": 353 } } }, { - "id": "1367", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1412", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(395,70): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "203", - "204", - "205" + "222" ], "location": { "end": { - "column": 54, - "line": 300 + "column": 6, + "line": 355 }, "start": { - "column": 9, - "line": 300 + "column": 50, + "line": 353 } } }, { - "id": "1368", - "mutatorName": "LogicalOperator", - "replacement": "targets === undefined && targets.length === 0", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(341,34): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1413", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "203", - "204", - "205" + "223", + "224", + "225", + "226" ], "location": { - "end": { - "column": 54, - "line": 300 + "end": { + "column": 111, + "line": 359 }, "start": { "column": 9, - "line": 300 + "line": 359 } } }, { - "id": "1369", + "id": "1414", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(341,18): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "203", - "204", - "205" + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 30, - "line": 300 + "column": 111, + "line": 359 }, "start": { "column": 9, - "line": 300 + "line": 359 } } }, { - "id": "1370", - "mutatorName": "EqualityOperator", - "replacement": "targets !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(341,34): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1415", + "mutatorName": "LogicalOperator", + "replacement": "isTargetInfected === true || targetedPlayer.role.current !== ROLE_NAMES.ANCIENT || isAncientKillable", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "203", - "204", - "205" + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 30, - "line": 300 + "column": 111, + "line": 359 }, "start": { "column": 9, - "line": 300 + "line": 359 } } }, { - "id": "1371", + "id": "1416", "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n@@ -96,30 +96,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"972e90222bfe5e2875edd156\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Myles\",\n \"position\": 3405507308027904,\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\": \"eddda35811bc7db451ef2a0d\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1853:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "223" + ], "coveredBy": [ - "204", - "205" + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 54, - "line": 300 + "column": 34, + "line": 359 }, "start": { - "column": 34, - "line": 300 + "column": 9, + "line": 359 } } }, { - "id": "1372", + "id": "1417", "mutatorName": "EqualityOperator", - "replacement": "targets.length !== 0", + "replacement": "isTargetInfected !== true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "204", - "205" + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 54, - "line": 300 + "column": 34, + "line": 359 }, "start": { - "column": 34, - "line": 300 + "column": 9, + "line": 359 } } }, { - "id": "1373", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(343,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1418", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n@@ -96,30 +96,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"3a1fdd1c5a1ffab2fb8d7b34\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Elian\",\n \"position\": 670682522320896,\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\": \"e6bba19b4c91baeaecfafe5d\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1853:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "223" + ], "coveredBy": [ - "203", - "204" + "223", + "224", + "225", + "226" ], "location": { "end": { - "column": 6, - "line": 302 + "column": 34, + "line": 359 }, "start": { - "column": 56, - "line": 300 + "column": 30, + "line": 359 } } }, { - "id": "1374", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(345,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", - "status": "CompileError", + "id": "1419", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n@@ -96,30 +96,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"9de17fba4afb7dd96f51bfa1\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Evan\",\n \"position\": 4887438751170560,\n \"role\": PlayerRole {\n \"current\": \"ancient\",\n \"isRevealed\": false,\n \"original\": \"ancient\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c70165b9afb5c23ebfa21cc5\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1881:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "224" + ], "coveredBy": [ - "205" + "224", + "225", + "226" ], "location": { "end": { - "column": 76, - "line": 304 + "column": 110, + "line": 359 }, "start": { - "column": 50, - "line": 304 + "column": 39, + "line": 359 } } }, { - "id": "1375", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(348,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1420", + "mutatorName": "LogicalOperator", + "replacement": "targetedPlayer.role.current !== ROLE_NAMES.ANCIENT && isAncientKillable", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 10\n\n@@ -96,22 +96,30 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c4194db1047efde948f033fa\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"eaten\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Makenna\",\n \"position\": 5058146133344256,\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\": \"8e3a93b01f6acbc8c9d363c0\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1909:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "225" + ], "coveredBy": [ - "206", - "207" + "224", + "225", + "226" ], "location": { "end": { - "column": 4, - "line": 315 + "column": 110, + "line": 359 }, "start": { - "column": 99, - "line": 307 + "column": 39, + "line": 359 } } }, { - "id": "1376", + "id": "1421", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 10\n\n@@ -96,22 +96,30 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c0d4b79c784c5daf4dd1d92d\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"eaten\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Hazel\",\n \"position\": 3185073612390400,\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\": \"9ba006ac6f3891adbde5559f\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1909:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "225" + ], "coveredBy": [ - "206", - "207" + "224", + "225", + "226" ], "location": { "end": { - "column": 48, - "line": 310 + "column": 89, + "line": 359 }, "start": { - "column": 9, - "line": 310 + "column": 39, + "line": 359 } } }, { - "id": "1377", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1422", + "mutatorName": "EqualityOperator", + "replacement": "targetedPlayer.role.current === ROLE_NAMES.ANCIENT", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n@@ -96,30 +96,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"e0139c830edb25ea5aa6c4b9\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Sean\",\n \"position\": 6408245402927104,\n \"role\": PlayerRole {\n \"current\": \"ancient\",\n \"isRevealed\": false,\n \"original\": \"ancient\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"e3b7c3c9da1c7c84bc342b04\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1881:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "224" + ], "coveredBy": [ - "206", - "207" + "224", + "225", + "226" ], "location": { "end": { - "column": 48, - "line": 310 + "column": 89, + "line": 359 }, "start": { - "column": 9, - "line": 310 + "column": 39, + "line": 359 } } }, { - "id": "1378", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1423", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 10\n\n@@ -96,22 +96,30 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"edae1bf938bedbbce8ee27fe\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"eaten\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Amani\",\n \"position\": 8690166040363008,\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\": \"d4fbad2aec3f5ce9e9b8abbd\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1909:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "225" + ], "coveredBy": [ - "206", - "207" + "225", + "226" ], "location": { "end": { - "column": 48, - "line": 310 + "column": 6, + "line": 362 }, "start": { - "column": 9, - "line": 310 + "column": 113, + "line": 359 } } }, { - "id": "1379", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(351,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1424", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -107,11 +107,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\": \"baa8ab016d175becaef9f17a\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1909:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "225" + ], "coveredBy": [ - "206", - "207" + "225", + "226" ], "location": { "end": { - "column": 24, - "line": 310 + "column": 119, + "line": 360 }, "start": { - "column": 9, - "line": 310 + "column": 51, + "line": 360 } } }, { - "id": "1380", - "mutatorName": "BlockStatement", + "id": "1425", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(353,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(401,53): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "206" + "225", + "226" ], "location": { "end": { - "column": 6, - "line": 312 + "column": 117, + "line": 360 }, "start": { - "column": 50, - "line": 310 + "column": 59, + "line": 360 } } - }, + } + ], + "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep, sample } from \"lodash\";\nimport { createFakeGamePlayAllElectSheriff } from \"../../../../../../tests/factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createNoCurrentGamePlayUnexpectedException } from \"../../../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { roles } from \"../../../../role/constants/role.constant\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../role/enums/role.enum\";\nimport type { MakeGamePlayWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-with-relations.dto\";\nimport { GAME_PLAY_ACTIONS, GAME_PLAY_CAUSES, WITCH_POTIONS } from \"../../../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport { createGamePlayAllVote, createGamePlaySheriffSettlesVotes } from \"../../../helpers/game-play/game-play.factory\";\nimport { getFoxSniffedPlayers, getPlayerWithAttribute, getPlayerWithCurrentRole } from \"../../../helpers/game.helper\";\nimport { addPlayerAttributeInGame, addPlayersAttributeInGame, appendUpcomingPlayInGame, prependUpcomingPlayInGame, removePlayerAttributeByNameInGame, updatePlayerInGame } from \"../../../helpers/game.mutator\";\nimport { createCantVoteByScapegoatPlayerAttribute, createCharmedByPiedPiperPlayerAttribute, createDrankDeathPotionByWitchPlayerAttribute, createDrankLifePotionByWitchPlayerAttribute, createEatenByBigBadWolfPlayerAttribute, createEatenByWerewolvesPlayerAttribute, createEatenByWhiteWerewolfPlayerAttribute, createInLoveByCupidPlayerAttribute, createPowerlessByFoxPlayerAttribute, createProtectedByGuardPlayerAttribute, createRavenMarkByRavenPlayerAttribute, createSeenBySeerPlayerAttribute, createSheriffByAllPlayerAttribute, createSheriffBySheriffPlayerAttribute, createWorshipedByWildChildPlayerAttribute } from \"../../../helpers/player/player-attribute/player-attribute.factory\";\nimport { createPlayerShotByHunterDeath, createPlayerVoteByAllDeath, createPlayerVoteBySheriffDeath, createPlayerVoteScapegoatedByAllDeath } from \"../../../helpers/player/player-death/player-death.factory\";\nimport { isPlayerAliveAndPowerful } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { PlayerRole } from \"../../../schemas/player/player-role.schema\";\nimport type { PlayerSide } from \"../../../schemas/player/player-side.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport type { GameWithCurrentPlay } from \"../../../types/game-with-current-play\";\nimport type { GameSource } from \"../../../types/game.type\";\nimport { PlayerKillerService } from \"../player/player-killer.service\";\nimport { GamePlayVoteService } from \"./game-play-vote/game-play-vote.service\";\n\n@Injectable()\nexport class GamePlayMakerService {\n private readonly gameSourcePlayMethods: Partial Game | Promise>> = {\n [PLAYER_GROUPS.WEREWOLVES]: async(play, game) => this.werewolvesEat(play, game),\n [ROLE_NAMES.BIG_BAD_WOLF]: (play, game) => this.bigBadWolfEats(play, game),\n [ROLE_NAMES.WHITE_WEREWOLF]: (play, game) => this.whiteWerewolfEats(play, game),\n [ROLE_NAMES.SEER]: (play, game) => this.seerLooks(play, game),\n [ROLE_NAMES.CUPID]: (play, game) => this.cupidCharms(play, game),\n [ROLE_NAMES.PIED_PIPER]: (play, game) => this.piedPiperCharms(play, game),\n [ROLE_NAMES.WITCH]: (play, game) => this.witchUsesPotions(play, game),\n [ROLE_NAMES.HUNTER]: async(play, game) => this.hunterShoots(play, game),\n [ROLE_NAMES.GUARD]: (play, game) => this.guardProtects(play, game),\n [ROLE_NAMES.FOX]: (play, game) => this.foxSniffs(play, game),\n [ROLE_NAMES.WILD_CHILD]: (play, game) => this.wildChildChoosesModel(play, game),\n [ROLE_NAMES.DOG_WOLF]: (play, game) => this.dogWolfChoosesSide(play, game),\n [ROLE_NAMES.SCAPEGOAT]: (play, game) => this.scapegoatBansVoting(play, game),\n [ROLE_NAMES.THIEF]: (play, game) => this.thiefChoosesCard(play, game),\n [PLAYER_GROUPS.ALL]: async(play, game) => this.allPlay(play, game),\n [ROLE_NAMES.RAVEN]: (play, game) => this.ravenMarks(play, game),\n [PLAYER_ATTRIBUTE_NAMES.SHERIFF]: async(play, game) => this.sheriffPlays(play, game),\n };\n\n public constructor(\n private readonly playerKillerService: PlayerKillerService,\n private readonly gamePlayVoteService: GamePlayVoteService,\n ) {}\n\n public async makeGamePlay(play: MakeGamePlayWithRelationsDto, game: Game): Promise {\n if (!game.currentPlay) {\n throw createNoCurrentGamePlayUnexpectedException(\"makeGamePlay\", { gameId: game._id });\n }\n const clonedGame = cloneDeep(game) as GameWithCurrentPlay;\n const gameSourcePlayMethod = this.gameSourcePlayMethods[clonedGame.currentPlay.source];\n if (gameSourcePlayMethod === undefined) {\n return clonedGame;\n }\n return gameSourcePlayMethod(play, clonedGame);\n }\n\n private async sheriffSettlesVotes({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const targetedPlayer = targets[0].player;\n const voteBySheriffDeath = createPlayerVoteBySheriffDeath();\n return this.playerKillerService.killOrRevealPlayer(targetedPlayer._id, clonedGame, voteBySheriffDeath);\n }\n\n private sheriffDelegates({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n let clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const targetedPlayer = targets[0].player;\n const sheriffPlayer = getPlayerWithAttribute(clonedGame.players, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n if (sheriffPlayer) {\n clonedGame = removePlayerAttributeByNameInGame(sheriffPlayer._id, clonedGame, PLAYER_ATTRIBUTE_NAMES.SHERIFF) as GameWithCurrentPlay;\n }\n const sheriffBySheriffPlayerAttribute = createSheriffBySheriffPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, sheriffBySheriffPlayerAttribute);\n }\n\n private async sheriffPlays(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const sheriffPlayMethods: Partial Game | Promise>> = {\n [GAME_PLAY_ACTIONS.DELEGATE]: () => this.sheriffDelegates(play, clonedGame),\n [GAME_PLAY_ACTIONS.SETTLE_VOTES]: async() => this.sheriffSettlesVotes(play, clonedGame),\n };\n const sheriffPlayMethod = sheriffPlayMethods[clonedGame.currentPlay.action];\n if (sheriffPlayMethod === undefined) {\n return clonedGame;\n }\n return sheriffPlayMethod();\n }\n\n private async handleTieInVotes(game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const scapegoatPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.SCAPEGOAT);\n if (scapegoatPlayer && isPlayerAliveAndPowerful(scapegoatPlayer)) {\n const playerVoteScapegoatedByAllDeath = createPlayerVoteScapegoatedByAllDeath();\n return this.playerKillerService.killOrRevealPlayer(scapegoatPlayer._id, clonedGame, playerVoteScapegoatedByAllDeath);\n }\n const sheriffPlayer = getPlayerWithAttribute(clonedGame.players, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n if (sheriffPlayer?.isAlive === true) {\n const gamePlaySheriffSettlesVotes = createGamePlaySheriffSettlesVotes();\n return prependUpcomingPlayInGame(gamePlaySheriffSettlesVotes, clonedGame);\n }\n if (clonedGame.currentPlay.cause !== GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) {\n const gamePlayAllVote = createGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES });\n return prependUpcomingPlayInGame(gamePlayAllVote, clonedGame);\n }\n return clonedGame;\n }\n\n private async allVote({ votes, doesJudgeRequestAnotherVote }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n let clonedGame = cloneDeep(game);\n if (!votes) {\n return clonedGame;\n }\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, clonedGame);\n if (doesJudgeRequestAnotherVote === true) {\n const gamePlayAllVote = createGamePlayAllVote({ cause: GAME_PLAY_CAUSES.STUTTERING_JUDGE_REQUEST });\n clonedGame = appendUpcomingPlayInGame(gamePlayAllVote, clonedGame) as GameWithCurrentPlay;\n }\n if (nominatedPlayers.length > 1) {\n return this.handleTieInVotes(clonedGame);\n }\n if (nominatedPlayers.length === 1) {\n const playerVoteByAllDeath = createPlayerVoteByAllDeath();\n return this.playerKillerService.killOrRevealPlayer(nominatedPlayers[0]._id, clonedGame, playerVoteByAllDeath);\n }\n return clonedGame;\n }\n\n private handleTieInSheriffElection(nominatedPlayers: Player[], game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n if (clonedGame.currentPlay.cause !== GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) {\n const gamePlayAllElectSheriff = createFakeGamePlayAllElectSheriff({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES });\n return prependUpcomingPlayInGame(gamePlayAllElectSheriff, clonedGame);\n }\n const randomNominatedPlayer = sample(nominatedPlayers);\n if (randomNominatedPlayer) {\n const sheriffByAllPlayerAttribute = createSheriffByAllPlayerAttribute();\n return addPlayerAttributeInGame(randomNominatedPlayer._id, clonedGame, sheriffByAllPlayerAttribute);\n }\n return clonedGame;\n }\n\n private allElectSheriff(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const { votes } = play;\n if (!votes) {\n return clonedGame;\n }\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, clonedGame);\n if (!nominatedPlayers.length) {\n return clonedGame;\n }\n if (nominatedPlayers.length !== 1) {\n return this.handleTieInSheriffElection(nominatedPlayers, clonedGame);\n }\n const sheriffByAllPlayerAttribute = createSheriffByAllPlayerAttribute();\n return addPlayerAttributeInGame(nominatedPlayers[0]._id, clonedGame, sheriffByAllPlayerAttribute);\n }\n\n private async allPlay(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const allPlayMethods: Partial Game | Promise>> = {\n [GAME_PLAY_ACTIONS.ELECT_SHERIFF]: () => this.allElectSheriff(play, clonedGame),\n [GAME_PLAY_ACTIONS.VOTE]: async() => this.allVote(play, clonedGame),\n };\n const allPlayMethod = allPlayMethods[clonedGame.currentPlay.action];\n if (allPlayMethod === undefined) {\n return clonedGame;\n }\n return allPlayMethod();\n }\n \n private thiefChoosesCard({ chosenCard }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const thiefPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.THIEF);\n if (!thiefPlayer || !chosenCard) {\n return clonedGame;\n }\n const chosenRole = roles.find(role => role.name === chosenCard.roleName);\n if (!chosenRole) {\n return clonedGame;\n }\n const newThiefSide: PlayerSide = { ...thiefPlayer.side, current: chosenRole.side };\n const newThiefRole: PlayerRole = { ...thiefPlayer.role, current: chosenRole.name };\n const playerDataToUpdate: Partial = { side: newThiefSide, role: newThiefRole };\n return updatePlayerInGame(thiefPlayer._id, playerDataToUpdate, clonedGame);\n }\n \n private scapegoatBansVoting({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n if (!targets) {\n return clonedGame;\n }\n const cantVoteByScapegoatPlayerAttribute = createCantVoteByScapegoatPlayerAttribute(clonedGame);\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, cantVoteByScapegoatPlayerAttribute);\n }\n \n private dogWolfChoosesSide({ chosenSide }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const dogWolfPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.DOG_WOLF);\n if (chosenSide === undefined || !dogWolfPlayer) {\n return clonedGame;\n }\n const playerDataToUpdate: Partial = { side: { ...dogWolfPlayer.side, current: chosenSide } };\n return updatePlayerInGame(dogWolfPlayer._id, playerDataToUpdate, clonedGame);\n }\n \n private wildChildChoosesModel({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const worshipedByWildChildPlayerAttribute = createWorshipedByWildChildPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, worshipedByWildChildPlayerAttribute);\n }\n\n private foxSniffs({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n const foxPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.FOX);\n const { isPowerlessIfMissesWerewolf: isFoxPowerlessIfMissesWerewolf } = clonedGame.options.roles.fox;\n if (targets?.length !== expectedTargetCount || !foxPlayer) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const foxSniffedPlayers = getFoxSniffedPlayers(targetedPlayer._id, clonedGame);\n const areEveryFoxSniffedPlayersVillagerSided = foxSniffedPlayers.every(player => player.side.current === ROLE_SIDES.VILLAGERS);\n if (isFoxPowerlessIfMissesWerewolf && areEveryFoxSniffedPlayersVillagerSided) {\n const powerlessByFoxPlayerAttribute = createPowerlessByFoxPlayerAttribute();\n return addPlayerAttributeInGame(foxPlayer._id, clonedGame, powerlessByFoxPlayerAttribute);\n }\n return clonedGame;\n }\n \n private ravenMarks({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const ravenMarkByRavenPlayerAttribute = createRavenMarkByRavenPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, ravenMarkByRavenPlayerAttribute);\n }\n \n private guardProtects({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const protectedByGuardPlayerAttribute = createProtectedByGuardPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, protectedByGuardPlayerAttribute);\n }\n\n private async hunterShoots({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const shotByHunterDeath = createPlayerShotByHunterDeath();\n return this.playerKillerService.killOrRevealPlayer(targetedPlayer._id, clonedGame, shotByHunterDeath);\n }\n\n private witchUsesPotions({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n let clonedGame = cloneDeep(game);\n if (!targets) {\n return clonedGame;\n }\n const lifePotionAttribute = createDrankLifePotionByWitchPlayerAttribute();\n const deathPotionAttribute = createDrankDeathPotionByWitchPlayerAttribute();\n for (const target of targets) {\n const { player: targetedPlayer } = target;\n const drankPotionAttribute = target.drankPotion === WITCH_POTIONS.LIFE ? lifePotionAttribute : deathPotionAttribute;\n clonedGame = addPlayerAttributeInGame(targetedPlayer._id, clonedGame, drankPotionAttribute) as GameWithCurrentPlay;\n }\n return clonedGame;\n }\n\n private piedPiperCharms({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n if (targets === undefined || targets.length === 0) {\n return clonedGame;\n }\n const charmedByPiedPiperPlayerAttribute = createCharmedByPiedPiperPlayerAttribute();\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, charmedByPiedPiperPlayerAttribute);\n }\n\n private cupidCharms({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 2;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const inLoveByCupidPlayerAttribute = createInLoveByCupidPlayerAttribute();\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, inLoveByCupidPlayerAttribute);\n }\n\n private seerLooks({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const seenBySeerPlayerAttribute = createSeenBySeerPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, seenBySeerPlayerAttribute);\n }\n\n private whiteWerewolfEats({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const eatenByWhiteWerewolfPlayerAttribute = createEatenByWhiteWerewolfPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByWhiteWerewolfPlayerAttribute);\n }\n\n private bigBadWolfEats({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const eatenByBigBadWolfPlayerAttribute = createEatenByBigBadWolfPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByBigBadWolfPlayerAttribute);\n }\n\n private async werewolvesEat({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer, isInfected: isTargetInfected } = targets[0];\n const eatenByWerewolvesPlayerAttribute = createEatenByWerewolvesPlayerAttribute();\n const isAncientKillable = await this.playerKillerService.isAncientKillable(clonedGame, PLAYER_DEATH_CAUSES.EATEN);\n if (isTargetInfected === true && (targetedPlayer.role.current !== ROLE_NAMES.ANCIENT || isAncientKillable)) {\n const playerDataToUpdate: Partial = { side: { ...targetedPlayer.side, current: ROLE_SIDES.WEREWOLVES } };\n return updatePlayerInGame(targetedPlayer._id, playerDataToUpdate, clonedGame);\n }\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByWerewolvesPlayerAttribute);\n }\n}" + }, + "src/modules/game/providers/services/game-play/game-play-validator.service.ts": { + "language": "typescript", + "mutants": [ { - "id": "1381", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(355,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", - "status": "CompileError", + "id": "1426", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "207" + "0", + "1", + "565", + "566", + "567" ], "location": { "end": { - "column": 76, - "line": 314 + "column": 4, + "line": 35 }, "start": { - "column": 50, - "line": 314 + "column": 112, + "line": 24 } } }, { - "id": "1382", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1427", + "mutatorName": "BooleanLiteral", + "replacement": "game.currentPlay", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:127:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "0" + ], "coveredBy": [ - "208", - "209", - "557" + "0", + "1", + "565", + "566", + "567" ], "location": { "end": { - "column": 4, - "line": 326 + "column": 26, + "line": 25 }, "start": { - "column": 97, - "line": 317 + "column": 9, + "line": 25 } } }, { - "id": "1383", + "id": "1428", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(323,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: thrown: undefined\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:131: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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:97: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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:33:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1430: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": [], + "killedBy": [ + "1" + ], "coveredBy": [ - "208", - "209", - "557" + "0", + "1", + "565", + "566", + "567" ], "location": { "end": { - "column": 48, - "line": 320 + "column": 26, + "line": 25 }, "start": { "column": 9, - "line": 320 + "line": 25 } } }, { - "id": "1384", + "id": "1429", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(323,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:127:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "0" + ], "coveredBy": [ - "208", - "209", - "557" + "0", + "1", + "565", + "566", + "567" ], "location": { "end": { - "column": 48, - "line": 320 + "column": 26, + "line": 25 }, "start": { "column": 9, - "line": 320 + "line": 25 } } }, { - "id": "1385", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(323,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1430", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:127:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "0" + ], "coveredBy": [ - "208", - "209", - "557" + "0" ], "location": { "end": { - "column": 48, - "line": 320 + "column": 6, + "line": 27 }, "start": { - "column": 9, - "line": 320 + "column": 28, + "line": 25 } } }, { - "id": "1386", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(320,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(323,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1431", + "mutatorName": "StringLiteral", + "replacement": "\"\"", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "208", - "209", - "557" + "0" ], "location": { "end": { - "column": 24, - "line": 320 + "column": 90, + "line": 26 }, "start": { - "column": 9, - "line": 320 + "column": 56, + "line": 26 } } }, { - "id": "1387", - "mutatorName": "BlockStatement", + "id": "1432", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(362,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(26,92): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; }'.\n Property 'gameId' is missing in type '{}' but required in type '{ gameId: ObjectId; }'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "208" + "0" ], "location": { "end": { - "column": 6, - "line": 322 + "column": 112, + "line": 26 }, "start": { - "column": 50, - "line": 320 + "column": 92, + "line": 26 } } }, { - "id": "1388", + "id": "1433", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(369,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "2" + ], "coveredBy": [ - "210", - "211" + "2", + "3", + "4", + "5", + "566", + "567" ], "location": { "end": { "column": 4, - "line": 337 + "line": 47 + }, + "start": { + "column": 133, + "line": 37 + } + } + }, + { + "id": "1434", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "2" + ], + "coveredBy": [ + "2", + "3", + "4", + "5", + "566", + "567" + ], + "location": { + "end": { + "column": 20, + "line": 38 }, "start": { - "column": 105, - "line": 328 + "column": 9, + "line": 38 } } }, { - "id": "1389", + "id": "1435", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(375,40): error TS18048: 'targets' 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:154:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "4" + ], "coveredBy": [ - "210", - "211" + "2", + "3", + "4", + "5", + "566", + "567" ], "location": { "end": { - "column": 48, - "line": 331 + "column": 20, + "line": 38 }, "start": { "column": 9, - "line": 331 + "line": 38 } } }, { - "id": "1390", + "id": "1436", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(375,40): error TS18048: 'targets' 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "2" + ], "coveredBy": [ - "210", - "211" + "2", + "3", + "4", + "5", + "566", + "567" ], "location": { "end": { - "column": 48, - "line": 331 + "column": 20, + "line": 38 }, "start": { "column": 9, - "line": 331 + "line": 38 } } }, { - "id": "1391", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(375,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1437", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "2" + ], "coveredBy": [ - "210", - "211" + "2", + "3", + "566", + "567" ], "location": { "end": { - "column": 48, - "line": 331 + "column": 6, + "line": 43 }, "start": { - "column": 9, - "line": 331 + "column": 22, + "line": 38 } } }, { - "id": "1392", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(372,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(375,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1438", + "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "566" + ], "coveredBy": [ - "210", - "211" + "2", + "3", + "566", + "567" ], "location": { "end": { - "column": 24, - "line": 331 + "column": 68, + "line": 39 }, "start": { - "column": 9, - "line": 331 + "column": 11, + "line": 39 } } }, { - "id": "1393", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(373,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1439", + "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/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "566" + ], "coveredBy": [ - "210" + "2", + "3", + "566", + "567" ], "location": { "end": { - "column": 6, - "line": 333 + "column": 68, + "line": 39 }, "start": { - "column": 50, - "line": 331 + "column": 11, + "line": 39 } } }, { - "id": "1394", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(380,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1440", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "2" + ], "coveredBy": [ - "212", - "213" + "2", + "3", + "566", + "567" ], "location": { "end": { - "column": 4, - "line": 348 + "column": 68, + "line": 39 }, "start": { - "column": 102, - "line": 339 + "column": 11, + "line": 39 } } }, { - "id": "1395", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(386,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1441", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "2" + ], "coveredBy": [ - "212", - "213" + "2" ], "location": { "end": { - "column": 48, - "line": 342 + "column": 8, + "line": 41 }, "start": { - "column": 9, - "line": 342 + "column": 70, + "line": 39 } } }, { - "id": "1396", + "id": "1442", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(386,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "replacement": "true", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:162:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "5" + ], "coveredBy": [ - "212", - "213" + "4", + "5" ], "location": { "end": { - "column": 48, - "line": 342 + "column": 66, + "line": 44 }, "start": { "column": 9, - "line": 342 + "line": 44 } } }, { - "id": "1397", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(386,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1443", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "212", - "213" + "4", + "5" ], "location": { "end": { - "column": 48, - "line": 342 + "column": 66, + "line": 44 }, "start": { "column": 9, - "line": 342 + "line": 44 } } }, { - "id": "1398", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(383,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(386,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1444", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_CARD", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "212", - "213" + "4", + "5" ], "location": { "end": { - "column": 24, - "line": 342 + "column": 66, + "line": 44 }, "start": { "column": 9, - "line": 342 + "line": 44 } } }, { - "id": "1399", + "id": "1445", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(384,40): error TS18048: 'targets' 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:154:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "4" + ], "coveredBy": [ - "212" + "4" ], "location": { "end": { "column": 6, - "line": 344 + "line": 46 }, "start": { - "column": 50, - "line": 342 + "column": 68, + "line": 44 } } }, { - "id": "1400", + "id": "1446", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(391,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:173:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "6" + ], "coveredBy": [ - "214", - "215", - "216", - "217", - "218" + "6", + "7", + "8", + "9", + "10" ], "location": { "end": { "column": 4, - "line": 364 + "line": 56 }, "start": { - "column": 116, - "line": 350 + "column": 110, + "line": 49 } } }, { - "id": "1401", + "id": "1447", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(397,70): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Life potion can't be applied to this target (`targets.drankPotion`)\"], but it was called with \"There are too much targets which drank life potion (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:182:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "7" + ], "coveredBy": [ - "214", - "215", - "216", - "217", - "218" + "6", + "7", + "8", + "9", + "10" ], "location": { "end": { - "column": 48, - "line": 353 + "column": 42, + "line": 50 }, "start": { "column": 9, - "line": 353 + "line": 50 } } }, { - "id": "1402", + "id": "1448", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(397,70): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:174:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "6" + ], "coveredBy": [ - "214", - "215", - "216", - "217", - "218" + "6", + "7", + "8", + "9", + "10" ], "location": { "end": { - "column": 48, - "line": 353 + "column": 42, + "line": 50 }, "start": { "column": 9, - "line": 353 + "line": 50 } } }, { - "id": "1403", + "id": "1449", "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(397,70): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "replacement": "drankLifePotionTargets.length >= 1", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "214", - "215", - "216", - "217", - "218" + "6", + "7", + "8", + "9", + "10" ], "location": { "end": { - "column": 48, - "line": 353 + "column": 42, + "line": 50 }, "start": { "column": 9, - "line": 353 + "line": 50 } } }, { - "id": "1404", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(394,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(397,70): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1450", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:174:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "6" + ], "coveredBy": [ - "214", - "215", - "216", - "217", - "218" + "6", + "7", + "8", + "9", + "10" ], "location": { "end": { - "column": 24, - "line": 353 + "column": 42, + "line": 50 }, "start": { "column": 9, - "line": 353 + "line": 50 } } }, { - "id": "1405", + "id": "1451", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(395,70): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:174:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "6" + ], "coveredBy": [ - "214" + "6" ], "location": { "end": { "column": 6, - "line": 355 + "line": 52 }, "start": { - "column": 50, - "line": 353 + "column": 44, + "line": 50 } } }, { - "id": "1406", + "id": "1452", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "215", - "216", - "217", - "218" + "7", + "8", + "9", + "10" ], "location": { "end": { - "column": 111, - "line": 359 + "column": 177, + "line": 53 }, "start": { "column": 9, - "line": 359 + "line": 53 } } }, { - "id": "1407", + "id": "1453", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:181:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "7" + ], "coveredBy": [ - "215", - "216", - "217", - "218" + "7", + "8", + "9", + "10" + ], + "location": { + "end": { + "column": 177, + "line": 53 + }, + "start": { + "column": 9, + "line": 53 + } + } + }, + { + "id": "1454", + "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 140 | }\n 141 | }\n > 142 | if (stryMutAct_9fa48(\"1408\") ? drankLifePotionTargets.length || !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) || !drankLifePotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1407\") ? false : stryMutAct_9fa48(\"1406\") ? true : (stryCov_9fa48(\"1406\", \"1407\", \"1408\"), drankLifePotionTargets.length && (stryMutAct_9fa48(\"1410\") ? !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) && !drankLifePotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1409\") ? true : (stryCov_9fa48(\"1409\", \"1410\"), (stryMutAct_9fa48(\"1411\") ? doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) : (stryCov_9fa48(\"1411\"), !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN))) || (stryMutAct_9fa48(\"1412\") ? drankLifePotionTargets[0].player.isAlive : (stryCov_9fa48(\"1412\"), !drankLifePotionTargets[0].player.isAlive)))))) {\n | ^\n 143 | if (stryMutAct_9fa48(\"1413\")) {\n 144 | {}\n 145 | } else {\n\n at GamePlayValidatorService.validateDrankLifePotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:142:122)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:194:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:194:90)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:194:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "9" + ], + "coveredBy": [ + "7", + "8", + "9", + "10" + ], + "location": { + "end": { + "column": 177, + "line": 53 + }, + "start": { + "column": 9, + "line": 53 + } + } + }, + { + "id": "1455", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:201:110)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "10" + ], + "coveredBy": [ + "7", + "8", + "10" ], "location": { "end": { - "column": 111, - "line": 359 + "column": 176, + "line": 53 }, "start": { - "column": 9, - "line": 359 + "column": 43, + "line": 53 } } }, { - "id": "1408", + "id": "1456", "mutatorName": "LogicalOperator", - "replacement": "isTargetInfected === true || targetedPlayer.role.current !== ROLE_NAMES.ANCIENT || isAncientKillable", - "status": "Timeout", + "replacement": "!doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) && !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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:181:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "7" + ], "coveredBy": [ - "215", - "216", - "217", - "218" + "7", + "8", + "10" ], "location": { "end": { - "column": 111, - "line": 359 + "column": 176, + "line": 53 }, "start": { - "column": 9, - "line": 359 + "column": 43, + "line": 53 } } }, { - "id": "1409", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n@@ -96,30 +96,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"972e90222bfe5e2875edd156\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Myles\",\n \"position\": 3405507308027904,\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\": \"eddda35811bc7db451ef2a0d\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1853:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1457", + "mutatorName": "BooleanLiteral", + "replacement": "doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN)", + "status": "Timeout", "static": false, - "killedBy": [ - "215" - ], + "killedBy": [], "coveredBy": [ - "215", - "216", - "217", - "218" + "7", + "8", + "10" ], "location": { "end": { - "column": 34, - "line": 359 + "column": 131, + "line": 53 }, "start": { - "column": 9, - "line": 359 + "column": 43, + "line": 53 } } }, { - "id": "1410", - "mutatorName": "EqualityOperator", - "replacement": "isTargetInfected !== true", + "id": "1458", + "mutatorName": "BooleanLiteral", + "replacement": "drankLifePotionTargets[0].player.isAlive", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "215", - "216", - "217", - "218" + "7", + "10" ], "location": { "end": { - "column": 34, - "line": 359 + "column": 176, + "line": 53 }, "start": { - "column": 9, - "line": 359 + "column": 135, + "line": 53 } } }, { - "id": "1411", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n@@ -96,30 +96,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"3a1fdd1c5a1ffab2fb8d7b34\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Elian\",\n \"position\": 670682522320896,\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\": \"e6bba19b4c91baeaecfafe5d\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1853:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1459", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:181:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "215" + "7" ], "coveredBy": [ - "215", - "216", - "217", - "218" + "7", + "8" ], "location": { "end": { - "column": 34, - "line": 359 + "column": 6, + "line": 55 }, "start": { - "column": 30, - "line": 359 + "column": 179, + "line": 53 } } }, { - "id": "1412", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n@@ -96,30 +96,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"9de17fba4afb7dd96f51bfa1\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Evan\",\n \"position\": 4887438751170560,\n \"role\": PlayerRole {\n \"current\": \"ancient\",\n \"isRevealed\": false,\n \"original\": \"ancient\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c70165b9afb5c23ebfa21cc5\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1881:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1460", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:212:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "216" + "11" ], "coveredBy": [ - "216", - "217", - "218" + "11", + "12", + "13", + "14" ], "location": { "end": { - "column": 110, - "line": 359 + "column": 4, + "line": 65 }, "start": { - "column": 39, - "line": 359 + "column": 112, + "line": 58 } } }, { - "id": "1413", - "mutatorName": "LogicalOperator", - "replacement": "targetedPlayer.role.current !== ROLE_NAMES.ANCIENT && isAncientKillable", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 10\n\n@@ -96,22 +96,30 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c4194db1047efde948f033fa\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"eaten\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Makenna\",\n \"position\": 5058146133344256,\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\": \"8e3a93b01f6acbc8c9d363c0\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1909:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1461", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:221:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "217" + "12" ], "coveredBy": [ - "216", - "217", - "218" + "11", + "12", + "13", + "14" ], "location": { "end": { - "column": 110, - "line": 359 + "column": 43, + "line": 59 }, "start": { - "column": 39, - "line": 359 + "column": 9, + "line": 59 } } }, { - "id": "1414", + "id": "1462", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 10\n\n@@ -96,22 +96,30 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c0d4b79c784c5daf4dd1d92d\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"eaten\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Hazel\",\n \"position\": 3185073612390400,\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\": \"9ba006ac6f3891adbde5559f\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1909:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 [\"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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:213:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "217" + "11" ], "coveredBy": [ - "216", - "217", - "218" + "11", + "12", + "13", + "14" ], "location": { "end": { - "column": 89, - "line": 359 + "column": 43, + "line": 59 }, "start": { - "column": 39, - "line": 359 + "column": 9, + "line": 59 } } }, { - "id": "1415", + "id": "1463", "mutatorName": "EqualityOperator", - "replacement": "targetedPlayer.role.current === ROLE_NAMES.ANCIENT", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n@@ -96,30 +96,22 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"e0139c830edb25ea5aa6c4b9\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"eaten\",\n- \"remainingPhases\": 1,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Sean\",\n \"position\": 6408245402927104,\n \"role\": PlayerRole {\n \"current\": \"ancient\",\n \"isRevealed\": false,\n \"original\": \"ancient\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"e3b7c3c9da1c7c84bc342b04\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1881:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:221:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "216" + "12" ], "coveredBy": [ - "216", - "217", - "218" + "11", + "12", + "13", + "14" ], "location": { "end": { - "column": 89, - "line": 359 + "column": 43, + "line": 59 }, "start": { - "column": 39, - "line": 359 + "column": 9, + "line": 59 } } }, { - "id": "1416", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 10\n\n@@ -96,22 +96,30 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"edae1bf938bedbbce8ee27fe\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"eaten\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Amani\",\n \"position\": 8690166040363008,\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\": \"d4fbad2aec3f5ce9e9b8abbd\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1909:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1464", + "mutatorName": "EqualityOperator", + "replacement": "drankDeathPotionTargets.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 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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:223:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "217" + "11" ], "coveredBy": [ - "217", - "218" + "11", + "12", + "13", + "14" ], "location": { "end": { - "column": 6, - "line": 362 + "column": 43, + "line": 59 }, "start": { - "column": 113, - "line": 359 + "column": 9, + "line": 59 } } }, { - "id": "1417", - "mutatorName": "ObjectLiteral", + "id": "1465", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -107,11 +107,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\": \"baa8ab016d175becaef9f17a\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1909:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:212:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "217" + "11" ], "coveredBy": [ - "217", - "218" + "11" ], "location": { "end": { - "column": 119, - "line": 360 + "column": 6, + "line": 61 }, "start": { - "column": 51, - "line": 360 + "column": 45, + "line": 59 } } }, { - "id": "1418", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(401,53): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "217", - "218" - ], - "location": { - "end": { - "column": 117, - "line": 360 - }, - "start": { - "column": 59, - "line": 360 - } - } - } - ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep, sample } from \"lodash\";\nimport { createFakeGamePlayAllElectSheriff } from \"../../../../../../tests/factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createNoCurrentGamePlayUnexpectedException } from \"../../../../../shared/exception/helpers/unexpected-exception.factory\";\nimport { roles } from \"../../../../role/constants/role.constant\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../role/enums/role.enum\";\nimport type { MakeGamePlayWithRelationsDto } from \"../../../dto/make-game-play/make-game-play-with-relations.dto\";\nimport { GAME_PLAY_ACTIONS, GAME_PLAY_CAUSES, WITCH_POTIONS } from \"../../../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_DEATH_CAUSES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport { createGamePlayAllVote, createGamePlaySheriffSettlesVotes } from \"../../../helpers/game-play/game-play.factory\";\nimport { getFoxSniffedPlayers, getPlayerWithAttribute, getPlayerWithCurrentRole } from \"../../../helpers/game.helper\";\nimport { addPlayerAttributeInGame, addPlayersAttributeInGame, appendUpcomingPlayInGame, prependUpcomingPlayInGame, removePlayerAttributeByNameInGame, updatePlayerInGame } from \"../../../helpers/game.mutator\";\nimport { createCantVoteByScapegoatPlayerAttribute, createCharmedByPiedPiperPlayerAttribute, createDrankDeathPotionByWitchPlayerAttribute, createDrankLifePotionByWitchPlayerAttribute, createEatenByBigBadWolfPlayerAttribute, createEatenByWerewolvesPlayerAttribute, createEatenByWhiteWerewolfPlayerAttribute, createInLoveByCupidPlayerAttribute, createPowerlessByFoxPlayerAttribute, createProtectedByGuardPlayerAttribute, createRavenMarkByRavenPlayerAttribute, createSeenBySeerPlayerAttribute, createSheriffByAllPlayerAttribute, createSheriffBySheriffPlayerAttribute, createWorshipedByWildChildPlayerAttribute } from \"../../../helpers/player/player-attribute/player-attribute.factory\";\nimport { createPlayerShotByHunterDeath, createPlayerVoteByAllDeath, createPlayerVoteBySheriffDeath, createPlayerVoteScapegoatedByAllDeath } from \"../../../helpers/player/player-death/player-death.factory\";\nimport { isPlayerAliveAndPowerful } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { PlayerRole } from \"../../../schemas/player/player-role.schema\";\nimport type { PlayerSide } from \"../../../schemas/player/player-side.schema\";\nimport type { Player } from \"../../../schemas/player/player.schema\";\nimport type { GameWithCurrentPlay } from \"../../../types/game-with-current-play\";\nimport type { GameSource } from \"../../../types/game.type\";\nimport { PlayerKillerService } from \"../player/player-killer.service\";\nimport { GamePlayVoteService } from \"./game-play-vote/game-play-vote.service\";\n\n@Injectable()\nexport class GamePlayMakerService {\n private readonly gameSourcePlayMethods: Partial Game | Promise>> = {\n [PLAYER_GROUPS.WEREWOLVES]: async(play, game) => this.werewolvesEat(play, game),\n [ROLE_NAMES.BIG_BAD_WOLF]: (play, game) => this.bigBadWolfEats(play, game),\n [ROLE_NAMES.WHITE_WEREWOLF]: (play, game) => this.whiteWerewolfEats(play, game),\n [ROLE_NAMES.SEER]: (play, game) => this.seerLooks(play, game),\n [ROLE_NAMES.CUPID]: (play, game) => this.cupidCharms(play, game),\n [ROLE_NAMES.PIED_PIPER]: (play, game) => this.piedPiperCharms(play, game),\n [ROLE_NAMES.WITCH]: (play, game) => this.witchUsesPotions(play, game),\n [ROLE_NAMES.HUNTER]: async(play, game) => this.hunterShoots(play, game),\n [ROLE_NAMES.GUARD]: (play, game) => this.guardProtects(play, game),\n [ROLE_NAMES.FOX]: (play, game) => this.foxSniffs(play, game),\n [ROLE_NAMES.WILD_CHILD]: (play, game) => this.wildChildChoosesModel(play, game),\n [ROLE_NAMES.DOG_WOLF]: (play, game) => this.dogWolfChoosesSide(play, game),\n [ROLE_NAMES.SCAPEGOAT]: (play, game) => this.scapegoatBansVoting(play, game),\n [ROLE_NAMES.THIEF]: (play, game) => this.thiefChoosesCard(play, game),\n [PLAYER_GROUPS.ALL]: async(play, game) => this.allPlay(play, game),\n [ROLE_NAMES.RAVEN]: (play, game) => this.ravenMarks(play, game),\n [PLAYER_ATTRIBUTE_NAMES.SHERIFF]: async(play, game) => this.sheriffPlays(play, game),\n };\n\n public constructor(\n private readonly playerKillerService: PlayerKillerService,\n private readonly gamePlayVoteService: GamePlayVoteService,\n ) {}\n\n public async makeGamePlay(play: MakeGamePlayWithRelationsDto, game: Game): Promise {\n if (!game.currentPlay) {\n throw createNoCurrentGamePlayUnexpectedException(\"makeGamePlay\", { gameId: game._id });\n }\n const clonedGame = cloneDeep(game) as GameWithCurrentPlay;\n const gameSourcePlayMethod = this.gameSourcePlayMethods[clonedGame.currentPlay.source];\n if (gameSourcePlayMethod === undefined) {\n return clonedGame;\n }\n return gameSourcePlayMethod(play, clonedGame);\n }\n\n private async sheriffSettlesVotes({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const targetedPlayer = targets[0].player;\n const voteBySheriffDeath = createPlayerVoteBySheriffDeath();\n return this.playerKillerService.killOrRevealPlayer(targetedPlayer._id, clonedGame, voteBySheriffDeath);\n }\n\n private sheriffDelegates({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n let clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const targetedPlayer = targets[0].player;\n const sheriffPlayer = getPlayerWithAttribute(clonedGame.players, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n if (sheriffPlayer) {\n clonedGame = removePlayerAttributeByNameInGame(sheriffPlayer._id, clonedGame, PLAYER_ATTRIBUTE_NAMES.SHERIFF) as GameWithCurrentPlay;\n }\n const sheriffBySheriffPlayerAttribute = createSheriffBySheriffPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, sheriffBySheriffPlayerAttribute);\n }\n\n private async sheriffPlays(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const sheriffPlayMethods: Partial Game | Promise>> = {\n [GAME_PLAY_ACTIONS.DELEGATE]: () => this.sheriffDelegates(play, clonedGame),\n [GAME_PLAY_ACTIONS.SETTLE_VOTES]: async() => this.sheriffSettlesVotes(play, clonedGame),\n };\n const sheriffPlayMethod = sheriffPlayMethods[clonedGame.currentPlay.action];\n if (sheriffPlayMethod === undefined) {\n return clonedGame;\n }\n return sheriffPlayMethod();\n }\n\n private async handleTieInVotes(game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const scapegoatPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.SCAPEGOAT);\n if (scapegoatPlayer && isPlayerAliveAndPowerful(scapegoatPlayer)) {\n const playerVoteScapegoatedByAllDeath = createPlayerVoteScapegoatedByAllDeath();\n return this.playerKillerService.killOrRevealPlayer(scapegoatPlayer._id, clonedGame, playerVoteScapegoatedByAllDeath);\n }\n const sheriffPlayer = getPlayerWithAttribute(clonedGame.players, PLAYER_ATTRIBUTE_NAMES.SHERIFF);\n if (sheriffPlayer?.isAlive === true) {\n const gamePlaySheriffSettlesVotes = createGamePlaySheriffSettlesVotes();\n return prependUpcomingPlayInGame(gamePlaySheriffSettlesVotes, clonedGame);\n }\n if (clonedGame.currentPlay.cause !== GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) {\n const gamePlayAllVote = createGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES });\n return prependUpcomingPlayInGame(gamePlayAllVote, clonedGame);\n }\n return clonedGame;\n }\n\n private async allVote({ votes, doesJudgeRequestAnotherVote }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n let clonedGame = cloneDeep(game);\n if (!votes) {\n return clonedGame;\n }\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, clonedGame);\n if (doesJudgeRequestAnotherVote === true) {\n const gamePlayAllVote = createGamePlayAllVote({ cause: GAME_PLAY_CAUSES.STUTTERING_JUDGE_REQUEST });\n clonedGame = appendUpcomingPlayInGame(gamePlayAllVote, clonedGame) as GameWithCurrentPlay;\n }\n if (nominatedPlayers.length > 1) {\n return this.handleTieInVotes(clonedGame);\n }\n if (nominatedPlayers.length === 1) {\n const playerVoteByAllDeath = createPlayerVoteByAllDeath();\n return this.playerKillerService.killOrRevealPlayer(nominatedPlayers[0]._id, clonedGame, playerVoteByAllDeath);\n }\n return clonedGame;\n }\n\n private handleTieInSheriffElection(nominatedPlayers: Player[], game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n if (clonedGame.currentPlay.cause !== GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) {\n const gamePlayAllElectSheriff = createFakeGamePlayAllElectSheriff({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES });\n return prependUpcomingPlayInGame(gamePlayAllElectSheriff, clonedGame);\n }\n const randomNominatedPlayer = sample(nominatedPlayers);\n if (randomNominatedPlayer) {\n const sheriffByAllPlayerAttribute = createSheriffByAllPlayerAttribute();\n return addPlayerAttributeInGame(randomNominatedPlayer._id, clonedGame, sheriffByAllPlayerAttribute);\n }\n return clonedGame;\n }\n\n private allElectSheriff(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const { votes } = play;\n if (!votes) {\n return clonedGame;\n }\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, clonedGame);\n if (!nominatedPlayers.length) {\n return clonedGame;\n }\n if (nominatedPlayers.length !== 1) {\n return this.handleTieInSheriffElection(nominatedPlayers, clonedGame);\n }\n const sheriffByAllPlayerAttribute = createSheriffByAllPlayerAttribute();\n return addPlayerAttributeInGame(nominatedPlayers[0]._id, clonedGame, sheriffByAllPlayerAttribute);\n }\n\n private async allPlay(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const allPlayMethods: Partial Game | Promise>> = {\n [GAME_PLAY_ACTIONS.ELECT_SHERIFF]: () => this.allElectSheriff(play, clonedGame),\n [GAME_PLAY_ACTIONS.VOTE]: async() => this.allVote(play, clonedGame),\n };\n const allPlayMethod = allPlayMethods[clonedGame.currentPlay.action];\n if (allPlayMethod === undefined) {\n return clonedGame;\n }\n return allPlayMethod();\n }\n \n private thiefChoosesCard({ chosenCard }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const thiefPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.THIEF);\n if (!thiefPlayer || !chosenCard) {\n return clonedGame;\n }\n const chosenRole = roles.find(role => role.name === chosenCard.roleName);\n if (!chosenRole) {\n return clonedGame;\n }\n const newThiefSide: PlayerSide = { ...thiefPlayer.side, current: chosenRole.side };\n const newThiefRole: PlayerRole = { ...thiefPlayer.role, current: chosenRole.name };\n const playerDataToUpdate: Partial = { side: newThiefSide, role: newThiefRole };\n return updatePlayerInGame(thiefPlayer._id, playerDataToUpdate, clonedGame);\n }\n \n private scapegoatBansVoting({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n if (!targets) {\n return clonedGame;\n }\n const cantVoteByScapegoatPlayerAttribute = createCantVoteByScapegoatPlayerAttribute(clonedGame);\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, cantVoteByScapegoatPlayerAttribute);\n }\n \n private dogWolfChoosesSide({ chosenSide }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const dogWolfPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.DOG_WOLF);\n if (chosenSide === undefined || !dogWolfPlayer) {\n return clonedGame;\n }\n const playerDataToUpdate: Partial = { side: { ...dogWolfPlayer.side, current: chosenSide } };\n return updatePlayerInGame(dogWolfPlayer._id, playerDataToUpdate, clonedGame);\n }\n \n private wildChildChoosesModel({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const worshipedByWildChildPlayerAttribute = createWorshipedByWildChildPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, worshipedByWildChildPlayerAttribute);\n }\n\n private foxSniffs({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n const foxPlayer = getPlayerWithCurrentRole(clonedGame.players, ROLE_NAMES.FOX);\n const { isPowerlessIfMissesWerewolf: isFoxPowerlessIfMissesWerewolf } = clonedGame.options.roles.fox;\n if (targets?.length !== expectedTargetCount || !foxPlayer) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const foxSniffedPlayers = getFoxSniffedPlayers(targetedPlayer._id, clonedGame);\n const areEveryFoxSniffedPlayersVillagerSided = foxSniffedPlayers.every(player => player.side.current === ROLE_SIDES.VILLAGERS);\n if (isFoxPowerlessIfMissesWerewolf && areEveryFoxSniffedPlayersVillagerSided) {\n const powerlessByFoxPlayerAttribute = createPowerlessByFoxPlayerAttribute();\n return addPlayerAttributeInGame(foxPlayer._id, clonedGame, powerlessByFoxPlayerAttribute);\n }\n return clonedGame;\n }\n \n private ravenMarks({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const ravenMarkByRavenPlayerAttribute = createRavenMarkByRavenPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, ravenMarkByRavenPlayerAttribute);\n }\n \n private guardProtects({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const protectedByGuardPlayerAttribute = createProtectedByGuardPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, protectedByGuardPlayerAttribute);\n }\n\n private async hunterShoots({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const shotByHunterDeath = createPlayerShotByHunterDeath();\n return this.playerKillerService.killOrRevealPlayer(targetedPlayer._id, clonedGame, shotByHunterDeath);\n }\n\n private witchUsesPotions({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n let clonedGame = cloneDeep(game);\n if (!targets) {\n return clonedGame;\n }\n const lifePotionAttribute = createDrankLifePotionByWitchPlayerAttribute();\n const deathPotionAttribute = createDrankDeathPotionByWitchPlayerAttribute();\n for (const target of targets) {\n const { player: targetedPlayer } = target;\n const drankPotionAttribute = target.drankPotion === WITCH_POTIONS.LIFE ? lifePotionAttribute : deathPotionAttribute;\n clonedGame = addPlayerAttributeInGame(targetedPlayer._id, clonedGame, drankPotionAttribute) as GameWithCurrentPlay;\n }\n return clonedGame;\n }\n\n private piedPiperCharms({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n if (targets === undefined || targets.length === 0) {\n return clonedGame;\n }\n const charmedByPiedPiperPlayerAttribute = createCharmedByPiedPiperPlayerAttribute();\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, charmedByPiedPiperPlayerAttribute);\n }\n\n private cupidCharms({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 2;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const inLoveByCupidPlayerAttribute = createInLoveByCupidPlayerAttribute();\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, inLoveByCupidPlayerAttribute);\n }\n\n private seerLooks({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const seenBySeerPlayerAttribute = createSeenBySeerPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, seenBySeerPlayerAttribute);\n }\n\n private whiteWerewolfEats({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const eatenByWhiteWerewolfPlayerAttribute = createEatenByWhiteWerewolfPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByWhiteWerewolfPlayerAttribute);\n }\n\n private bigBadWolfEats({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const eatenByBigBadWolfPlayerAttribute = createEatenByBigBadWolfPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByBigBadWolfPlayerAttribute);\n }\n\n private async werewolvesEat({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = cloneDeep(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer, isInfected: isTargetInfected } = targets[0];\n const eatenByWerewolvesPlayerAttribute = createEatenByWerewolvesPlayerAttribute();\n const isAncientKillable = await this.playerKillerService.isAncientKillable(clonedGame, PLAYER_DEATH_CAUSES.EATEN);\n if (isTargetInfected === true && (targetedPlayer.role.current !== ROLE_NAMES.ANCIENT || isAncientKillable)) {\n const playerDataToUpdate: Partial = { side: { ...targetedPlayer.side, current: ROLE_SIDES.WEREWOLVES } };\n return updatePlayerInGame(targetedPlayer._id, playerDataToUpdate, clonedGame);\n }\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByWerewolvesPlayerAttribute);\n }\n}" - }, - "src/modules/game/providers/services/game-play/game-play-validator.service.ts": { - "language": "typescript", - "mutants": [ - { - "id": "1419", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:649:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1466", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:225:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "555" + "13" ], "coveredBy": [ - "0", - "1", - "555", - "556", - "557" + "12", + "13", + "14" ], "location": { "end": { - "column": 4, - "line": 35 + "column": 85, + "line": 62 }, "start": { - "column": 112, - "line": 24 + "column": 9, + "line": 62 } } }, { - "id": "1420", - "mutatorName": "BooleanLiteral", - "replacement": "game.currentPlay", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:117:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1467", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:220:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "0" + "12" ], "coveredBy": [ - "0", - "1", - "555", - "556", - "557" + "12", + "13", + "14" ], "location": { "end": { - "column": 26, - "line": 25 + "column": 85, + "line": 62 }, "start": { "column": 9, - "line": 25 + "line": 62 } } }, { - "id": "1421", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:649:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1468", + "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 163 | }\n 164 | }\n > 165 | if (stryMutAct_9fa48(\"1422\") ? drankDeathPotionTargets.length || !drankDeathPotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1421\") ? false : stryMutAct_9fa48(\"1420\") ? true : (stryCov_9fa48(\"1420\", \"1421\", \"1422\"), drankDeathPotionTargets.length && (stryMutAct_9fa48(\"1423\") ? drankDeathPotionTargets[0].player.isAlive : (stryCov_9fa48(\"1423\"), !drankDeathPotionTargets[0].player.isAlive)))) {\n | ^\n 166 | if (stryMutAct_9fa48(\"1424\")) {\n 167 | {}\n 168 | } else {\n\n at GamePlayValidatorService.validateDrankDeathPotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:165:100)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:225:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:225:91)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:225:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "555" + "13" ], "coveredBy": [ - "0", - "1", - "555", - "556", - "557" + "12", + "13", + "14" ], "location": { "end": { - "column": 26, - "line": 25 + "column": 85, + "line": 62 }, "start": { "column": 9, - "line": 25 + "line": 62 } } }, { - "id": "1422", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:117:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1469", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:230:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "0" + "12" ], "coveredBy": [ - "0", - "1", - "555", - "556", - "557" + "12", + "14" ], "location": { "end": { - "column": 26, - "line": 25 + "column": 85, + "line": 62 }, "start": { - "column": 9, - "line": 25 + "column": 43, + "line": 62 } } }, { - "id": "1423", + "id": "1470", "mutatorName": "BlockStatement", "replacement": "{}", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:220:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "12" + ], "coveredBy": [ - "0" + "12" ], "location": { "end": { "column": 6, - "line": 27 + "line": 64 }, "start": { - "column": 28, - "line": 25 + "column": 87, + "line": 62 } } }, { - "id": "1424", - "mutatorName": "StringLiteral", - "replacement": "\"\"", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"validateGamePlayWithRelationsDto\", {\"gameId\": \"cec6c92158f1ff9b2d28ca77\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:118:61)", + "id": "1471", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:254:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "0" + "15" ], "coveredBy": [ - "0" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 90, - "line": 26 + "column": 4, + "line": 77 }, "start": { - "column": 56, - "line": 26 + "column": 124, + "line": 67 } } }, { - "id": "1425", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(26,92): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; }'.\n Property 'gameId' is missing in type '{}' but required in type '{ gameId: ObjectId; }'.\n", - "status": "CompileError", + "id": "1472", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:361:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "20" + ], "coveredBy": [ - "0" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 112, - "line": 26 + "column": 159, + "line": 68 }, "start": { - "column": 92, - "line": 26 + "column": 36, + "line": 68 } } }, { - "id": "1426", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1473", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:280:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "2" + "15" ], "coveredBy": [ - "2", - "3", - "4", - "5", - "556", - "557" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 4, - "line": 47 + "column": 159, + "line": 68 }, "start": { - "column": 133, - "line": 37 + "column": 36, + "line": 68 } } }, { - "id": "1427", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1474", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:361:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "2" + "20" ], "coveredBy": [ - "2", - "3", - "4", - "5", - "556", - "557" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 20, - "line": 38 + "column": 159, + "line": 68 }, "start": { - "column": 9, - "line": 38 + "column": 36, + "line": 68 } } }, { - "id": "1428", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:154:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1475", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:255:43)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 8, "static": false, "killedBy": [ - "4" + "15" ], "coveredBy": [ - "2", - "3", - "4", - "5", - "556", - "557" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 20, - "line": 38 + "column": 159, + "line": 68 }, "start": { - "column": 9, - "line": 38 + "column": 36, + "line": 68 } } }, { - "id": "1429", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1476", + "mutatorName": "MethodExpression", + "replacement": "playTargets", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[]], but it was called with [{\"player\": {\"_id\": \"c7e3bd6c3e800401eccaa9e3\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lamont\", \"position\": 162409434054656, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:348:82)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 8, "static": false, "killedBy": [ - "2" + "19" ], "coveredBy": [ - "2", - "3", - "4", - "5", - "556", - "557" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 20, - "line": 38 + "column": 111, + "line": 69 }, "start": { - "column": 9, - "line": 38 + "column": 36, + "line": 69 } } }, { - "id": "1430", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1477", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:254:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "2" + "15" ], "coveredBy": [ - "2", - "3", - "556", - "557" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 6, - "line": 43 + "column": 110, + "line": 69 }, "start": { - "column": 22, - "line": 38 + "column": 55, + "line": 69 } } }, { - "id": "1431", + "id": "1478", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 4, + "status": "Timeout", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "2", - "3", - "556", - "557" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 68, - "line": 39 + "column": 110, + "line": 69 }, "start": { - "column": 11, - "line": 39 + "column": 76, + "line": 69 } } }, { - "id": "1432", + "id": "1479", "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/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:254:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "556" + "15" ], "coveredBy": [ - "2", - "3", - "556", - "557" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 68, - "line": 39 + "column": 110, + "line": 69 }, "start": { - "column": 11, - "line": 39 + "column": 76, + "line": 69 } } }, { - "id": "1433", + "id": "1480", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "drankPotion !== WITCH_POTIONS.LIFE", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[]], but it was called with [{\"player\": {\"_id\": \"5a422489a5a0f18105a10d5a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ollie\", \"position\": 5191674726711296, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:348:82)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 8, "static": false, "killedBy": [ - "2" + "19" ], "coveredBy": [ - "2", - "3", - "556", - "557" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 68, - "line": 39 + "column": 110, + "line": 69 }, "start": { - "column": 11, - "line": 39 + "column": 76, + "line": 69 } } }, { - "id": "1434", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:139:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1481", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", "static": false, - "killedBy": [ - "2" - ], + "killedBy": [], "coveredBy": [ - "2" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 8, - "line": 41 + "column": 161, + "line": 70 }, "start": { - "column": 70, - "line": 39 + "column": 37, + "line": 70 } } }, { - "id": "1435", + "id": "1482", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:162:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:294:43)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 8, "static": false, "killedBy": [ - "5" + "17" ], "coveredBy": [ - "4", - "5" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 66, - "line": 44 + "column": 161, + "line": 70 }, "start": { - "column": 9, - "line": 44 + "column": 37, + "line": 70 } } }, { - "id": "1436", - "mutatorName": "ConditionalExpression", - "replacement": "false", + "id": "1483", + "mutatorName": "EqualityOperator", + "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length >= 0", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "4", - "5" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 66, - "line": 44 + "column": 161, + "line": 70 }, "start": { - "column": 9, - "line": 44 + "column": 37, + "line": 70 } } }, { - "id": "1437", + "id": "1484", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_CARD", - "status": "Timeout", + "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length <= 0", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:293:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "17" + ], "coveredBy": [ - "4", - "5" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 66, - "line": 44 + "column": 161, + "line": 70 }, "start": { - "column": 9, - "line": 44 + "column": 37, + "line": 70 } } }, { - "id": "1438", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:154:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1485", + "mutatorName": "MethodExpression", + "replacement": "playTargets", + "status": "Timeout", "static": false, - "killedBy": [ - "4" - ], + "killedBy": [], "coveredBy": [ - "4" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 6, - "line": 46 + "column": 113, + "line": 71 }, "start": { - "column": 68, - "line": 44 + "column": 37, + "line": 71 } } }, { - "id": "1439", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:173:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1486", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:293:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "6" + "17" ], "coveredBy": [ - "6", - "7", - "8", - "9", - "10" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 4, - "line": 56 + "column": 112, + "line": 71 }, "start": { - "column": 110, - "line": 49 + "column": 56, + "line": 71 } } }, { - "id": "1440", + "id": "1487", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Life potion can't be applied to this target (`targets.drankPotion`)\"], but it was called with \"There are too much targets which drank life potion (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:182:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 [[]], but it was called with [{\"player\": {\"_id\": \"ed02fb8b42546bf3c5d912d8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elta\", \"position\": 8489381908185088, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:349:83)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 8, "static": false, "killedBy": [ - "7" + "19" ], "coveredBy": [ - "6", - "7", - "8", - "9", - "10" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 42, - "line": 50 + "column": 112, + "line": 71 }, "start": { - "column": 9, - "line": 50 + "column": 77, + "line": 71 } } }, { - "id": "1441", + "id": "1488", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:174:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:293:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "6" + "17" ], "coveredBy": [ - "6", - "7", - "8", - "9", - "10" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 42, - "line": 50 + "column": 112, + "line": 71 }, "start": { - "column": 9, - "line": 50 + "column": 77, + "line": 71 } } }, { - "id": "1442", + "id": "1489", "mutatorName": "EqualityOperator", - "replacement": "drankLifePotionTargets.length >= 1", + "replacement": "drankPotion !== WITCH_POTIONS.DEATH", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "6", - "7", - "8", - "9", - "10" - ], - "location": { - "end": { - "column": 42, - "line": 50 - }, - "start": { - "column": 9, - "line": 50 - } - } - }, - { - "id": "1443", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:174:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "6" - ], - "coveredBy": [ - "6", - "7", - "8", - "9", - "10" - ], - "location": { - "end": { - "column": 42, - "line": 50 - }, - "start": { - "column": 9, - "line": 50 - } - } - }, - { - "id": "1444", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:174:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "6" - ], - "coveredBy": [ - "6" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 6, - "line": 52 + "column": 112, + "line": 71 }, "start": { - "column": 44, - "line": 50 + "column": 77, + "line": 71 } } }, { - "id": "1445", + "id": "1490", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "7", - "8", - "9", - "10" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 177, - "line": 53 + "column": 125, + "line": 72 }, "start": { "column": 9, - "line": 53 + "line": 72 } } }, { - "id": "1446", + "id": "1491", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:181:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 [\"`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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:255:43)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 8, "static": false, "killedBy": [ - "7" + "15" ], "coveredBy": [ - "7", - "8", - "9", - "10" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 177, - "line": 53 + "column": 125, + "line": 72 }, "start": { "column": 9, - "line": 53 + "line": 72 } } }, { - "id": "1447", + "id": "1492", "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 140 | }\n 141 | }\n > 142 | if (stryMutAct_9fa48(\"1408\") ? drankLifePotionTargets.length || !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) || !drankLifePotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1407\") ? false : stryMutAct_9fa48(\"1406\") ? true : (stryCov_9fa48(\"1406\", \"1407\", \"1408\"), drankLifePotionTargets.length && (stryMutAct_9fa48(\"1410\") ? !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) && !drankLifePotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1409\") ? true : (stryCov_9fa48(\"1409\", \"1410\"), (stryMutAct_9fa48(\"1411\") ? doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) : (stryCov_9fa48(\"1411\"), !doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN))) || (stryMutAct_9fa48(\"1412\") ? drankLifePotionTargets[0].player.isAlive : (stryCov_9fa48(\"1412\"), !drankLifePotionTargets[0].player.isAlive)))))) {\n | ^\n 143 | if (stryMutAct_9fa48(\"1413\")) {\n 144 | {}\n 145 | } else {\n\n at GamePlayValidatorService.validateDrankLifePotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:142:122)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:194:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:194:90)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:194:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:255:43)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 8, "static": false, "killedBy": [ - "9" + "15" ], "coveredBy": [ - "7", - "8", - "9", - "10" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 177, - "line": 53 + "column": 125, + "line": 72 }, "start": { "column": 9, - "line": 53 + "line": 72 } } }, { - "id": "1448", + "id": "1493", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:201:110)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:255:43)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 8, "static": false, "killedBy": [ - "10" + "15" ], "coveredBy": [ - "7", - "8", - "10" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 176, - "line": 53 + "column": 64, + "line": 72 }, "start": { - "column": 43, - "line": 53 + "column": 9, + "line": 72 } } }, { - "id": "1449", + "id": "1494", "mutatorName": "LogicalOperator", - "replacement": "!doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN) && !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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:181:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:361:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "7" + "20" ], "coveredBy": [ - "7", - "8", - "10" + "15", + "16", + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 176, - "line": 53 + "column": 64, + "line": 72 }, "start": { - "column": 43, - "line": 53 + "column": 9, + "line": 72 } } }, { - "id": "1450", - "mutatorName": "BooleanLiteral", - "replacement": "doesPlayerHaveAttribute(drankLifePotionTargets[0].player, PLAYER_ATTRIBUTE_NAMES.EATEN)", - "status": "Timeout", + "id": "1495", + "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 \"Death potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:294:43)", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "17" + ], "coveredBy": [ - "7", - "8", - "10" + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 131, - "line": 53 + "column": 125, + "line": 72 }, "start": { - "column": 43, - "line": 53 + "column": 68, + "line": 72 } } }, { - "id": "1451", - "mutatorName": "BooleanLiteral", - "replacement": "drankLifePotionTargets[0].player.isAlive", - "status": "Timeout", + "id": "1496", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:361:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "20" + ], "coveredBy": [ - "7", - "10" + "17", + "18", + "19", + "20", + "21", + "22" ], "location": { "end": { - "column": 176, - "line": 53 + "column": 125, + "line": 72 }, "start": { - "column": 135, - "line": 53 + "column": 68, + "line": 72 } } }, { - "id": "1452", + "id": "1497", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:181:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "7" - ], + "killedBy": [], "coveredBy": [ - "7", - "8" + "15", + "16", + "17", + "18" ], "location": { "end": { "column": 6, - "line": 55 + "line": 74 }, "start": { - "column": 179, - "line": 53 + "column": 127, + "line": 72 } } }, { - "id": "1453", + "id": "1498", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:212:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "11" + "23" ], "coveredBy": [ - "11", - "12", - "13", - "14" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { "column": 4, - "line": 65 + "line": 90 }, "start": { - "column": 112, - "line": 58 + "column": 127, + "line": 79 } } }, { - "id": "1454", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:221:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1499", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:433:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "12" + "26" ], "coveredBy": [ - "11", - "12", - "13", - "14" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 43, - "line": 59 + "column": 88, + "line": 80 }, "start": { - "column": 9, - "line": 59 + "column": 29, + "line": 80 } } }, { - "id": "1455", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:213:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1500", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "11" + "23" ], "coveredBy": [ - "11", - "12", - "13", - "14" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 43, - "line": 59 + "column": 87, + "line": 80 }, "start": { - "column": 9, - "line": 59 + "column": 48, + "line": 80 } } }, { - "id": "1456", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:221:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1501", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:433:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "12" - ], - "coveredBy": [ - "11", - "12", - "13", - "14" + "26" ], - "location": { - "end": { - "column": 43, - "line": 59 - }, - "start": { - "column": 9, - "line": 59 - } - } - }, - { - "id": "1457", - "mutatorName": "EqualityOperator", - "replacement": "drankDeathPotionTargets.length <= 1", - "status": "Timeout", - "static": false, - "killedBy": [], "coveredBy": [ - "11", - "12", - "13", - "14" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 43, - "line": 59 + "column": 87, + "line": 80 }, "start": { - "column": 9, - "line": 59 + "column": 68, + "line": 80 } } }, { - "id": "1458", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:212:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1502", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "11" + "23" ], "coveredBy": [ - "11" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 6, - "line": 61 + "column": 87, + "line": 80 }, "start": { - "column": 45, - "line": 59 + "column": 68, + "line": 80 } } }, { - "id": "1459", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:225:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1503", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "13" + "23" ], "coveredBy": [ - "12", - "13", - "14" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 85, - "line": 62 + "column": 87, + "line": 80 }, "start": { - "column": 9, - "line": 62 + "column": 68, + "line": 80 } } }, { - "id": "1460", - "mutatorName": "ConditionalExpression", + "id": "1504", + "mutatorName": "BooleanLiteral", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:220:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "12" + "23" ], "coveredBy": [ - "12", - "13", - "14" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 85, - "line": 62 + "column": 87, + "line": 80 }, "start": { - "column": 9, - "line": 62 + "column": 83, + "line": 80 } } }, { - "id": "1461", - "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 163 | }\n 164 | }\n > 165 | if (stryMutAct_9fa48(\"1422\") ? drankDeathPotionTargets.length || !drankDeathPotionTargets[0].player.isAlive : stryMutAct_9fa48(\"1421\") ? false : stryMutAct_9fa48(\"1420\") ? true : (stryCov_9fa48(\"1420\", \"1421\", \"1422\"), drankDeathPotionTargets.length && (stryMutAct_9fa48(\"1423\") ? drankDeathPotionTargets[0].player.isAlive : (stryCov_9fa48(\"1423\"), !drankDeathPotionTargets[0].player.isAlive)))) {\n | ^\n 166 | if (stryMutAct_9fa48(\"1424\")) {\n 167 | {}\n 168 | } else {\n\n at GamePlayValidatorService.validateDrankDeathPotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:165:100)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:225:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:225:91)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:225:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1505", + "mutatorName": "BooleanLiteral", + "replacement": "infectedTargets.length", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "13" + "23" ], "coveredBy": [ - "12", - "13", - "14" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 85, - "line": 62 + "column": 32, + "line": 81 }, "start": { "column": 9, - "line": 62 + "line": 81 } } }, { - "id": "1462", - "mutatorName": "BooleanLiteral", - "replacement": "drankDeathPotionTargets[0].player.isAlive", - "status": "Timeout", + "id": "1506", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(86,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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "12", - "14" - ], - "location": { - "end": { - "column": 85, - "line": 62 - }, - "start": { - "column": 43, - "line": 62 - } - } - }, - { - "id": "1463", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:220:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "12" - ], - "coveredBy": [ - "12" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 6, - "line": 64 + "column": 32, + "line": 81 }, "start": { - "column": 87, - "line": 62 + "column": 9, + "line": 81 } } }, { - "id": "1464", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:254:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1507", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:433:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "15" + "26" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "26", + "27", + "43", + "44", + "45" ], "location": { "end": { - "column": 4, - "line": 77 + "column": 32, + "line": 81 }, "start": { - "column": 124, - "line": 67 + "column": 9, + "line": 81 } } }, { - "id": "1465", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:339:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1508", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:433:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "20" + "26" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "26", + "43", + "44", + "45" ], "location": { "end": { - "column": 159, - "line": 68 + "column": 6, + "line": 83 }, "start": { - "column": 36, - "line": 68 + "column": 34, + "line": 81 } } }, { - "id": "1466", + "id": "1509", "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "27" + ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 159, - "line": 68 + "column": 149, + "line": 84 }, "start": { - "column": 36, - "line": 68 + "column": 43, + "line": 84 } } }, { - "id": "1467", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:339:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1510", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:425:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "20" + "25" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 159, - "line": 68 + "column": 149, + "line": 84 }, "start": { - "column": 36, - "line": 68 + "column": 43, + "line": 84 } } }, { - "id": "1468", + "id": "1511", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:255:43)", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "15" + "27" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 159, - "line": 68 + "column": 149, + "line": 84 }, "start": { - "column": 36, - "line": 68 + "column": 43, + "line": 84 } } }, { - "id": "1469", - "mutatorName": "MethodExpression", - "replacement": "playTargets", + "id": "1512", + "mutatorName": "EqualityOperator", + "replacement": "(await this.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords(game._id)).length <= 0", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 111, - "line": 69 + "column": 149, + "line": 84 }, "start": { - "column": 36, - "line": 69 + "column": 43, + "line": 84 } } }, { - "id": "1470", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:254:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1513", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "15" + "27" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 110, - "line": 69 + "column": 122, + "line": 86 }, "start": { - "column": 55, - "line": 69 + "column": 9, + "line": 86 } } }, { - "id": "1471", + "id": "1514", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[]], but it was called with [{\"player\": {\"_id\": \"a4cf8ecc5f6cfce9b8195e63\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jude\", \"position\": 3646531857022976, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:324:49)", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "19" + "23" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 110, - "line": 69 + "column": 122, + "line": 86 }, "start": { - "column": 76, - "line": 69 + "column": 9, + "line": 86 } } }, { - "id": "1472", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:254:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 8, + "id": "1515", + "mutatorName": "LogicalOperator", + "replacement": "(!vileFatherOfWolvesPlayer || !isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer)) && hasVileFatherOfWolvesInfected", + "status": "Timeout", "static": false, - "killedBy": [ - "15" - ], + "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 110, - "line": 69 + "column": 122, + "line": 86 }, "start": { - "column": 76, - "line": 69 + "column": 9, + "line": 86 } } }, { - "id": "1473", - "mutatorName": "EqualityOperator", - "replacement": "drankPotion !== WITCH_POTIONS.LIFE", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[]], but it was called with [{\"player\": {\"_id\": \"2faa53143168acacacfa5dab\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lempi\", \"position\": 1479754635018240, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:324:49)", + "id": "1516", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 4, "static": false, "killedBy": [ - "19" + "23" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 110, - "line": 69 + "column": 89, + "line": 86 }, "start": { - "column": 76, - "line": 69 + "column": 9, + "line": 86 } } }, { - "id": "1474", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:339:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 8, + "id": "1517", + "mutatorName": "LogicalOperator", + "replacement": "!vileFatherOfWolvesPlayer && !isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer)", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(86,64): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "20" - ], + "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 161, - "line": 70 + "column": 89, + "line": 86 }, "start": { - "column": 37, - "line": 70 + "column": 9, + "line": 86 } } }, { - "id": "1475", - "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 \"Death potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:294:43)", - "status": "Killed", - "testsCompleted": 8, + "id": "1518", + "mutatorName": "BooleanLiteral", + "replacement": "vileFatherOfWolvesPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(86,63): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "17" - ], + "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25", + "27" ], "location": { "end": { - "column": 161, - "line": 70 + "column": 34, + "line": 86 }, "start": { - "column": 37, - "line": 70 + "column": 9, + "line": 86 } } }, { - "id": "1476", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:339:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1519", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "20" + "27" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "24", + "25", + "27" ], "location": { "end": { - "column": 161, - "line": 70 + "column": 89, + "line": 86 }, "start": { - "column": 37, - "line": 70 + "column": 38, + "line": 86 } } }, { - "id": "1477", - "mutatorName": "EqualityOperator", - "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length <= 0", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:293:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1520", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "17" + "23" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "23", + "24", + "25" ], "location": { "end": { - "column": 161, - "line": 70 + "column": 6, + "line": 88 }, "start": { - "column": 37, - "line": 70 + "column": 124, + "line": 86 } } }, { - "id": "1478", - "mutatorName": "MethodExpression", - "replacement": "playTargets", - "status": "Timeout", + "id": "1521", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(89,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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "27" ], "location": { "end": { - "column": 113, - "line": 71 + "column": 79, + "line": 89 }, "start": { - "column": 37, - "line": 71 + "column": 61, + "line": 89 } } }, { - "id": "1479", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:293:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1522", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:483:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 6, "static": false, "killedBy": [ - "17" + "29" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28", + "29", + "30", + "31", + "32", + "33" ], "location": { "end": { - "column": 112, - "line": 71 + "column": 4, + "line": 107 }, "start": { - "column": 56, - "line": 71 + "column": 131, + "line": 92 } } }, { - "id": "1480", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[]], but it was called with [{\"player\": {\"_id\": \"cc9c5d63767576638fdacbce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Abbigail\", \"position\": 1692337354833920, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:325:50)", + "id": "1523", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:483:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 6, "static": false, "killedBy": [ - "19" + "29" ], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28", + "29", + "30", + "31", + "32", + "33" ], "location": { "end": { - "column": 112, - "line": 71 + "column": 6, + "line": 101 }, "start": { - "column": 77, - "line": 71 + "column": 106, + "line": 97 } } }, { - "id": "1481", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:293:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 8, + "id": "1524", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(98,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", + "status": "CompileError", "static": false, - "killedBy": [ - "17" - ], + "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28", + "29", + "30", + "31", + "32", + "33" ], "location": { "end": { - "column": 112, - "line": 71 + "column": 53, + "line": 98 }, "start": { - "column": 77, - "line": 71 + "column": 35, + "line": 98 } } }, { - "id": "1482", - "mutatorName": "EqualityOperator", - "replacement": "drankPotion !== WITCH_POTIONS.DEATH", - "status": "Timeout", + "id": "1525", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(99,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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28", + "29", + "30", + "31", + "32", + "33" ], "location": { "end": { - "column": 112, - "line": 71 + "column": 110, + "line": 99 }, "start": { - "column": 77, - "line": 71 + "column": 34, + "line": 99 } } }, { - "id": "1483", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:323:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 8, + "id": "1526", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(100,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", + "status": "CompileError", "static": false, - "killedBy": [ - "19" - ], + "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28", + "29", + "30", + "31", + "32", + "33" ], "location": { "end": { - "column": 125, - "line": 72 + "column": 81, + "line": 100 }, "start": { - "column": 9, - "line": 72 + "column": 36, + "line": 100 } } }, { - "id": "1484", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:255:43)", - "status": "Killed", - "testsCompleted": 8, + "id": "1527", + "mutatorName": "BooleanLiteral", + "replacement": "targetsBoundaries", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(106,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type '{ min: number; max: number; }'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "15" - ], + "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28", + "29", + "30", + "31", + "32", + "33" ], "location": { "end": { - "column": 125, - "line": 72 + "column": 27, + "line": 103 }, "start": { "column": 9, - "line": 72 + "line": 103 } } }, { - "id": "1485", - "mutatorName": "LogicalOperator", - "replacement": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:255:43)", - "status": "Killed", - "testsCompleted": 8, + "id": "1528", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(106,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", + "status": "CompileError", "static": false, - "killedBy": [ - "15" - ], + "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28", + "29", + "30", + "31", + "32", + "33" ], "location": { "end": { - "column": 125, - "line": 72 + "column": 27, + "line": 103 }, "start": { "column": 9, - "line": 72 + "line": 103 } } }, { - "id": "1486", + "id": "1529", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:255:43)", - "status": "Killed", - "testsCompleted": 8, + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(106,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", + "status": "CompileError", "static": false, - "killedBy": [ - "15" - ], + "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28", + "29", + "30", + "31", + "32", + "33" ], "location": { "end": { - "column": 64, - "line": 72 + "column": 27, + "line": 103 }, "start": { "column": 9, - "line": 72 + "line": 103 } } }, { - "id": "1487", - "mutatorName": "LogicalOperator", - "replacement": "hasWitchUsedLifePotion || drankLifePotionTargets.length", - "status": "Timeout", + "id": "1530", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(104,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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "15", - "16", - "17", - "18", - "19", - "20", - "21", - "22" + "28" ], "location": { "end": { - "column": 64, - "line": 72 + "column": 6, + "line": 105 }, "start": { - "column": 9, - "line": 72 + "column": 29, + "line": 103 } } }, { - "id": "1488", - "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 \"Death potion can't be applied to this target (`targets.drankPotion`)\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:294:43)", + "id": "1531", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:538:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 12, "static": false, "killedBy": [ - "17" + "35" ], "coveredBy": [ - "17", - "18", - "19", - "20", - "21", - "22" + "34", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 125, - "line": 72 + "column": 4, + "line": 127 }, "start": { - "column": 68, - "line": 72 + "column": 144, + "line": 109 } } }, { - "id": "1489", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:339:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1532", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:531:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 12, "static": false, "killedBy": [ - "20" + "34" ], "coveredBy": [ - "17", - "18", - "19", - "20", - "21", - "22" + "34", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 125, - "line": 72 + "column": 28, + "line": 111 }, "start": { - "column": 68, - "line": 72 + "column": 9, + "line": 111 } } }, { - "id": "1490", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1533", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:538:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 12, "static": false, - "killedBy": [], + "killedBy": [ + "35" + ], "coveredBy": [ - "15", - "16", - "17", - "18" + "34", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 6, - "line": 74 + "column": 28, + "line": 111 }, "start": { - "column": 127, - "line": 72 + "column": 9, + "line": 111 } } }, { - "id": "1491", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1534", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:531:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 12, "static": false, "killedBy": [ - "23" + "34" ], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", + "34", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 4, - "line": 90 + "column": 28, + "line": 111 }, "start": { - "column": 127, - "line": 79 + "column": 9, + "line": 111 } } }, { - "id": "1492", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:433:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:531:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 8, + "testsCompleted": 1, "static": false, "killedBy": [ - "26" + "34" ], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", + "34" + ], + "location": { + "end": { + "column": 6, + "line": 113 + }, + "start": { + "column": 30, + "line": 111 + } + } + }, + { + "id": "1536", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 88, - "line": 80 + "column": 129, + "line": 116 }, "start": { - "column": 29, - "line": 80 + "column": 9, + "line": 116 } } }, { - "id": "1493", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1537", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:538:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 11, "static": false, "killedBy": [ - "23" + "35" ], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 87, - "line": 80 + "column": 129, + "line": 116 }, "start": { - "column": 48, - "line": 80 + "column": 9, + "line": 116 } } }, { - "id": "1494", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:433:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "LogicalOperator", + "replacement": "game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES || !getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:555:43)", "status": "Killed", - "testsCompleted": 8, + "testsCompleted": 11, "static": false, "killedBy": [ - "26" + "37" ], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 87, - "line": 80 + "column": 129, + "line": 116 }, "start": { - "column": 68, - "line": 80 + "column": 9, + "line": 116 } } }, { - "id": "1495", + "id": "1539", "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 [\"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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:555:43)", "status": "Killed", - "testsCompleted": 8, + "testsCompleted": 11, "static": false, "killedBy": [ - "23" + "37" ], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 87, - "line": 80 + "column": 61, + "line": 116 }, "start": { - "column": 68, - "line": 80 + "column": 9, + "line": 116 } } }, { - "id": "1496", + "id": "1540", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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_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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:538:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 11, "static": false, "killedBy": [ - "23" + "35" ], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", + "35", + "36", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 87, - "line": 80 + "column": 61, + "line": 116 }, "start": { - "column": 68, - "line": 80 + "column": 9, + "line": 116 } } }, { - "id": "1497", + "id": "1541", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "replacement": "getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)", + "status": "Timeout", "static": false, - "killedBy": [ - "23" - ], + "killedBy": [], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", - "43", - "44", + "35", + "36", "45" ], "location": { "end": { - "column": 87, - "line": 80 + "column": 129, + "line": 116 }, "start": { - "column": 83, - "line": 80 + "column": 65, + "line": 116 } } }, { - "id": "1498", - "mutatorName": "BooleanLiteral", - "replacement": "infectedTargets.length", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 8, + "id": "1542", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "23" - ], + "killedBy": [], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", - "43", - "44", - "45" + "35", + "36" ], "location": { "end": { - "column": 32, - "line": 81 + "column": 6, + "line": 118 }, "start": { - "column": 9, - "line": 81 + "column": 131, + "line": 116 } } }, { - "id": "1499", + "id": "1543", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(86,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", - "status": "CompileError", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:579:43)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "40" + ], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 32, - "line": 81 + "column": 128, + "line": 119 }, "start": { "column": 9, - "line": 81 + "line": 119 } } }, { - "id": "1500", + "id": "1544", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:433:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:554:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 9, "static": false, "killedBy": [ - "26" + "37" ], "coveredBy": [ - "23", - "24", - "25", - "26", - "27", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 32, - "line": 81 + "column": 128, + "line": 119 }, "start": { "column": 9, - "line": 81 + "line": 119 } } }, { - "id": "1501", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:433:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1545", + "mutatorName": "LogicalOperator", + "replacement": "game.currentPlay.source === ROLE_NAMES.BIG_BAD_WOLF || !getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:579:43)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 9, "static": false, "killedBy": [ - "26" + "40" ], "coveredBy": [ - "26", + "37", + "38", + "39", + "40", + "41", + "42", "43", "44", "45" ], "location": { "end": { - "column": 6, - "line": 83 + "column": 128, + "line": 119 }, "start": { - "column": 34, - "line": 81 + "column": 9, + "line": 119 } } }, { - "id": "1502", + "id": "1546", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 [\"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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:579:43)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 9, "static": false, "killedBy": [ - "27" + "40" ], "coveredBy": [ - "23", - "24", - "25", - "27" + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 149, - "line": 84 + "column": 60, + "line": 119 }, "start": { - "column": 43, - "line": 84 + "column": 9, + "line": 119 } } }, { - "id": "1503", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:425:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1547", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.source !== ROLE_NAMES.BIG_BAD_WOLF", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:554:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 9, "static": false, "killedBy": [ - "25" + "37" ], "coveredBy": [ - "23", - "24", - "25", - "27" + "37", + "38", + "39", + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 149, - "line": 84 + "column": 60, + "line": 119 }, "start": { - "column": 43, - "line": 84 + "column": 9, + "line": 119 } } }, { - "id": "1504", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1548", + "mutatorName": "BooleanLiteral", + "replacement": "getPlayerWithId(pureWolvesAvailableTargets, 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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:554:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "27" + "37" ], "coveredBy": [ - "23", - "24", - "25", - "27" + "37", + "38", + "39", + "44" ], "location": { "end": { - "column": 149, - "line": 84 + "column": 128, + "line": 119 }, "start": { - "column": 43, - "line": 84 + "column": 64, + "line": 119 } } }, { - "id": "1505", - "mutatorName": "EqualityOperator", - "replacement": "(await this.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords(game._id)).length <= 0", - "status": "Timeout", + "id": "1549", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:554:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "37" + ], "coveredBy": [ - "23", - "24", - "25", - "27" + "37", + "38", + "39" ], "location": { "end": { - "column": 149, - "line": 84 + "column": 6, + "line": 121 }, "start": { - "column": 43, - "line": 84 + "column": 130, + "line": 119 } } }, { - "id": "1506", + "id": "1550", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:605:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "27" + "43" ], "coveredBy": [ - "23", - "24", - "25", - "27" + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 122, - "line": 86 + "column": 133, + "line": 123 }, "start": { "column": 9, - "line": 86 + "line": 123 } } }, { - "id": "1507", + "id": "1551", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "23" - ], + "killedBy": [], "coveredBy": [ - "23", - "24", - "25", - "27" + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 122, - "line": 86 + "column": 133, + "line": 123 }, "start": { "column": 9, - "line": 86 + "line": 123 } } }, { - "id": "1508", + "id": "1552", "mutatorName": "LogicalOperator", - "replacement": "(!vileFatherOfWolvesPlayer || !isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer)) && hasVileFatherOfWolvesInfected", - "status": "Timeout", + "replacement": "game.currentPlay.source === ROLE_NAMES.WHITE_WEREWOLF || !getPlayerWithId(whiteWerewolfAvailableTargets, 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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:605:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "43" + ], "coveredBy": [ - "23", - "24", - "25", - "27" + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 122, - "line": 86 + "column": 133, + "line": 123 }, "start": { "column": 9, - "line": 86 + "line": 123 } } }, { - "id": "1509", + "id": "1553", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:613:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "23" + "44" ], "coveredBy": [ - "23", - "24", - "25", - "27" + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 89, - "line": 86 + "column": 62, + "line": 123 }, "start": { "column": 9, - "line": 86 + "line": 123 } } }, { - "id": "1510", - "mutatorName": "LogicalOperator", - "replacement": "!vileFatherOfWolvesPlayer && !isPlayerAliveAndPowerful(vileFatherOfWolvesPlayer)", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(86,64): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "1554", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.source !== ROLE_NAMES.WHITE_WEREWOLF", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:578:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "40" + ], "coveredBy": [ - "23", - "24", - "25", - "27" + "40", + "41", + "42", + "43", + "44", + "45" ], "location": { "end": { - "column": 89, - "line": 86 + "column": 62, + "line": 123 }, "start": { "column": 9, - "line": 86 + "line": 123 } } }, { - "id": "1511", + "id": "1555", "mutatorName": "BooleanLiteral", - "replacement": "vileFatherOfWolvesPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(86,63): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "replacement": "getPlayerWithId(whiteWerewolfAvailableTargets, 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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:578:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "40" + ], "coveredBy": [ - "23", - "24", - "25", - "27" + "40", + "41", + "42", + "43" ], "location": { "end": { - "column": 34, - "line": 86 + "column": 133, + "line": 123 }, "start": { - "column": 9, - "line": 86 + "column": 66, + "line": 123 } } }, { - "id": "1512", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1556", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:578:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "27" + "40" ], "coveredBy": [ - "24", - "25", - "27" + "40", + "41", + "42" ], "location": { "end": { - "column": 89, - "line": 86 + "column": 6, + "line": 125 }, "start": { - "column": 38, - "line": 86 + "column": 135, + "line": 123 } } }, { - "id": "1513", + "id": "1557", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:388:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:626:118)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "23" + "46" ], "coveredBy": [ - "23", - "24", - "25" + "46", + "47" ], "location": { "end": { - "column": 6, - "line": 88 + "column": 4, + "line": 135 }, "start": { - "column": 124, - "line": 86 + "column": 98, + "line": 129 } } }, { - "id": "1514", + "id": "1558", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(89,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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(131,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": [ - "27" + "46", + "47" ], "location": { "end": { - "column": 79, - "line": 89 + "column": 75, + "line": 130 }, "start": { - "column": 61, - "line": 89 + "column": 57, + "line": 130 } } }, { - "id": "1515", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:483:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1559", + "mutatorName": "BooleanLiteral", + "replacement": "targetedPlayer.isAlive", + "status": "Timeout", "static": false, - "killedBy": [ - "29" - ], + "killedBy": [], "coveredBy": [ - "28", - "29", - "30", - "31", - "32", - "33" + "46", + "47" ], "location": { "end": { - "column": 4, - "line": 107 + "column": 32, + "line": 132 }, "start": { - "column": 131, - "line": 92 + "column": 9, + "line": 132 } } }, { - "id": "1516", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:483:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1560", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:633:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "29" + "47" ], "coveredBy": [ - "28", - "29", - "30", - "31", - "32", - "33" + "46", + "47" ], "location": { "end": { - "column": 6, - "line": 101 + "column": 32, + "line": 132 }, "start": { - "column": 106, - "line": 97 + "column": 9, + "line": 132 } } }, { - "id": "1517", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(98,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", - "status": "CompileError", + "id": "1561", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:626:118)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "46" + ], "coveredBy": [ - "28", - "29", - "30", - "31", - "32", - "33" + "46", + "47" ], "location": { "end": { - "column": 53, - "line": 98 + "column": 32, + "line": 132 }, "start": { - "column": 35, - "line": 98 + "column": 9, + "line": 132 } } }, { - "id": "1518", - "mutatorName": "ObjectLiteral", + "id": "1562", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(99,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", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:626:118)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "46" + ], "coveredBy": [ - "28", - "29", - "30", - "31", - "32", - "33" + "46" ], "location": { "end": { - "column": 110, - "line": 99 + "column": 6, + "line": 134 }, "start": { "column": 34, - "line": 99 + "line": 132 } } }, { - "id": "1519", - "mutatorName": "ObjectLiteral", + "id": "1563", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(100,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", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "48" + ], "coveredBy": [ - "28", - "29", - "30", - "31", - "32", - "33" + "48", + "49" ], "location": { "end": { - "column": 81, - "line": 100 + "column": 4, + "line": 142 }, "start": { - "column": 36, - "line": 100 + "column": 113, + "line": 137 } } }, { - "id": "1520", - "mutatorName": "BooleanLiteral", - "replacement": "targetsBoundaries", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(106,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type '{ min: number; max: number; }'.\n", + "id": "1564", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(139,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": [ - "28", - "29", - "30", - "31", - "32", - "33" + "48", + "49" ], "location": { "end": { - "column": 27, - "line": 103 + "column": 93, + "line": 138 }, "start": { - "column": 9, - "line": 103 + "column": 57, + "line": 138 } } }, { - "id": "1521", + "id": "1565", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(106,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", - "status": "CompileError", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:670:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "49" + ], "coveredBy": [ - "28", - "29", - "30", - "31", - "32", - "33" + "48", + "49" ], "location": { "end": { - "column": 27, - "line": 103 + "column": 58, + "line": 139 }, "start": { "column": 9, - "line": 103 + "line": 139 } } }, { - "id": "1522", + "id": "1566", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(106,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", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "48" + ], "coveredBy": [ - "28", - "29", - "30", - "31", - "32", - "33" + "48", + "49" ], "location": { "end": { - "column": 27, - "line": 103 + "column": 58, + "line": 139 }, "start": { "column": 9, - "line": 103 + "line": 139 } } }, { - "id": "1523", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(104,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", - "status": "CompileError", + "id": "1567", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "48" + ], "coveredBy": [ - "28" + "48", + "49" ], "location": { "end": { - "column": 6, - "line": 105 + "column": 58, + "line": 139 }, "start": { - "column": 29, - "line": 103 + "column": 9, + "line": 139 } } }, { - "id": "1524", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:538:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1568", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 12, + "testsCompleted": 2, "static": false, "killedBy": [ - "35" + "48" ], "coveredBy": [ - "34", - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "48", + "49" ], "location": { "end": { - "column": 4, - "line": 127 + "column": 57, + "line": 139 }, "start": { - "column": 144, - "line": 109 + "column": 26, + "line": 139 } } }, { - "id": "1525", + "id": "1569", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:531:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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.isAlive", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:670:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 12, + "testsCompleted": 2, "static": false, "killedBy": [ - "34" + "49" ], "coveredBy": [ - "34", - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "48", + "49" ], "location": { "end": { - "column": 28, - "line": 111 + "column": 57, + "line": 139 }, "start": { - "column": 9, - "line": 111 + "column": 42, + "line": 139 } } }, { - "id": "1526", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:538:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1570", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 12, + "testsCompleted": 1, "static": false, "killedBy": [ - "35" + "48" ], "coveredBy": [ - "34", - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "48" ], "location": { "end": { - "column": 28, - "line": 111 + "column": 6, + "line": 141 }, "start": { - "column": 9, - "line": 111 + "column": 60, + "line": 139 } } }, { - "id": "1527", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:531:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1571", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:681:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 12, + "testsCompleted": 2, "static": false, "killedBy": [ - "34" + "50" ], "coveredBy": [ - "34", - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "50", + "51" ], "location": { "end": { - "column": 28, - "line": 111 + "column": 4, + "line": 149 }, "start": { - "column": 9, - "line": 111 + "column": 97, + "line": 144 } } }, { - "id": "1528", - "mutatorName": "BlockStatement", + "id": "1572", + "mutatorName": "ObjectLiteral", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:531:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 1, + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(146,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": [ - "34" - ], + "killedBy": [], "coveredBy": [ - "34" + "50", + "51" ], "location": { "end": { - "column": 6, - "line": 113 + "column": 75, + "line": 145 }, "start": { - "column": 30, - "line": 111 + "column": 57, + "line": 145 } } }, { - "id": "1529", + "id": "1573", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:691:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "51" + ], "coveredBy": [ - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "50", + "51" ], "location": { "end": { - "column": 129, - "line": 116 + "column": 58, + "line": 146 }, "start": { "column": 9, - "line": 116 + "line": 146 } } }, { - "id": "1530", + "id": "1574", "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:538:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "35" - ], + "killedBy": [], "coveredBy": [ - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "50", + "51" + ], + "location": { + "end": { + "column": 58, + "line": 146 + }, + "start": { + "column": 9, + "line": 146 + } + } + }, + { + "id": "1575", + "mutatorName": "MethodExpression", + "replacement": "playTargets.every(({\n player\n}) => !player.isAlive)", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "50", + "51" ], "location": { "end": { - "column": 129, - "line": 116 + "column": 58, + "line": 146 }, "start": { "column": 9, - "line": 116 + "line": 146 } } }, { - "id": "1531", - "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES || !getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:555:43)", + "id": "1576", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:681:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 2, "static": false, "killedBy": [ - "37" + "50" ], "coveredBy": [ - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "50", + "51" ], "location": { "end": { - "column": 129, - "line": 116 + "column": 57, + "line": 146 }, "start": { - "column": 9, - "line": 116 + "column": 26, + "line": 146 } } }, { - "id": "1532", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:555:43)", + "id": "1577", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:691:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 2, "static": false, "killedBy": [ - "37" + "51" ], "coveredBy": [ - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "50", + "51" ], "location": { "end": { - "column": 61, - "line": 116 + "column": 57, + "line": 146 }, "start": { - "column": 9, - "line": 116 + "column": 42, + "line": 146 } } }, { - "id": "1533", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:538:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1578", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:681:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "35" + "50" ], "coveredBy": [ - "35", - "36", - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "50" ], "location": { "end": { - "column": 61, - "line": 116 + "column": 6, + "line": 148 }, "start": { - "column": 9, - "line": 116 + "column": 60, + "line": 146 } } }, { - "id": "1534", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)", - "status": "Timeout", + "id": "1579", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:699:115)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "52" + ], "coveredBy": [ - "35", - "36", - "45" + "52", + "53" ], "location": { "end": { - "column": 129, - "line": 116 + "column": 4, + "line": 157 }, "start": { - "column": 65, - "line": 116 + "column": 95, + "line": 151 } } }, { - "id": "1535", - "mutatorName": "BlockStatement", + "id": "1580", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "status": "Timeout", + "statusReason": "src/modules/game/providers/services/game-play/game-play-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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "35", - "36" + "52", + "53" ], "location": { "end": { - "column": 6, - "line": 118 + "column": 75, + "line": 152 }, "start": { - "column": 131, - "line": 116 + "column": 57, + "line": 152 } } }, { - "id": "1536", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:579:43)", + "id": "1581", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:699:115)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "40" + "52" ], "coveredBy": [ - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "52", + "53" ], "location": { "end": { - "column": 128, - "line": 119 + "column": 32, + "line": 154 }, "start": { "column": 9, - "line": 119 + "line": 154 } } }, { - "id": "1537", + "id": "1582", "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:554:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:706:119)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "37" + "53" ], "coveredBy": [ - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "52", + "53" ], "location": { "end": { - "column": 128, - "line": 119 + "column": 32, + "line": 154 }, "start": { "column": 9, - "line": 119 + "line": 154 } } }, { - "id": "1538", - "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.source === ROLE_NAMES.BIG_BAD_WOLF || !getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:579:43)", - "status": "Killed", - "testsCompleted": 9, + "id": "1583", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, - "killedBy": [ - "40" - ], + "killedBy": [], "coveredBy": [ - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "52", + "53" ], "location": { "end": { - "column": 128, - "line": 119 + "column": 32, + "line": 154 }, "start": { "column": 9, - "line": 119 + "line": 154 } } }, { - "id": "1539", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:579:43)", + "id": "1584", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:699:115)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "40" + "52" ], "coveredBy": [ - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "52" ], "location": { "end": { - "column": 60, - "line": 119 + "column": 6, + "line": 156 }, "start": { - "column": 9, - "line": 119 + "column": 34, + "line": 154 } } }, { - "id": "1540", - "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.source !== ROLE_NAMES.BIG_BAD_WOLF", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:554:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1585", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:715:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 4, "static": false, "killedBy": [ - "37" + "54" ], "coveredBy": [ - "37", - "38", - "39", - "40", - "41", - "42", - "43", - "44", - "45" + "54", + "55", + "56", + "567" ], "location": { "end": { - "column": 60, - "line": 119 + "column": 4, + "line": 166 }, "start": { - "column": 9, - "line": 119 + "column": 108, + "line": 159 } } }, { - "id": "1541", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerWithId(pureWolvesAvailableTargets, 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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:554:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1586", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(161,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": [ - "37" - ], + "killedBy": [], "coveredBy": [ - "37", - "38", - "39", - "44" + "54", + "55", + "56", + "567" ], "location": { "end": { - "column": 128, - "line": 119 + "column": 75, + "line": 160 }, "start": { - "column": 64, - "line": 119 + "column": 57, + "line": 160 } } }, { - "id": "1542", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:554:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1587", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:733:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "37" + "56" ], "coveredBy": [ - "37", - "38", - "39" + "54", + "55", + "56", + "567" ], "location": { "end": { - "column": 6, - "line": 121 + "column": 74, + "line": 163 }, "start": { - "column": 130, - "line": 119 + "column": 9, + "line": 163 } } }, { - "id": "1543", + "id": "1588", "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:605:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:715:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 4, "static": false, "killedBy": [ - "43" + "54" ], "coveredBy": [ - "40", - "41", - "42", - "43", - "44", - "45" + "54", + "55", + "56", + "567" ], "location": { "end": { - "column": 133, - "line": 123 + "column": 74, + "line": 163 }, "start": { "column": 9, - "line": 123 + "line": 163 } } }, { - "id": "1544", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", + "id": "1589", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:715:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "54" + ], "coveredBy": [ - "40", - "41", - "42", - "43", - "44", - "45" + "54", + "55", + "56", + "567" ], "location": { "end": { - "column": 133, - "line": 123 + "column": 74, + "line": 163 }, "start": { "column": 9, - "line": 123 + "line": 163 } } }, { - "id": "1545", - "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.source === ROLE_NAMES.WHITE_WEREWOLF || !getPlayerWithId(whiteWerewolfAvailableTargets, 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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:605:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1590", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:715:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 4, "static": false, "killedBy": [ - "43" + "54" ], "coveredBy": [ - "40", - "41", - "42", - "43", - "44", - "45" + "54", + "55", + "56", + "567" ], "location": { "end": { - "column": 133, - "line": 123 + "column": 32, + "line": 163 }, "start": { "column": 9, - "line": 123 + "line": 163 } } }, { - "id": "1546", + "id": "1591", "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:613:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "44" + "55" ], "coveredBy": [ - "40", - "41", - "42", - "43", - "44", - "45" + "55", + "56", + "567" ], "location": { "end": { - "column": 62, - "line": 123 + "column": 74, + "line": 163 }, "start": { - "column": 9, - "line": 123 + "column": 36, + "line": 163 } } }, { - "id": "1547", + "id": "1592", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.source !== ROLE_NAMES.WHITE_WEREWOLF", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:578:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "40" + "55" ], "coveredBy": [ - "40", - "41", - "42", - "43", - "44", - "45" + "55", + "56", + "567" ], "location": { "end": { - "column": 62, - "line": 123 + "column": 74, + "line": 163 }, "start": { - "column": 9, - "line": 123 + "column": 36, + "line": 163 } } }, { - "id": "1548", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerWithId(whiteWerewolfAvailableTargets, 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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:578:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1593", + "mutatorName": "OptionalChaining", + "replacement": "seerPlayer._id", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(164,59): error TS18048: 'seerPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "40" - ], + "killedBy": [], "coveredBy": [ - "40", - "41", - "42", - "43" + "55", + "56", + "567" ], "location": { "end": { - "column": 133, - "line": 123 + "column": 74, + "line": 163 }, "start": { - "column": 66, - "line": 123 + "column": 59, + "line": 163 } } }, { - "id": "1549", + "id": "1594", "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:578:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "40" - ], + "killedBy": [], "coveredBy": [ - "40", - "41", - "42" + "54", + "55" ], "location": { "end": { "column": 6, - "line": 125 + "line": 165 }, "start": { - "column": 135, - "line": 123 + "column": 76, + "line": 163 } } }, { - "id": "1550", + "id": "1595", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:626:118)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "46" - ], + "killedBy": [], "coveredBy": [ - "46", - "47" + "57", + "58", + "59" ], "location": { "end": { "column": 4, - "line": 135 + "line": 173 }, "start": { - "column": 98, - "line": 129 + "column": 97, + "line": 168 } } }, { - "id": "1551", + "id": "1596", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(131,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-play-validator.service.ts(170,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": [ - "46", - "47" + "57", + "58", + "59" ], "location": { "end": { "column": 75, - "line": 130 + "line": 169 }, "start": { "column": 57, - "line": 130 + "line": 169 } } }, { - "id": "1552", - "mutatorName": "BooleanLiteral", - "replacement": "targetedPlayer.isAlive", - "status": "Timeout", + "id": "1597", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:748:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "58" + ], "coveredBy": [ - "46", - "47" + "57", + "58", + "59" ], "location": { "end": { - "column": 32, - "line": 132 + "column": 61, + "line": 170 }, "start": { "column": 9, - "line": 132 + "line": 170 } } }, { - "id": "1553", + "id": "1598", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:633:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:741:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "47" + "57" ], "coveredBy": [ - "46", - "47" + "57", + "58", + "59" ], "location": { "end": { - "column": 32, - "line": 132 + "column": 61, + "line": 170 }, "start": { "column": 9, - "line": 132 + "line": 170 } } }, { - "id": "1554", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:626:118)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1599", + "mutatorName": "LogicalOperator", + "replacement": "playTargets.length || !playTargets[0].player.isAlive", + "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 427 | max: 1\n 428 | }));\n > 429 | if (stryMutAct_9fa48(\"1569\") ? playTargets.length || !playTargets[0].player.isAlive : stryMutAct_9fa48(\"1568\") ? false : stryMutAct_9fa48(\"1567\") ? true : (stryCov_9fa48(\"1567\", \"1568\", \"1569\"), playTargets.length && (stryMutAct_9fa48(\"1570\") ? playTargets[0].player.isAlive : (stryCov_9fa48(\"1570\"), !playTargets[0].player.isAlive)))) {\n | ^\n 430 | if (stryMutAct_9fa48(\"1571\")) {\n 431 | {}\n 432 | } else {\n\n at GamePlayValidatorService.validateGamePlayRavenTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:429:76)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:748:78\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:748:121)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:748:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "46" + "58" ], "coveredBy": [ - "46", - "47" + "57", + "58", + "59" ], "location": { "end": { - "column": 32, - "line": 132 + "column": 61, + "line": 170 }, "start": { "column": 9, - "line": 132 + "line": 170 } } }, { - "id": "1555", + "id": "1600", + "mutatorName": "BooleanLiteral", + "replacement": "playTargets[0].player.isAlive", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "57", + "59" + ], + "location": { + "end": { + "column": 61, + "line": 170 + }, + "start": { + "column": 31, + "line": 170 + } + } + }, + { + "id": "1601", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:626:118)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:741:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "46" + "57" ], "coveredBy": [ - "46" + "57" ], "location": { "end": { "column": 6, - "line": 134 + "line": 172 }, "start": { - "column": 34, - "line": 132 + "column": 63, + "line": 170 } } }, { - "id": "1556", + "id": "1602", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "48" - ], + "killedBy": [], "coveredBy": [ - "48", - "49" + "60", + "61", + "62" ], "location": { "end": { "column": 4, - "line": 142 + "line": 182 }, "start": { "column": 113, - "line": 137 + "line": 175 } } }, { - "id": "1557", + "id": "1603", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(139,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-play-validator.service.ts(177,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": [ - "48", - "49" + "60", + "61", + "62" ], "location": { "end": { - "column": 93, - "line": 138 + "column": 75, + "line": 176 }, "start": { "column": 57, - "line": 138 + "line": 176 } } }, { - "id": "1558", + "id": "1604", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:670:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:781:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "49" + "62" ], "coveredBy": [ - "48", - "49" + "60", + "61", + "62" ], "location": { "end": { - "column": 58, - "line": 139 + "column": 79, + "line": 179 }, "start": { "column": 9, - "line": 139 + "line": 179 } } }, { - "id": "1559", + "id": "1605", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "48" + "60" ], "coveredBy": [ - "48", - "49" + "60", + "61", + "62" ], "location": { "end": { - "column": 58, - "line": 139 + "column": 79, + "line": 179 }, "start": { "column": 9, - "line": 139 + "line": 179 } } }, { - "id": "1560", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1606", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "48" + "60" ], "coveredBy": [ - "48", - "49" + "60", + "61", + "62" ], "location": { "end": { - "column": 58, - "line": 139 + "column": 79, + "line": 179 }, "start": { "column": 9, - "line": 139 + "line": 179 } } }, { - "id": "1561", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1607", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "48" + "60" ], "coveredBy": [ - "48", - "49" + "60", + "61", + "62" ], "location": { "end": { - "column": 57, - "line": 139 + "column": 32, + "line": 179 }, "start": { - "column": 26, - "line": 139 + "column": 9, + "line": 179 } } }, { - "id": "1562", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:670:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1608", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:773:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "49" + "61" ], "coveredBy": [ - "48", - "49" + "61", + "62" ], "location": { "end": { - "column": 57, - "line": 139 + "column": 79, + "line": 179 }, "start": { - "column": 42, - "line": 139 + "column": 36, + "line": 179 } } }, { - "id": "1563", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:652:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1609", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:773:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "48" + "61" ], "coveredBy": [ - "48" + "61", + "62" + ], + "location": { + "end": { + "column": 79, + "line": 179 + }, + "start": { + "column": 36, + "line": 179 + } + } + }, + { + "id": "1610", + "mutatorName": "OptionalChaining", + "replacement": "wildChildPlayer._id", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(180,59): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "61", + "62" + ], + "location": { + "end": { + "column": 79, + "line": 179 + }, + "start": { + "column": 59, + "line": 179 + } + } + }, + { + "id": "1611", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "60", + "61" ], "location": { "end": { "column": 6, - "line": 141 + "line": 181 }, "start": { - "column": 60, - "line": 139 + "column": 81, + "line": 179 } } }, { - "id": "1564", + "id": "1612", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:681:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "63", + "64", + "65" + ], + "location": { + "end": { + "column": 4, + "line": 193 + }, + "start": { + "column": 113, + "line": 184 + } + } + }, + { + "id": "1613", + "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\": \"daab068de5dbd16fe5cb9830\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marilie\", \"position\": 4005557140717568, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"player\": {\"_id\": \"eb8ca58f31d8c69db1ee3937\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jackeline\", \"position\": 3907429249056768, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 2, \"min\": 2}], but it was called with [{\"player\": {\"_id\": \"daab068de5dbd16fe5cb9830\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marilie\", \"position\": 4005557140717568, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"player\": {\"_id\": \"eb8ca58f31d8c69db1ee3937\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jackeline\", \"position\": 3907429249056768, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:826:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "50" + "64" ], "coveredBy": [ - "50", - "51" + "63", + "64", + "65" ], "location": { "end": { - "column": 4, - "line": 149 + "column": 98, + "line": 188 }, "start": { - "column": 97, - "line": 144 + "column": 26, + "line": 188 } } }, { - "id": "1565", + "id": "1614", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(146,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-play-validator.service.ts(190,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": [ - "50", - "51" + "63", + "64", + "65" ], "location": { "end": { - "column": 75, - "line": 145 + "column": 97, + "line": 189 }, "start": { "column": 57, - "line": 145 + "line": 189 } } }, { - "id": "1566", + "id": "1615", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:691:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:825:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "51" + "64" ], "coveredBy": [ - "50", - "51" + "63", + "64", + "65" ], "location": { "end": { - "column": 58, - "line": 146 + "column": 111, + "line": 190 }, "start": { "column": 9, - "line": 146 + "line": 190 } } }, { - "id": "1567", + "id": "1616", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:807:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "63" + ], "coveredBy": [ - "50", - "51" + "63", + "64", + "65" ], "location": { "end": { - "column": 58, - "line": 146 + "column": 111, + "line": 190 }, "start": { "column": 9, - "line": 146 + "line": 190 } } }, { - "id": "1568", + "id": "1617", "mutatorName": "MethodExpression", - "replacement": "playTargets.every(({\n player\n}) => !player.isAlive)", - "status": "Timeout", + "replacement": "playTargets.every(({\n player\n}) => !leftToCharmByPiedPiperPlayers.find(({\n _id\n}) => 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:807:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "63" + ], "coveredBy": [ - "50", - "51" + "63", + "64", + "65" ], "location": { "end": { - "column": 58, - "line": 146 + "column": 111, + "line": 190 }, "start": { "column": 9, - "line": 146 + "line": 190 } } }, { - "id": "1569", + "id": "1618", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:681:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:807:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "50" + "63" ], "coveredBy": [ - "50", - "51" + "63", + "64", + "65" ], "location": { "end": { - "column": 57, - "line": 146 + "column": 110, + "line": 190 }, "start": { "column": 26, - "line": 146 + "line": 190 } } }, { - "id": "1570", + "id": "1619", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:691:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:825:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "51" + "64" ], "coveredBy": [ - "50", - "51" + "63", + "64", + "65" ], "location": { "end": { - "column": 57, - "line": 146 + "column": 110, + "line": 190 }, "start": { "column": 42, - "line": 146 + "line": 190 } } }, { - "id": "1571", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:681:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1620", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:825:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "50" + "64" ], "coveredBy": [ - "50" + "63", + "64", + "65" ], "location": { "end": { - "column": 6, - "line": 148 + "column": 109, + "line": 190 }, "start": { - "column": 60, - "line": 146 + "column": 78, + "line": 190 } } }, { - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:699:115)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1621", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:807:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "52" + "63" ], "coveredBy": [ - "52", - "53" + "63", + "64", + "65" ], "location": { "end": { - "column": 4, - "line": 157 + "column": 109, + "line": 190 }, "start": { - "column": 95, - "line": 151 + "column": 91, + "line": 190 } } }, { - "id": "1573", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-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", - "status": "CompileError", + "id": "1622", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "52", - "53" + "63", + "64", + "65" ], "location": { "end": { - "column": 75, - "line": 152 + "column": 109, + "line": 190 }, "start": { - "column": 57, - "line": 152 + "column": 91, + "line": 190 } } }, { - "id": "1574", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:699:115)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1623", + "mutatorName": "EqualityOperator", + "replacement": "player._id !== _id", + "status": "Timeout", "static": false, - "killedBy": [ - "52" - ], + "killedBy": [], "coveredBy": [ - "52", - "53" + "63", + "64", + "65" ], "location": { "end": { - "column": 32, - "line": 154 + "column": 109, + "line": 190 }, "start": { - "column": 9, - "line": 154 + "column": 91, + "line": 190 } } }, { - "id": "1575", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:706:119)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1624", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "53" - ], + "killedBy": [], "coveredBy": [ - "52", - "53" + "63" ], "location": { "end": { - "column": 32, - "line": 154 + "column": 6, + "line": 192 }, "start": { - "column": 9, - "line": 154 + "column": 113, + "line": 190 } } }, { - "id": "1576", - "mutatorName": "ConditionalExpression", - "replacement": "false", + "id": "1625", + "mutatorName": "BlockStatement", + "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "52", - "53" + "66", + "67", + "68", + "69" ], "location": { "end": { - "column": 32, - "line": 154 + "column": 4, + "line": 204 }, "start": { - "column": 9, - "line": 154 + "column": 124, + "line": 195 } } }, { - "id": "1577", - "mutatorName": "BlockStatement", + "id": "1626", + "mutatorName": "ObjectLiteral", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:699:115)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 1, + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(198,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": [ - "52" - ], + "killedBy": [], "coveredBy": [ - "52" + "66", + "67", + "68", + "69" ], "location": { "end": { - "column": 6, - "line": 156 + "column": 75, + "line": 197 }, "start": { - "column": 34, - "line": 154 + "column": 57, + "line": 197 } } }, { - "id": "1578", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:715:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1627", + "mutatorName": "OptionalChaining", + "replacement": "lastGuardHistoryRecord?.play.targets[0]", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(200,33): error TS18048: 'lastGuardHistoryRecord.play.targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "54" - ], + "killedBy": [], "coveredBy": [ - "54", - "55", - "56", - "557" + "66", + "67", + "68", + "69" ], "location": { "end": { - "column": 4, - "line": 166 + "column": 74, + "line": 199 }, "start": { - "column": 108, - "line": 159 + "column": 33, + "line": 199 } } }, { - "id": "1579", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(161,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": "1628", + "mutatorName": "OptionalChaining", + "replacement": "lastGuardHistoryRecord.play", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(200,33): error TS18047: 'lastGuardHistoryRecord' is possibly 'null'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "54", - "55", - "56", - "557" + "66", + "67", + "68", + "69" ], "location": { "end": { - "column": 75, - "line": 160 + "column": 61, + "line": 199 }, "start": { - "column": 57, - "line": 160 + "column": 33, + "line": 199 } } }, { - "id": "1580", + "id": "1629", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:733:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:869:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "56" + "68" ], "coveredBy": [ - "54", - "55", - "56", - "557" + "66", + "67", + "68", + "69" ], "location": { "end": { - "column": 74, - "line": 163 + "column": 103, + "line": 201 }, "start": { "column": 9, - "line": 163 + "line": 201 } } }, { - "id": "1581", + "id": "1630", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:715:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:847:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "54" + "66" ], "coveredBy": [ - "54", - "55", - "56", - "557" + "66", + "67", + "68", + "69" ], "location": { "end": { - "column": 74, - "line": 163 + "column": 103, + "line": 201 }, "start": { "column": 9, - "line": 163 + "line": 201 } } }, { - "id": "1582", + "id": "1631", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:715:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "!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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:847:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "54" + "66" ], "coveredBy": [ - "54", - "55", - "56", - "557" + "66", + "67", + "68", + "69" ], "location": { "end": { - "column": 74, - "line": 163 + "column": 103, + "line": 201 }, "start": { "column": 9, - "line": 163 + "line": 201 } } }, { - "id": "1583", + "id": "1632", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:715:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:847:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "54" + "66" ], "coveredBy": [ - "54", - "55", - "56", - "557" + "66", + "67", + "68", + "69" ], "location": { "end": { "column": 32, - "line": 163 + "line": 201 }, "start": { "column": 9, - "line": 163 + "line": 201 } } }, { - "id": "1584", + "id": "1633", "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:858:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "55" + "67" ], "coveredBy": [ - "55", - "56", - "557" + "67", + "68", + "69" ], "location": { "end": { - "column": 74, - "line": 163 + "column": 103, + "line": 201 }, "start": { "column": 36, - "line": 163 + "line": 201 } } }, { - "id": "1585", - "mutatorName": "EqualityOperator", - "replacement": "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1634", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:869:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "55" + "68" ], "coveredBy": [ - "55", - "56", - "557" + "67", + "68", + "69" ], "location": { "end": { - "column": 74, - "line": 163 + "column": 103, + "line": 201 }, "start": { "column": 36, - "line": 163 - } - } - }, - { - "id": "1586", - "mutatorName": "OptionalChaining", - "replacement": "seerPlayer._id", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(164,59): error TS18048: 'seerPlayer' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "55", - "56", - "557" - ], - "location": { - "end": { - "column": 74, - "line": 163 - }, - "start": { - "column": 59, - "line": 163 - } - } - }, - { - "id": "1587", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "54", - "55" - ], - "location": { - "end": { - "column": 6, - "line": 165 - }, - "start": { - "column": 76, - "line": 163 - } - } - }, - { - "id": "1588", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "57", - "58", - "59" - ], - "location": { - "end": { - "column": 4, - "line": 173 - }, - "start": { - "column": 97, - "line": 168 - } - } - }, - { - "id": "1589", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(170,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": [ - "57", - "58", - "59" - ], - "location": { - "end": { - "column": 75, - "line": 169 - }, - "start": { - "column": 57, - "line": 169 + "line": 201 } } }, { - "id": "1590", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:748:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1635", + "mutatorName": "BooleanLiteral", + "replacement": "canProtectTwice", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:858:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "58" + "67" ], "coveredBy": [ - "57", - "58", - "59" + "67", + "68", + "69" ], "location": { "end": { - "column": 61, - "line": 170 + "column": 52, + "line": 201 }, "start": { - "column": 9, - "line": 170 + "column": 36, + "line": 201 } } }, { - "id": "1591", + "id": "1636", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:741:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:879:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "57" + "69" ], "coveredBy": [ - "57", - "58", - "59" + "67", + "69" ], "location": { - "end": { - "column": 61, - "line": 170 + "end": { + "column": 103, + "line": 201 }, "start": { - "column": 9, - "line": 170 + "column": 56, + "line": 201 } } }, { - "id": "1592", - "mutatorName": "LogicalOperator", - "replacement": "playTargets.length || !playTargets[0].player.isAlive", - "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 427 | max: 1\n 428 | }));\n > 429 | if (stryMutAct_9fa48(\"1569\") ? playTargets.length || !playTargets[0].player.isAlive : stryMutAct_9fa48(\"1568\") ? false : stryMutAct_9fa48(\"1567\") ? true : (stryCov_9fa48(\"1567\", \"1568\", \"1569\"), playTargets.length && (stryMutAct_9fa48(\"1570\") ? playTargets[0].player.isAlive : (stryCov_9fa48(\"1570\"), !playTargets[0].player.isAlive)))) {\n | ^\n 430 | if (stryMutAct_9fa48(\"1571\")) {\n 431 | {}\n 432 | } else {\n\n at GamePlayValidatorService.validateGamePlayRavenTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:429:76)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:748:78\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:748:121)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:748:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1637", + "mutatorName": "EqualityOperator", + "replacement": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:858:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "58" + "67" ], "coveredBy": [ - "57", - "58", - "59" + "67", + "69" ], "location": { "end": { - "column": 61, - "line": 170 + "column": 103, + "line": 201 }, "start": { - "column": 9, - "line": 170 + "column": 56, + "line": 201 } } }, { - "id": "1593", - "mutatorName": "BooleanLiteral", - "replacement": "playTargets[0].player.isAlive", - "status": "Timeout", + "id": "1638", + "mutatorName": "OptionalChaining", + "replacement": "lastProtectedPlayer._id", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(202,56): error TS18048: 'lastProtectedPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "57", - "59" + "67", + "69" ], "location": { "end": { - "column": 61, - "line": 170 + "column": 80, + "line": 201 }, "start": { - "column": 31, - "line": 170 + "column": 56, + "line": 201 } } }, { - "id": "1594", + "id": "1639", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:741:117)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:847:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "57" + "66" ], "coveredBy": [ - "57" + "66", + "67" ], "location": { "end": { "column": 6, - "line": 172 + "line": 203 }, "start": { - "column": 63, - "line": 170 + "column": 105, + "line": 201 } } }, { - "id": "1595", + "id": "1640", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "60", - "61", - "62" + "70", + "71", + "72", + "73", + "74" ], "location": { "end": { "column": 4, - "line": 182 + "line": 218 }, "start": { - "column": 113, - "line": 175 + "column": 141, + "line": 206 } } }, { - "id": "1596", + "id": "1641", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(177,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-play-validator.service.ts(208,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": [ - "60", - "61", - "62" + "70", + "71", + "72", + "73", + "74" ], "location": { "end": { "column": 75, - "line": 176 + "line": 207 }, "start": { "column": 57, - "line": 176 + "line": 207 } } }, { - "id": "1597", + "id": "1642", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:781:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:887:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "62" + "70" ], "coveredBy": [ - "60", - "61", - "62" + "70", + "71", + "72", + "73", + "74" ], "location": { "end": { - "column": 79, - "line": 179 + "column": 90, + "line": 209 }, "start": { "column": 9, - "line": 179 + "line": 209 } } }, { - "id": "1598", + "id": "1643", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:894:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "60" + "71" ], "coveredBy": [ - "60", - "61", - "62" + "70", + "71", + "72", + "73", + "74" ], "location": { "end": { - "column": 79, - "line": 179 + "column": 90, + "line": 209 }, "start": { "column": 9, - "line": 179 + "line": 209 } } }, { - "id": "1599", + "id": "1644", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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.DELEGATE || !targetedPlayer.isAlive", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "70", + "71", + "72", + "73", + "74" + ], + "location": { + "end": { + "column": 90, + "line": 209 + }, + "start": { + "column": 9, + "line": 209 + } + } + }, + { + "id": "1645", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:887:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "60" + "70" ], "coveredBy": [ - "60", - "61", - "62" + "70", + "71", + "72", + "73", + "74" ], "location": { "end": { - "column": 79, - "line": 179 + "column": 63, + "line": 209 }, "start": { "column": 9, - "line": 179 + "line": 209 } } }, { - "id": "1600", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1646", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:894:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "60" + "71" ], "coveredBy": [ - "60", - "61", - "62" + "70", + "71", + "72", + "73", + "74" ], "location": { "end": { - "column": 32, - "line": 179 + "column": 63, + "line": 209 }, "start": { "column": 9, - "line": 179 + "line": 209 } } }, { - "id": "1601", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:773:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1647", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:894:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "61" + "71" ], "coveredBy": [ - "61", - "62" + "71", + "72" ], "location": { "end": { - "column": 79, - "line": 179 + "column": 90, + "line": 209 }, "start": { - "column": 36, - "line": 179 + "column": 67, + "line": 209 } } }, { - "id": "1602", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:773:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1648", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:894:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "61" + "71" ], "coveredBy": [ - "61", - "62" + "71" ], "location": { "end": { - "column": 79, - "line": 179 + "column": 6, + "line": 211 }, "start": { - "column": 36, - "line": 179 + "column": 92, + "line": 209 } } }, { - "id": "1603", + "id": "1649", + "mutatorName": "LogicalOperator", + "replacement": "lastTieInVotesRecord?.play.voting?.nominatedPlayers && []", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(215,51): error TS18048: 'lastTieInVotesRecordNominatedPlayers' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "70", + "72", + "73", + "74" + ], + "location": { + "end": { + "column": 107, + "line": 213 + }, + "start": { + "column": 50, + "line": 213 + } + } + }, + { + "id": "1650", "mutatorName": "OptionalChaining", - "replacement": "wildChildPlayer._id", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(180,59): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\n", + "replacement": "lastTieInVotesRecord?.play.voting.nominatedPlayers", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(214,50): error TS18048: 'lastTieInVotesRecord.play.voting' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "61", - "62" + "70", + "72", + "73", + "74" ], "location": { "end": { - "column": 79, - "line": 179 + "column": 101, + "line": 213 }, "start": { - "column": 59, - "line": 179 + "column": 50, + "line": 213 } } }, { - "id": "1604", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1651", + "mutatorName": "OptionalChaining", + "replacement": "lastTieInVotesRecord.play", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(214,50): error TS18047: 'lastTieInVotesRecord' is possibly 'null'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "60", - "61" + "70", + "72", + "73", + "74" ], "location": { "end": { - "column": 6, - "line": 181 + "column": 76, + "line": 213 }, "start": { - "column": 81, - "line": 179 + "column": 50, + "line": 213 } } }, { - "id": "1605", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1652", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(215,88): error TS2349: This expression is not callable.\n Each member of the union type '{ (predicate: (value: Player, index: number, obj: Player[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: Player, index: number, obj: Player[]) => unknown, thisArg?: any): Player | undefined; } | { ...; }' has signatures, but none of those signatures are compatible with each other.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "63", - "64", - "65" + "70", + "72" ], "location": { "end": { - "column": 4, - "line": 193 + "column": 107, + "line": 213 }, "start": { - "column": 113, - "line": 184 + "column": 105, + "line": 213 } } }, { - "id": "1606", - "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\": \"daab068de5dbd16fe5cb9830\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marilie\", \"position\": 4005557140717568, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"player\": {\"_id\": \"eb8ca58f31d8c69db1ee3937\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jackeline\", \"position\": 3907429249056768, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"max\": 2, \"min\": 2}], but it was called with [{\"player\": {\"_id\": \"daab068de5dbd16fe5cb9830\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marilie\", \"position\": 4005557140717568, \"role\": {\"current\": \"wild-child\", \"isRevealed\": false, \"original\": \"wild-child\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}, {\"player\": {\"_id\": \"eb8ca58f31d8c69db1ee3937\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jackeline\", \"position\": 3907429249056768, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:826:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1653", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:921:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "64" + "74" ], "coveredBy": [ - "63", - "64", - "65" + "70", + "72", + "73", + "74" ], "location": { "end": { - "column": 98, - "line": 188 + "column": 132, + "line": 214 }, "start": { - "column": 26, - "line": 188 + "column": 93, + "line": 214 } } }, { - "id": "1607", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(190,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": "1654", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:911:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "73" + ], "coveredBy": [ - "63", - "64", - "65" + "73", + "74" ], "location": { "end": { - "column": 97, - "line": 189 + "column": 132, + "line": 214 }, "start": { - "column": 57, - "line": 189 + "column": 106, + "line": 214 } } }, { - "id": "1608", + "id": "1655", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:825:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:921:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "64" + "74" ], "coveredBy": [ - "63", - "64", - "65" + "73", + "74" ], "location": { "end": { - "column": 111, - "line": 190 + "column": 132, + "line": 214 + }, + "start": { + "column": 106, + "line": 214 + } + } + }, + { + "id": "1656", + "mutatorName": "EqualityOperator", + "replacement": "_id !== targetedPlayer._id", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "73", + "74" + ], + "location": { + "end": { + "column": 132, + "line": 214 + }, + "start": { + "column": 106, + "line": 214 + } + } + }, + { + "id": "1657", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "70", + "72", + "73", + "74" + ], + "location": { + "end": { + "column": 109, + "line": 215 }, "start": { "column": 9, - "line": 190 + "line": 215 } } }, { - "id": "1609", + "id": "1658", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:807:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "63" - ], + "killedBy": [], "coveredBy": [ - "63", - "64", - "65" + "70", + "72", + "73", + "74" ], "location": { "end": { - "column": 111, - "line": 190 + "column": 109, + "line": 215 }, "start": { "column": 9, - "line": 190 + "line": 215 } } }, { - "id": "1610", - "mutatorName": "MethodExpression", - "replacement": "playTargets.every(({\n player\n}) => !leftToCharmByPiedPiperPlayers.find(({\n _id\n}) => 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:807:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1659", + "mutatorName": "LogicalOperator", + "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.SETTLE_VOTES || !isSheriffTargetInLastNominatedPlayers", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:887:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "63" + "70" ], "coveredBy": [ - "63", - "64", - "65" + "70", + "72", + "73", + "74" ], "location": { "end": { - "column": 111, - "line": 190 + "column": 109, + "line": 215 }, "start": { "column": 9, - "line": 190 + "line": 215 } } }, { - "id": "1611", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:807:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1660", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", "static": false, - "killedBy": [ - "63" - ], + "killedBy": [], "coveredBy": [ - "63", - "64", - "65" + "70", + "72", + "73", + "74" ], "location": { "end": { - "column": 110, - "line": 190 + "column": 67, + "line": 215 }, "start": { - "column": 26, - "line": 190 + "column": 9, + "line": 215 } } }, { - "id": "1612", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:825:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1661", + "mutatorName": "EqualityOperator", + "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.SETTLE_VOTES", + "status": "Timeout", "static": false, - "killedBy": [ - "64" - ], + "killedBy": [], "coveredBy": [ - "63", - "64", - "65" + "70", + "72", + "73", + "74" ], "location": { "end": { - "column": 110, - "line": 190 + "column": 67, + "line": 215 }, "start": { - "column": 42, - "line": 190 + "column": 9, + "line": 215 } } }, { - "id": "1613", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:825:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1662", + "mutatorName": "BooleanLiteral", + "replacement": "isSheriffTargetInLastNominatedPlayers", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:911:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "64" + "73" ], "coveredBy": [ - "63", - "64", - "65" + "73", + "74" ], "location": { "end": { "column": 109, - "line": 190 + "line": 215 }, "start": { - "column": 78, - "line": 190 + "column": 71, + "line": 215 } } }, { - "id": "1614", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:807:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1663", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:911:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 1, "static": false, "killedBy": [ - "63" + "73" ], "coveredBy": [ - "63", - "64", - "65" + "73" ], "location": { "end": { - "column": 109, - "line": 190 + "column": 6, + "line": 217 }, "start": { - "column": 91, - "line": 190 + "column": 111, + "line": 215 } } }, { - "id": "1615", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", + "id": "1664", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:933:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 32, "static": false, - "killedBy": [], + "killedBy": [ + "75" + ], "coveredBy": [ - "63", - "64", - "65" + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", + "66", + "67", + "68", + "69", + "70", + "71", + "72", + "73", + "74", + "75", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 109, - "line": 190 + "column": 4, + "line": 227 }, "start": { - "column": 91, - "line": 190 + "column": 150, + "line": 220 } } }, { - "id": "1616", - "mutatorName": "EqualityOperator", - "replacement": "player._id !== _id", - "status": "Timeout", + "id": "1665", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 32, "static": false, - "killedBy": [], + "killedBy": [ + "27" + ], "coveredBy": [ - "63", - "64", - "65" + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", + "66", + "67", + "68", + "69", + "70", + "71", + "72", + "73", + "74", + "75", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 109, - "line": 190 + "column": 50, + "line": 221 }, "start": { - "column": 91, - "line": 190 + "column": 9, + "line": 221 } } }, { - "id": "1617", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1666", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:933:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 32, "static": false, - "killedBy": [], + "killedBy": [ + "75" + ], "coveredBy": [ - "63" + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", + "66", + "67", + "68", + "69", + "70", + "71", + "72", + "73", + "74", + "75", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 6, - "line": 192 + "column": 50, + "line": 221 }, "start": { - "column": 113, - "line": 190 + "column": 9, + "line": 221 } } }, { - "id": "1618", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1667", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 32, "static": false, - "killedBy": [], + "killedBy": [ + "27" + ], "coveredBy": [ + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", "66", "67", "68", - "69" + "69", + "70", + "71", + "72", + "73", + "74", + "75", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 4, - "line": 204 + "column": 50, + "line": 221 }, "start": { - "column": 124, - "line": 195 + "column": 9, + "line": 221 } } }, { - "id": "1619", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(198,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": "1668", + "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 32, "static": false, - "killedBy": [], + "killedBy": [ + "27" + ], "coveredBy": [ + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", "66", "67", "68", - "69" + "69", + "70", + "71", + "72", + "73", + "74", + "75", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 75, - "line": 197 + "column": 50, + "line": 221 }, "start": { - "column": 57, - "line": 197 + "column": 9, + "line": 221 } } }, { - "id": "1620", - "mutatorName": "OptionalChaining", - "replacement": "lastGuardHistoryRecord?.play.targets[0]", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(200,33): error TS18048: 'lastGuardHistoryRecord.play.targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1669", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:933:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "75" + ], "coveredBy": [ - "66", - "67", - "68", - "69" + "75" ], "location": { "end": { - "column": 74, - "line": 199 + "column": 6, + "line": 223 }, "start": { - "column": 33, - "line": 199 + "column": 52, + "line": 221 } } }, { - "id": "1621", - "mutatorName": "OptionalChaining", - "replacement": "lastGuardHistoryRecord.play", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(200,33): error TS18047: 'lastGuardHistoryRecord' is possibly 'null'.\n", - "status": "CompileError", + "id": "1670", + "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 31, "static": false, - "killedBy": [], + "killedBy": [ + "27" + ], "coveredBy": [ + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", "66", "67", "68", - "69" + "69", + "70", + "71", + "72", + "73", + "74", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 61, - "line": 199 + "column": 50, + "line": 224 }, "start": { - "column": 33, - "line": 199 + "column": 9, + "line": 224 } } }, { - "id": "1622", + "id": "1671", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:869:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected constructor: BadGamePlayPayloadException\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:944:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 31, "static": false, "killedBy": [ - "68" + "76" ], "coveredBy": [ + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", "66", "67", "68", - "69" + "69", + "70", + "71", + "72", + "73", + "74", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 103, - "line": 201 + "column": 50, + "line": 224 }, "start": { "column": 9, - "line": 201 + "line": 224 } } }, { - "id": "1623", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:847:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1672", + "mutatorName": "EqualityOperator", + "replacement": "playTargets.length >= lengthBoundaries.max", + "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 31, "static": false, "killedBy": [ - "66" + "27" ], "coveredBy": [ + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", "66", "67", "68", - "69" + "69", + "70", + "71", + "72", + "73", + "74", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 103, - "line": 201 + "column": 50, + "line": 224 }, "start": { "column": 9, - "line": 201 + "line": 224 } } }, { - "id": "1624", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:847:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1673", + "mutatorName": "EqualityOperator", + "replacement": "playTargets.length <= lengthBoundaries.max", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 31, "static": false, "killedBy": [ - "66" + "27" ], "coveredBy": [ + "27", + "46", + "47", + "48", + "49", + "50", + "51", + "52", + "53", + "54", + "55", + "56", + "57", + "58", + "59", + "60", + "61", + "62", "66", "67", "68", - "69" + "69", + "70", + "71", + "72", + "73", + "74", + "76", + "77", + "78", + "567" ], "location": { "end": { - "column": 103, - "line": 201 + "column": 50, + "line": 224 }, "start": { "column": 9, - "line": 201 + "line": 224 } } }, { - "id": "1625", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:847:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1674", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:944:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 1, "static": false, "killedBy": [ - "66" + "76" ], "coveredBy": [ - "66", - "67", - "68", - "69" + "76" ], "location": { "end": { - "column": 32, - "line": 201 + "column": 6, + "line": 226 }, "start": { - "column": 9, - "line": 201 + "column": 52, + "line": 224 } } }, { - "id": "1626", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:858:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1675", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1028:82)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 16, "static": false, "killedBy": [ - "67" + "80" ], "coveredBy": [ - "67", - "68", - "69" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 103, - "line": 201 + "column": 4, + "line": 250 }, "start": { - "column": 36, - "line": 201 + "column": 140, + "line": 229 } } }, { - "id": "1627", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:869:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1676", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1028:82)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 16, "static": false, "killedBy": [ - "68" + "80" ], "coveredBy": [ - "67", - "68", - "69" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 103, - "line": 201 + "column": 6, + "line": 245 }, "start": { - "column": 36, - "line": 201 + "column": 102, + "line": 230 } } }, { - "id": "1628", - "mutatorName": "BooleanLiteral", - "replacement": "canProtectTwice", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:858:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1677", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1028:82)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 16, "static": false, "killedBy": [ - "67" + "80" ], "coveredBy": [ - "67", - "68", - "69" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 52, - "line": 201 + "column": 106, + "line": 231 }, "start": { - "column": 36, - "line": 201 + "column": 41, + "line": 231 } } }, { - "id": "1629", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:879:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1678", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1046:85)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 16, "static": false, "killedBy": [ - "69" + "81" ], "coveredBy": [ - "67", - "69" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { "column": 103, - "line": 201 + "line": 232 }, "start": { - "column": 56, - "line": 201 + "column": 35, + "line": 232 } } }, { - "id": "1630", - "mutatorName": "EqualityOperator", - "replacement": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:858:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1679", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1064:85)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 16, "static": false, "killedBy": [ - "67" + "82" ], "coveredBy": [ - "67", - "69" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 103, - "line": 201 + "column": 102, + "line": 233 }, "start": { - "column": 56, - "line": 201 + "column": 34, + "line": 233 } } }, { - "id": "1631", - "mutatorName": "OptionalChaining", - "replacement": "lastProtectedPlayer._id", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(202,56): error TS18048: 'lastProtectedPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1680", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1082:85)", + "status": "Killed", + "testsCompleted": 16, "static": false, - "killedBy": [], + "killedBy": [ + "83" + ], "coveredBy": [ - "67", - "69" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 80, - "line": 201 + "column": 104, + "line": 234 }, "start": { - "column": 56, - "line": 201 + "column": 36, + "line": 234 } } }, { - "id": "1632", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:847:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1681", + "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1101:80)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 16, "static": false, "killedBy": [ - "66" + "84" ], "coveredBy": [ - "66", - "67" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 6, - "line": 203 + "column": 90, + "line": 235 }, "start": { - "column": 105, - "line": 201 + "column": 27, + "line": 235 } } }, { - "id": "1633", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1682", + "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1120:84)", + "status": "Killed", + "testsCompleted": 16, "static": false, - "killedBy": [], + "killedBy": [ + "85" + ], "coveredBy": [ - "70", - "71", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 4, - "line": 218 + "column": 94, + "line": 236 }, "start": { - "column": 141, - "line": 206 + "column": 32, + "line": 236 } } }, { - "id": "1634", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(208,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": "1683", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1139:84)", + "status": "Killed", + "testsCompleted": 16, "static": false, - "killedBy": [], + "killedBy": [ + "86" + ], "coveredBy": [ - "70", - "71", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 75, - "line": 207 + "column": 94, + "line": 237 }, "start": { - "column": 57, - "line": 207 + "column": 32, + "line": 237 } } }, { - "id": "1635", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:887:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1684", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1158:80)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 16, "static": false, "killedBy": [ - "70" + "87" ], "coveredBy": [ - "70", - "71", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 90, - "line": 209 + "column": 79, + "line": 238 }, "start": { - "column": 9, - "line": 209 + "column": 27, + "line": 238 } } }, { - "id": "1636", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:894:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1685", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1177:79)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 16, "static": false, "killedBy": [ - "71" + "88" ], "coveredBy": [ - "70", - "71", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 90, - "line": 209 + "column": 83, + "line": 239 }, "start": { - "column": 9, - "line": 209 + "column": 26, + "line": 239 } } }, { - "id": "1637", - "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.DELEGATE || !targetedPlayer.isAlive", - "status": "Timeout", + "id": "1686", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1196:78)", + "status": "Killed", + "testsCompleted": 16, "static": false, - "killedBy": [], + "killedBy": [ + "89" + ], "coveredBy": [ - "70", - "71", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 90, - "line": 209 + "column": 75, + "line": 240 }, "start": { - "column": 9, - "line": 209 + "column": 25, + "line": 240 } } }, { - "id": "1638", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:887:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1687", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1215:80)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 16, "static": false, "killedBy": [ - "70" + "90" ], "coveredBy": [ - "70", - "71", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 63, - "line": 209 + "column": 79, + "line": 241 }, "start": { - "column": 9, - "line": 209 + "column": 27, + "line": 241 } } }, { - "id": "1639", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:894:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1688", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1234:84)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 16, "static": false, "killedBy": [ - "71" + "91" ], "coveredBy": [ - "70", - "71", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 63, - "line": 209 + "column": 93, + "line": 242 }, "start": { - "column": 9, - "line": 209 + "column": 31, + "line": 242 } } }, { - "id": "1640", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:894:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1689", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1253:81)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 16, "static": false, "killedBy": [ - "71" + "92" ], "coveredBy": [ - "71", - "72" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 90, - "line": 209 + "column": 81, + "line": 243 }, "start": { - "column": 67, - "line": 209 + "column": 28, + "line": 243 } } }, { - "id": "1641", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:894:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1690", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1272:80)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 16, "static": false, "killedBy": [ - "71" + "93" ], "coveredBy": [ - "71" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 6, - "line": 211 + "column": 90, + "line": 244 }, "start": { - "column": 92, - "line": 209 + "column": 27, + "line": 244 } } }, { - "id": "1642", - "mutatorName": "LogicalOperator", - "replacement": "lastTieInVotesRecord?.play.voting?.nominatedPlayers && []", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(215,51): error TS18048: 'lastTieInVotesRecordNominatedPlayers' is possibly 'undefined'.\n", + "id": "1691", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(249,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "70", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 107, - "line": 213 + "column": 39, + "line": 247 }, "start": { - "column": 50, - "line": 213 + "column": 9, + "line": 247 } } }, { - "id": "1643", - "mutatorName": "OptionalChaining", - "replacement": "lastTieInVotesRecord?.play.voting.nominatedPlayers", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(214,50): error TS18048: 'lastTieInVotesRecord.play.voting' is possibly 'undefined'.\n", + "id": "1692", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(249,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "70", - "72", - "73", - "74" + "79", + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 101, - "line": 213 + "column": 39, + "line": 247 }, "start": { - "column": 50, - "line": 213 + "column": 9, + "line": 247 } } }, { - "id": "1644", - "mutatorName": "OptionalChaining", - "replacement": "lastTieInVotesRecord.play", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(214,50): error TS18047: 'lastTieInVotesRecord' is possibly 'null'.\n", - "status": "CompileError", + "id": "1693", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1028:82)", + "status": "Killed", + "testsCompleted": 15, "static": false, - "killedBy": [], + "killedBy": [ + "80" + ], "coveredBy": [ - "70", - "72", - "73", - "74" + "80", + "81", + "82", + "83", + "84", + "85", + "86", + "87", + "88", + "89", + "90", + "91", + "92", + "93", + "567" ], "location": { "end": { - "column": 76, - "line": 213 + "column": 6, + "line": 249 }, "start": { - "column": 50, - "line": 213 + "column": 41, + "line": 247 } } }, { - "id": "1645", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(215,88): error TS2349: This expression is not callable.\n Each member of the union type '{ (predicate: (value: Player, index: number, obj: Player[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: Player, index: number, obj: Player[]) => unknown, thisArg?: any): Player | undefined; } | { ...; }' has signatures, but none of those signatures are compatible with each other.\n", - "status": "CompileError", + "id": "1694", + "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "94" + ], "coveredBy": [ - "70", - "72" + "94", + "95", + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 107, - "line": 213 + "column": 4, + "line": 262 }, "start": { - "column": 105, - "line": 213 + "column": 133, + "line": 252 } } }, { - "id": "1646", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:921:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1695", + "mutatorName": "MethodExpression", + "replacement": "playTargets.every(({\n isInfected\n}) => isInfected)", + "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "74" + "94" ], "coveredBy": [ - "70", - "72", - "73", - "74" + "94", + "95", + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 132, - "line": 214 + "column": 82, + "line": 254 }, "start": { - "column": 93, - "line": 214 + "column": 34, + "line": 254 } } }, { - "id": "1647", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:911:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1696", + "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "73" + "94" ], "coveredBy": [ - "73", - "74" + "94", + "95", + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 132, - "line": 214 + "column": 81, + "line": 254 }, "start": { - "column": 106, - "line": 214 + "column": 51, + "line": 254 } } }, { - "id": "1648", + "id": "1697", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:921:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1318:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "74" + "96" ], "coveredBy": [ - "73", - "74" + "94", + "95", + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 132, - "line": 214 + "column": 128, + "line": 255 }, "start": { - "column": 106, - "line": 214 + "column": 9, + "line": 255 } } }, { - "id": "1649", - "mutatorName": "EqualityOperator", - "replacement": "_id !== targetedPlayer._id", - "status": "Timeout", + "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "94" + ], "coveredBy": [ - "73", - "74" + "94", + "95", + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 132, - "line": 214 + "column": 128, + "line": 255 }, "start": { - "column": 106, - "line": 214 + "column": 9, + "line": 255 } } }, { - "id": "1650", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "id": "1699", + "mutatorName": "LogicalOperator", + "replacement": "isSomeTargetInfected || currentPlayAction !== GAME_PLAY_ACTIONS.EAT || currentPlaySource !== PLAYER_GROUPS.WEREWOLVES", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(259,38): error TS2367: This comparison appears to be unintentional because the types 'GAME_PLAY_ACTIONS.EAT' and 'GAME_PLAY_ACTIONS.USE_POTIONS' have no overlap.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(259,93): error TS2367: This comparison appears to be unintentional because the types 'PLAYER_GROUPS' and 'ROLE_NAMES' have no overlap.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "70", - "72", - "73", - "74" + "94", + "95", + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 109, - "line": 215 + "column": 128, + "line": 255 }, "start": { "column": 9, - "line": 215 + "line": 255 } } }, { - "id": "1651", + "id": "1700", "mutatorName": "ConditionalExpression", - "replacement": "false", + "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "70", - "72", - "73", - "74" + "94", + "95", + "96" ], "location": { "end": { - "column": 109, - "line": 215 + "column": 127, + "line": 255 }, "start": { - "column": 9, - "line": 215 + "column": 34, + "line": 255 } } }, { - "id": "1652", + "id": "1701", "mutatorName": "LogicalOperator", - "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.SETTLE_VOTES || !isSheriffTargetInLastNominatedPlayers", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:887:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "currentPlayAction !== GAME_PLAY_ACTIONS.EAT && currentPlaySource !== PLAYER_GROUPS.WEREWOLVES", + "status": "Timeout", "static": false, - "killedBy": [ - "70" - ], + "killedBy": [], "coveredBy": [ - "70", - "72", - "73", - "74" + "94", + "95", + "96" ], "location": { "end": { - "column": 109, - "line": 215 + "column": 127, + "line": 255 }, "start": { - "column": 9, - "line": 215 + "column": 34, + "line": 255 } } }, { - "id": "1653", + "id": "1702", "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "94" + ], "coveredBy": [ - "70", - "72", - "73", - "74" + "94", + "95", + "96" ], "location": { "end": { - "column": 67, - "line": 215 + "column": 77, + "line": 255 }, "start": { - "column": 9, - "line": 215 + "column": 34, + "line": 255 } } }, { - "id": "1654", + "id": "1703", "mutatorName": "EqualityOperator", - "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.SETTLE_VOTES", - "status": "Timeout", + "replacement": "currentPlayAction === GAME_PLAY_ACTIONS.EAT", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "94" + ], "coveredBy": [ - "70", - "72", - "73", - "74" + "94", + "95", + "96" ], "location": { "end": { - "column": 67, - "line": 215 + "column": 77, + "line": 255 }, "start": { - "column": 9, - "line": 215 + "column": 34, + "line": 255 } } }, { - "id": "1655", - "mutatorName": "BooleanLiteral", - "replacement": "isSheriffTargetInLastNominatedPlayers", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:911:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1304:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "73" + "95" ], "coveredBy": [ - "73", - "74" + "95", + "96" ], "location": { "end": { - "column": 109, - "line": 215 + "column": 127, + "line": 255 }, "start": { - "column": 71, - "line": 215 + "column": 81, + "line": 255 } } }, { - "id": "1656", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:911:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1705", + "mutatorName": "EqualityOperator", + "replacement": "currentPlaySource === 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1304:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "73" + "95" ], "coveredBy": [ - "73" + "95", + "96" ], "location": { "end": { - "column": 6, - "line": 217 + "column": 127, + "line": 255 }, "start": { - "column": 111, - "line": 215 + "column": 81, + "line": 255 } } }, { - "id": "1657", + "id": "1706", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:933:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 32, + "testsCompleted": 2, "static": false, "killedBy": [ - "75" + "94" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "75", - "76", - "77", - "78", - "557" + "94", + "95" ], "location": { "end": { - "column": 4, - "line": 227 + "column": 6, + "line": 257 }, "start": { - "column": 150, - "line": 220 + "column": 130, + "line": 255 } } }, { - "id": "1658", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1707", + "mutatorName": "MethodExpression", + "replacement": "playTargets.every(({\n drankPotion\n}) => drankPotion)", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 32, + "testsCompleted": 6, "static": false, "killedBy": [ - "27" + "97" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "75", - "76", - "77", - "78", - "557" + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 50, - "line": 221 + "column": 88, + "line": 258 }, "start": { - "column": 9, - "line": 221 + "column": 38, + "line": 258 } } }, { - "id": "1659", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:933:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1708", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 32, + "testsCompleted": 6, "static": false, "killedBy": [ - "75" + "97" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "75", - "76", - "77", - "78", - "557" + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 50, - "line": 221 + "column": 87, + "line": 258 }, "start": { - "column": 9, - "line": 221 + "column": 55, + "line": 258 } } }, { - "id": "1660", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1709", + "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1318:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 32, + "testsCompleted": 6, "static": false, "killedBy": [ - "27" + "96" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "75", - "76", - "77", - "78", - "557" + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 50, - "line": 221 + "column": 132, + "line": 259 }, "start": { "column": 9, - "line": 221 + "line": 259 } } }, { - "id": "1661", - "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1710", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 32, + "testsCompleted": 6, "static": false, "killedBy": [ - "27" + "97" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "75", - "76", - "77", - "78", - "557" + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 50, - "line": 221 + "column": 132, + "line": 259 }, "start": { "column": 9, - "line": 221 + "line": 259 } } }, { - "id": "1662", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:933:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1711", + "mutatorName": "LogicalOperator", + "replacement": "hasSomePlayerDrankPotion || currentPlayAction !== GAME_PLAY_ACTIONS.USE_POTIONS || currentPlaySource !== ROLE_NAMES.WITCH", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1318:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "75" + "96" ], "coveredBy": [ - "75" + "96", + "97", + "98", + "99", + "567" ], "location": { "end": { - "column": 6, - "line": 223 + "column": 132, + "line": 259 }, "start": { - "column": 52, - "line": 221 + "column": 9, + "line": 259 } } }, { - "id": "1663", + "id": "1712", "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1374:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 31, + "testsCompleted": 3, "static": false, "killedBy": [ - "27" + "99" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "76", - "77", - "78", - "557" + "97", + "98", + "99" ], "location": { "end": { - "column": 50, - "line": 224 + "column": 131, + "line": 259 }, "start": { - "column": 9, - "line": 224 + "column": 38, + "line": 259 } } }, { - "id": "1664", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:944:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1713", + "mutatorName": "LogicalOperator", + "replacement": "currentPlayAction !== GAME_PLAY_ACTIONS.USE_POTIONS && currentPlaySource !== ROLE_NAMES.WITCH", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 31, + "testsCompleted": 3, "static": false, "killedBy": [ - "76" + "97" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "76", - "77", - "78", - "557" + "97", + "98", + "99" ], "location": { "end": { - "column": 50, - "line": 224 + "column": 131, + "line": 259 }, "start": { - "column": 9, - "line": 224 + "column": 38, + "line": 259 } } }, { - "id": "1665", - "mutatorName": "EqualityOperator", - "replacement": "playTargets.length >= lengthBoundaries.max", - "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1714", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 31, + "testsCompleted": 3, "static": false, "killedBy": [ - "27" + "97" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "76", - "77", - "78", - "557" + "97", + "98", + "99" ], "location": { "end": { - "column": 50, - "line": 224 + "column": 89, + "line": 259 }, "start": { - "column": 9, - "line": 224 + "column": 38, + "line": 259 } } }, { - "id": "1666", + "id": "1715", "mutatorName": "EqualityOperator", - "replacement": "playTargets.length <= lengthBoundaries.max", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:447:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "currentPlayAction === GAME_PLAY_ACTIONS.USE_POTIONS", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 31, + "testsCompleted": 3, "static": false, "killedBy": [ - "27" + "97" ], "coveredBy": [ - "27", - "46", - "47", - "48", - "49", - "50", - "51", - "52", - "53", - "54", - "55", - "56", - "57", - "58", - "59", - "60", - "61", - "62", - "66", - "67", - "68", - "69", - "70", - "71", - "72", - "73", - "74", - "76", - "77", - "78", - "557" + "97", + "98", + "99" ], "location": { "end": { - "column": 50, - "line": 224 + "column": 89, + "line": 259 }, "start": { - "column": 9, - "line": 224 + "column": 38, + "line": 259 } } }, { - "id": "1667", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:944:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1716", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1362:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "76" + "98" ], "coveredBy": [ - "76" + "98", + "99" ], "location": { "end": { - "column": 6, - "line": 226 + "column": 131, + "line": 259 }, "start": { - "column": 52, - "line": 224 + "column": 93, + "line": 259 } } }, { - "id": "1668", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1028:82)", + "id": "1717", + "mutatorName": "EqualityOperator", + "replacement": "currentPlaySource === ROLE_NAMES.WITCH", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1362:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 16, + "testsCompleted": 2, "static": false, "killedBy": [ - "80" + "98" ], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "98", + "99" ], "location": { "end": { - "column": 4, - "line": 250 + "column": 131, + "line": 259 }, "start": { - "column": 140, - "line": 229 + "column": 93, + "line": 259 } } }, { - "id": "1669", - "mutatorName": "ObjectLiteral", + "id": "1718", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1028:82)", - "status": "Killed", - "testsCompleted": 16, + "status": "Timeout", "static": false, - "killedBy": [ - "80" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "97", + "98" ], "location": { "end": { "column": 6, - "line": 245 + "line": 261 }, "start": { - "column": 102, - "line": 230 + "column": 134, + "line": 259 } } }, { - "id": "1670", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1028:82)", + "id": "1719", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1387:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 16, + "testsCompleted": 7, "static": false, "killedBy": [ - "80" + "102" ], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "103", + "104", + "566", + "567" ], "location": { "end": { - "column": 106, - "line": 231 + "column": 4, + "line": 276 }, "start": { - "column": 41, - "line": 231 + "column": 162, + "line": 264 } } }, { - "id": "1671", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1046:85)", - "status": "Killed", - "testsCompleted": 16, + "id": "1720", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(274,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "81" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "103", + "104", + "566", + "567" ], "location": { "end": { - "column": 103, - "line": 232 + "column": 62, + "line": 265 }, "start": { - "column": 35, - "line": 232 + "column": 9, + "line": 265 } } }, { - "id": "1672", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1064:85)", - "status": "Killed", - "testsCompleted": 16, + "id": "1721", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(274,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "82" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "103", + "104", + "566", + "567" ], "location": { "end": { - "column": 102, - "line": 233 + "column": 62, + "line": 265 }, "start": { - "column": 34, - "line": 233 + "column": 9, + "line": 265 } } }, { - "id": "1673", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1082:85)", - "status": "Killed", - "testsCompleted": 16, + "id": "1722", + "mutatorName": "LogicalOperator", + "replacement": "playTargets === undefined && playTargets.length === 0", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(265,38): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(274,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "83" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "103", + "104", + "566", + "567" ], "location": { "end": { - "column": 104, - "line": 234 + "column": 62, + "line": 265 }, "start": { - "column": 36, - "line": 234 + "column": 9, + "line": 265 } } }, { - "id": "1674", - "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1101:80)", - "status": "Killed", - "testsCompleted": 16, + "id": "1723", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(265,18): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(274,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "84" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "103", + "104", + "566", + "567" ], "location": { "end": { - "column": 90, - "line": 235 + "column": 34, + "line": 265 }, "start": { - "column": 27, - "line": 235 + "column": 9, + "line": 265 } } }, { - "id": "1675", - "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1120:84)", - "status": "Killed", - "testsCompleted": 16, + "id": "1724", + "mutatorName": "EqualityOperator", + "replacement": "playTargets !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(265,38): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(274,48): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,46): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "85" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "103", + "104", + "566", + "567" ], "location": { "end": { - "column": 94, - "line": 236 + "column": 34, + "line": 265 }, "start": { - "column": 32, - "line": 236 + "column": 9, + "line": 265 } } }, { - "id": "1676", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1139:84)", + "id": "1725", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1405:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 16, + "testsCompleted": 5, "static": false, "killedBy": [ - "86" + "101" ], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "101", + "102", + "103", + "104", + "567" ], "location": { "end": { - "column": 94, - "line": 237 + "column": 62, + "line": 265 }, "start": { - "column": 32, - "line": 237 + "column": 38, + "line": 265 } } }, { - "id": "1677", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1158:80)", + "id": "1726", + "mutatorName": "EqualityOperator", + "replacement": "playTargets.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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1405:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 16, + "testsCompleted": 5, "static": false, "killedBy": [ - "87" + "101" ], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "101", + "102", + "103", + "104", + "567" ], "location": { "end": { - "column": 79, - "line": 238 + "column": 62, + "line": 265 }, "start": { - "column": 27, - "line": 238 + "column": 38, + "line": 265 } } }, { - "id": "1678", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1177:79)", - "status": "Killed", - "testsCompleted": 16, + "id": "1727", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(269,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(270,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "88" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "566" ], "location": { "end": { - "column": 83, - "line": 239 + "column": 6, + "line": 270 }, "start": { - "column": 26, - "line": 239 + "column": 64, + "line": 265 } } }, { - "id": "1679", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1196:78)", + "id": "1728", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1398:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 16, + "testsCompleted": 4, "static": false, "killedBy": [ - "89" + "100" ], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "566" ], "location": { "end": { - "column": 75, - "line": 240 + "column": 67, + "line": 266 }, "start": { - "column": 25, - "line": 240 + "column": 11, + "line": 266 } } }, { - "id": "1680", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1215:80)", + "id": "1729", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1387:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 16, + "testsCompleted": 4, "static": false, "killedBy": [ - "90" + "102" ], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "100", + "101", + "102", + "566" ], "location": { "end": { - "column": 79, - "line": 241 + "column": 67, + "line": 266 }, "start": { - "column": 27, - "line": 241 + "column": 11, + "line": 266 } } }, { - "id": "1681", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1234:84)", - "status": "Killed", - "testsCompleted": 16, + "id": "1730", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "91" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "102" ], "location": { "end": { - "column": 93, - "line": 242 + "column": 8, + "line": 268 }, "start": { - "column": 31, - "line": 242 + "column": 69, + "line": 266 } } }, { - "id": "1682", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1253:81)", + "id": "1731", + "mutatorName": "BooleanLiteral", + "replacement": "[...requiredTargetsActions, ...optionalTargetsActions].includes(game.currentPlay.action)", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1395:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 16, + "testsCompleted": 3, "static": false, "killedBy": [ - "92" + "103" ], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "103", + "104", + "567" ], "location": { "end": { - "column": 81, - "line": 243 + "column": 98, + "line": 271 }, "start": { - "column": 28, - "line": 243 + "column": 9, + "line": 271 } } }, { - "id": "1683", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1272:80)", - "status": "Killed", - "testsCompleted": 16, + "id": "1732", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(274,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "93" - ], + "killedBy": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "103", + "104", + "567" ], "location": { "end": { - "column": 90, - "line": 244 + "column": 98, + "line": 271 }, "start": { - "column": 27, - "line": 244 + "column": 9, + "line": 271 } } }, { - "id": "1684", + "id": "1733", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(249,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1395:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "103" + ], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "103", + "104", + "567" ], "location": { "end": { - "column": 39, - "line": 247 + "column": 98, + "line": 271 }, "start": { "column": 9, - "line": 247 + "line": 271 } } }, { - "id": "1685", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(249,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "id": "1734", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(271,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": [], "coveredBy": [ - "79", - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "103", + "104", + "567" ], "location": { "end": { - "column": 39, - "line": 247 + "column": 64, + "line": 271 }, "start": { - "column": 9, - "line": 247 + "column": 10, + "line": 271 } } }, { - "id": "1686", + "id": "1735", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1028:82)", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1395:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 15, + "testsCompleted": 1, "static": false, "killedBy": [ - "80" + "103" ], "coveredBy": [ - "80", - "81", - "82", - "83", - "84", - "85", - "86", - "87", - "88", - "89", - "90", - "91", - "92", - "93", - "557" + "103" ], "location": { "end": { "column": 6, - "line": 249 + "line": 273 }, "start": { - "column": 41, - "line": 247 + "column": 100, + "line": 271 } } }, { - "id": "1687", + "id": "1736", "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "94" + "105" ], "coveredBy": [ - "94", - "95", - "96", - "97", - "98", - "99", - "104", - "557" + "105", + "106", + "107" ], "location": { "end": { "column": 4, - "line": 262 + "line": 284 }, "start": { - "column": 133, - "line": 252 + "column": 139, + "line": 278 } } }, { - "id": "1688", - "mutatorName": "MethodExpression", - "replacement": "playTargets.every(({\n isInfected\n}) => isInfected)", - "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 8, + "id": "1737", + "mutatorName": "LogicalOperator", + "replacement": "lastTieInVotesRecord?.play.voting?.nominatedPlayers && []", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(281,33): error TS18048: 'lastTieInVotesRecordNominatedPlayers' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(281,112): error TS2339: Property '_id' does not exist on type 'never'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "94" + "killedBy": [], + "coveredBy": [ + "105", + "106", + "107" ], + "location": { + "end": { + "column": 107, + "line": 280 + }, + "start": { + "column": 50, + "line": 280 + } + } + }, + { + "id": "1738", + "mutatorName": "OptionalChaining", + "replacement": "lastTieInVotesRecord?.play.voting.nominatedPlayers", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(280,50): error TS18048: 'lastTieInVotesRecord.play.voting' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "94", - "95", - "96", - "97", - "98", - "99", - "104", - "557" + "105", + "106", + "107" ], "location": { "end": { - "column": 82, - "line": 254 + "column": 101, + "line": 280 }, "start": { - "column": 34, - "line": 254 + "column": 50, + "line": 280 + } + } + }, + { + "id": "1739", + "mutatorName": "OptionalChaining", + "replacement": "lastTieInVotesRecord.play", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(280,50): error TS18047: 'lastTieInVotesRecord' is possibly 'null'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "105", + "106", + "107" + ], + "location": { + "end": { + "column": 76, + "line": 280 + }, + "start": { + "column": 50, + "line": 280 } } }, { - "id": "1689", - "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 8, + "id": "1740", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(282,70): error TS2349: This expression is not callable.\n Each member of the union type '{ (predicate: (value: Player, index: number, obj: Player[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: Player, index: number, obj: Player[]) => unknown, thisArg?: any): Player | undefined; } | { ...; }' has signatures, but none of those signatures are compatible with each other.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "94" - ], + "killedBy": [], "coveredBy": [ - "94", - "95", - "96", - "97", - "98", - "99", - "104", - "557" + "105" ], "location": { "end": { - "column": 81, - "line": 254 + "column": 107, + "line": 280 }, "start": { - "column": 51, - "line": 254 + "column": 105, + "line": 280 } } }, { - "id": "1690", + "id": "1741", "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1318:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1479:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "96" + "107" ], "coveredBy": [ - "94", - "95", - "96", - "97", - "98", - "99", - "104", - "557" + "105", + "106", + "107" ], "location": { "end": { - "column": 128, - "line": 255 + "column": 117, + "line": 281 }, "start": { "column": 9, - "line": 255 + "line": 281 } } }, { - "id": "1691", + "id": "1742", "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 3, "static": false, "killedBy": [ - "94" + "105" ], "coveredBy": [ - "94", - "95", - "96", - "97", - "98", - "99", - "104", - "557" + "105", + "106", + "107" ], "location": { "end": { - "column": 128, - "line": 255 + "column": 117, + "line": 281 }, "start": { "column": 9, - "line": 255 + "line": 281 } } }, { - "id": "1692", - "mutatorName": "LogicalOperator", - "replacement": "isSomeTargetInfected || currentPlayAction !== GAME_PLAY_ACTIONS.EAT || currentPlaySource !== PLAYER_GROUPS.WEREWOLVES", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(260,38): error TS2367: This comparison appears to be unintentional because the types 'GAME_PLAY_ACTIONS.EAT' and 'GAME_PLAY_ACTIONS.USE_POTIONS' have no overlap.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(260,93): error TS2367: This comparison appears to be unintentional because the types 'PLAYER_GROUPS' and 'ROLE_NAMES' have no overlap.\n", - "status": "CompileError", + "id": "1743", + "mutatorName": "MethodExpression", + "replacement": "playVotes.every(vote => !lastTieInVotesRecordNominatedPlayers.find(player => vote.target._id === player._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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1437:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "106" + ], "coveredBy": [ - "94", - "95", - "96", - "97", - "98", - "99", - "104", - "557" + "105", + "106", + "107" ], "location": { "end": { - "column": 128, - "line": 255 + "column": 117, + "line": 281 }, "start": { "column": 9, - "line": 255 + "line": 281 } } }, { - "id": "1693", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "id": "1744", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [], - "coveredBy": [ - "94", - "95", - "96" + "killedBy": [ + "105" ], - "location": { - "end": { - "column": 127, - "line": 255 - }, - "start": { - "column": 34, - "line": 255 - } - } - }, - { - "id": "1694", - "mutatorName": "LogicalOperator", - "replacement": "currentPlayAction !== GAME_PLAY_ACTIONS.EAT && currentPlaySource !== PLAYER_GROUPS.WEREWOLVES", - "status": "Timeout", - "static": false, - "killedBy": [], "coveredBy": [ - "94", - "95", - "96" + "105", + "106", + "107" ], "location": { "end": { - "column": 127, - "line": 255 + "column": 116, + "line": 281 }, "start": { - "column": 34, - "line": 255 + "column": 24, + "line": 281 } } }, { - "id": "1695", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1745", + "mutatorName": "BooleanLiteral", + "replacement": "lastTieInVotesRecordNominatedPlayers.find(player => vote.target._id === player._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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "94" + "105" ], "coveredBy": [ - "94", - "95", - "96" + "105", + "106", + "107" ], "location": { "end": { - "column": 77, - "line": 255 + "column": 116, + "line": 281 }, "start": { - "column": 34, - "line": 255 + "column": 32, + "line": 281 } } }, { - "id": "1696", - "mutatorName": "EqualityOperator", - "replacement": "currentPlayAction === GAME_PLAY_ACTIONS.EAT", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1746", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", "static": false, - "killedBy": [ - "94" - ], + "killedBy": [], "coveredBy": [ - "94", - "95", - "96" + "105", + "106", + "107" ], "location": { "end": { - "column": 77, - "line": 255 + "column": 115, + "line": 281 }, "start": { - "column": 34, - "line": 255 + "column": 75, + "line": 281 } } }, { - "id": "1697", + "id": "1747", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1304:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).toReject()\n\nExpected promise to reject, however it resolved.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1437:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "95" + "106" ], "coveredBy": [ - "95", - "96" + "106", + "107" ], "location": { "end": { - "column": 127, - "line": 255 + "column": 115, + "line": 281 }, "start": { - "column": 81, - "line": 255 + "column": 85, + "line": 281 } } }, { - "id": "1698", - "mutatorName": "EqualityOperator", - "replacement": "currentPlaySource === 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1304:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1748", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, - "killedBy": [ - "95" - ], + "killedBy": [], "coveredBy": [ - "95", - "96" + "106", + "107" ], "location": { "end": { - "column": 127, - "line": 255 + "column": 115, + "line": 281 }, "start": { - "column": 81, - "line": 255 + "column": 85, + "line": 281 } } }, { - "id": "1699", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1290:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1749", + "mutatorName": "EqualityOperator", + "replacement": "vote.target._id !== player._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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1437:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "94" + "106" ], "coveredBy": [ - "94", - "95" + "106", + "107" ], "location": { "end": { - "column": 6, - "line": 257 + "column": 115, + "line": 281 }, "start": { - "column": 130, - "line": 255 + "column": 85, + "line": 281 } } }, { - "id": "1700", - "mutatorName": "MethodExpression", - "replacement": "playTargets.every(({\n drankPotion\n}) => drankPotion)", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1750", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "97" + "105" ], "coveredBy": [ - "96", - "97", - "98", - "99", - "104", - "557" + "105", + "106" ], "location": { "end": { - "column": 88, - "line": 258 + "column": 6, + "line": 283 }, "start": { - "column": 38, - "line": 258 + "column": 119, + "line": 281 } } }, { - "id": "1701", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1751", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1496:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "97" + "108" ], "coveredBy": [ - "96", - "97", - "98", - "99", - "104", - "557" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 87, - "line": 258 + "column": 4, + "line": 296 }, "start": { - "column": 55, - "line": 258 + "column": 117, + "line": 286 } } }, { - "id": "1702", + "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1318:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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()).toHaveBeenCalledWith(...expected)\n\nExpected: \"One target can't be voted because he's dead\"\nReceived: \"One source is not able to vote because he's dead or doesn't have the ability to do so\"\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1529:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "96" + "110" ], "coveredBy": [ - "96", - "97", - "98", - "99", - "104", - "557" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 132, - "line": 259 + "column": 125, + "line": 287 }, "start": { "column": 9, - "line": 259 + "line": 287 } } }, { - "id": "1703", + "id": "1753", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "undefined TypeError: Cannot read properties of undefined (reading 'close')\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:74:15)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusHook (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:280:40)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:153:7)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "RuntimeError", "static": false, - "killedBy": [ - "97" - ], + "killedBy": [], "coveredBy": [ - "96", - "97", - "98", - "99", - "104", - "557" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 132, - "line": 259 + "column": 125, + "line": 287 }, "start": { "column": 9, - "line": 259 + "line": 287 } } }, { - "id": "1704", - "mutatorName": "LogicalOperator", - "replacement": "hasSomePlayerDrankPotion || currentPlayAction !== GAME_PLAY_ACTIONS.USE_POTIONS || currentPlaySource !== ROLE_NAMES.WITCH", - "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1318:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1754", + "mutatorName": "MethodExpression", + "replacement": "playVotes.every(({\n source\n}) => !source.isAlive || doesPlayerHaveAttribute(source, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE))", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1496:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "96" + "108" ], "coveredBy": [ - "96", - "97", - "98", - "99", - "104", - "557" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 132, - "line": 259 + "column": 125, + "line": 287 }, "start": { "column": 9, - "line": 259 + "line": 287 } } }, { - "id": "1705", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1353:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1496:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "99" + "108" ], "coveredBy": [ - "97", - "98", - "99" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 131, - "line": 259 + "column": 124, + "line": 287 }, "start": { - "column": 38, - "line": 259 + "column": 24, + "line": 287 } } }, { - "id": "1706", - "mutatorName": "LogicalOperator", - "replacement": "currentPlayAction !== GAME_PLAY_ACTIONS.USE_POTIONS && currentPlaySource !== ROLE_NAMES.WITCH", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1756", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"One target can't be voted because he's dead\"\nReceived: \"One source is not able to vote because he's dead or doesn't have the ability to do so\"\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1529:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "97" + "110" ], "coveredBy": [ - "97", - "98", - "99" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 131, - "line": 259 + "column": 124, + "line": 287 }, "start": { - "column": 38, - "line": 259 + "column": 40, + "line": 287 } } }, { - "id": "1707", + "id": "1757", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1496:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "97" + "108" ], "coveredBy": [ - "97", - "98", - "99" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 89, - "line": 259 + "column": 124, + "line": 287 }, "start": { - "column": 38, - "line": 259 + "column": 40, + "line": 287 } } }, { - "id": "1708", - "mutatorName": "EqualityOperator", - "replacement": "currentPlayAction === GAME_PLAY_ACTIONS.USE_POTIONS", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1329:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1758", + "mutatorName": "LogicalOperator", + "replacement": "!source.isAlive && doesPlayerHaveAttribute(source, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE)", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1496:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "97" - ], - "coveredBy": [ - "97", - "98", - "99" - ], - "location": { - "end": { - "column": 89, - "line": 259 - }, - "start": { - "column": 38, - "line": 259 - } - } - }, - { - "id": "1709", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "108" + ], "coveredBy": [ - "98", - "99" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 131, - "line": 259 + "column": 124, + "line": 287 }, "start": { - "column": 93, - "line": 259 + "column": 40, + "line": 287 } } }, { - "id": "1710", - "mutatorName": "EqualityOperator", - "replacement": "currentPlaySource === ROLE_NAMES.WITCH", - "status": "Timeout", + "id": "1759", + "mutatorName": "BooleanLiteral", + "replacement": "source.isAlive", + "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\nExpected: \"One target can't be voted because he's dead\"\nReceived: \"One source is not able to vote because he's dead or doesn't have the ability to do so\"\n\nNumber of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1529:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "110" + ], "coveredBy": [ - "98", - "99" + "108", + "109", + "110", + "111", + "566" ], "location": { "end": { - "column": 131, - "line": 259 + "column": 55, + "line": 287 }, "start": { - "column": 93, - "line": 259 + "column": 40, + "line": 287 } } }, { - "id": "1711", + "id": "1760", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "97", - "98" + "108", + "109" ], "location": { "end": { "column": 6, - "line": 261 + "line": 289 }, "start": { - "column": 134, - "line": 259 + "column": 127, + "line": 287 } } }, { - "id": "1712", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1387:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1761", + "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/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:706:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 3, "static": false, "killedBy": [ - "102" + "566" ], "coveredBy": [ - "100", - "101", - "102", - "103", - "104", - "556", - "557" + "110", + "111", + "566" ], "location": { "end": { - "column": 4, - "line": 276 + "column": 56, + "line": 290 }, "start": { - "column": 162, - "line": 264 + "column": 9, + "line": 290 } } }, { - "id": "1713", + "id": "1762", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(275,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(276,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", - "status": "CompileError", + "replacement": "false", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "100", - "101", - "102", - "103", - "104", - "556", - "557" + "110", + "111", + "566" ], "location": { "end": { - "column": 62, - "line": 265 + "column": 56, + "line": 290 }, "start": { "column": 9, - "line": 265 + "line": 290 } } }, { - "id": "1714", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(275,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(276,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", - "status": "CompileError", + "id": "1763", + "mutatorName": "MethodExpression", + "replacement": "playVotes.every(({\n target\n}) => !target.isAlive)", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "100", - "101", - "102", - "103", - "104", - "556", - "557" + "110", + "111", + "566" ], "location": { "end": { - "column": 62, - "line": 265 + "column": 56, + "line": 290 }, "start": { "column": 9, - "line": 265 + "line": 290 } } }, { - "id": "1715", - "mutatorName": "LogicalOperator", - "replacement": "playTargets === undefined && playTargets.length === 0", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(266,38): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(276,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", - "status": "CompileError", + "id": "1764", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "100", - "101", - "102", - "103", - "104", - "556", - "557" + "110", + "111", + "566" ], "location": { "end": { - "column": 62, - "line": 265 + "column": 55, + "line": 290 }, "start": { - "column": 9, - "line": 265 + "column": 24, + "line": 290 } } }, { - "id": "1716", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(266,18): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(276,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", - "status": "CompileError", + "id": "1765", + "mutatorName": "BooleanLiteral", + "replacement": "target.isAlive", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "100", - "101", - "102", - "103", - "104", - "556", - "557" + "110", + "111", + "566" ], "location": { "end": { - "column": 34, - "line": 265 + "column": 55, + "line": 290 }, "start": { - "column": 9, - "line": 265 + "column": 40, + "line": 290 } } }, { - "id": "1717", - "mutatorName": "EqualityOperator", - "replacement": "playTargets !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(266,38): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(275,48): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(276,46): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n", - "status": "CompileError", + "id": "1766", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "100", - "101", - "102", - "103", - "104", - "556", - "557" + "110" ], "location": { "end": { - "column": 34, - "line": 265 + "column": 6, + "line": 292 }, "start": { - "column": 9, - "line": 265 + "column": 58, + "line": 290 } } }, { - "id": "1718", + "id": "1767", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1379:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:706:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 2, "static": false, "killedBy": [ - "101" + "566" ], "coveredBy": [ - "101", - "102", - "103", - "104", - "557" + "111", + "566" ], "location": { "end": { - "column": 62, - "line": 265 + "column": 74, + "line": 293 }, "start": { - "column": 38, - "line": 265 + "column": 9, + "line": 293 } } }, { - "id": "1719", - "mutatorName": "EqualityOperator", - "replacement": "playTargets.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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1379:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1768", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1544:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "101" + "111" ], "coveredBy": [ - "101", - "102", - "103", - "104", - "557" + "111", + "566" ], "location": { "end": { - "column": 62, - "line": 265 + "column": 74, + "line": 293 }, "start": { - "column": 38, - "line": 265 + "column": 9, + "line": 293 } } }, { - "id": "1720", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(270,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(271,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", - "status": "CompileError", + "id": "1769", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1544:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "111" + ], "coveredBy": [ - "100", - "101", - "102", - "556" + "111", + "566" ], "location": { "end": { - "column": 6, - "line": 270 + "column": 74, + "line": 293 }, "start": { - "column": 64, - "line": 265 + "column": 9, + "line": 293 } } }, { - "id": "1721", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1371:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1770", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1544:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ - "100" + "111" ], "coveredBy": [ - "100", - "101", - "102", - "556" + "111", + "566" ], "location": { "end": { - "column": 67, - "line": 266 + "column": 73, + "line": 293 }, "start": { - "column": 11, - "line": 266 + "column": 24, + "line": 293 } } }, { - "id": "1722", + "id": "1771", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1387:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:706:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 2, "static": false, "killedBy": [ - "102" + "566" ], "coveredBy": [ - "100", - "101", - "102", - "556" + "111", + "566" ], "location": { "end": { - "column": 67, - "line": 266 + "column": 73, + "line": 293 }, "start": { - "column": 11, - "line": 266 + "column": 48, + "line": 293 } } }, { - "id": "1723", - "mutatorName": "BlockStatement", - "replacement": "{}", - "status": "Timeout", + "id": "1772", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1544:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "111" + ], "coveredBy": [ - "102" + "111", + "566" ], "location": { "end": { - "column": 8, - "line": 268 + "column": 73, + "line": 293 }, "start": { - "column": 69, - "line": 266 + "column": 48, + "line": 293 } } }, { - "id": "1724", - "mutatorName": "BooleanLiteral", - "replacement": "[...requiredTargetsActions, ...optionalTargetsActions].includes(game.currentPlay.action)", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1395:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1773", + "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/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:706:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 2, "static": false, "killedBy": [ - "103" + "566" ], "coveredBy": [ - "103", - "104", - "557" + "111", + "566" ], "location": { "end": { - "column": 98, - "line": 271 + "column": 73, + "line": 293 }, "start": { - "column": 9, - "line": 271 + "column": 48, + "line": 293 } } }, { - "id": "1725", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(275,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(276,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", - "status": "CompileError", + "id": "1774", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1544:139)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "111" + ], "coveredBy": [ - "103", - "104", - "557" + "111" ], "location": { "end": { - "column": 98, - "line": 271 + "column": 6, + "line": 295 }, "start": { - "column": 9, - "line": 271 + "column": 76, + "line": 293 } } }, { - "id": "1726", - "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1395:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1775", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:667:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 6, "static": false, "killedBy": [ - "103" + "565" ], "coveredBy": [ - "103", - "104", - "557" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 98, - "line": 271 + "column": 4, + "line": 307 }, "start": { - "column": 9, - "line": 271 + "column": 87, + "line": 298 } } }, { - "id": "1727", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(272,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": "1776", + "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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1572:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "113" + ], "coveredBy": [ - "103", - "104", - "557" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 64, - "line": 271 + "column": 151, + "line": 301 }, "start": { - "column": 10, - "line": 271 + "column": 51, + "line": 301 } } }, { - "id": "1728", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1395:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1777", + "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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1613:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 7, "static": false, "killedBy": [ - "103" + "116" ], "coveredBy": [ - "103" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 6, - "line": 273 + "column": 151, + "line": 301 }, "start": { - "column": 100, - "line": 271 + "column": 51, + "line": 301 } } }, { - "id": "1729", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1778", + "mutatorName": "LogicalOperator", + "replacement": "currentPlayAction === GAME_PLAY_ACTIONS.VOTE || currentPlayCause === GAME_PLAY_CAUSES.ANGEL_PRESENCE", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1573:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "105" + "113" ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 4, - "line": 284 + "column": 151, + "line": 301 }, "start": { - "column": 139, - "line": 278 + "column": 51, + "line": 301 } } }, { - "id": "1730", - "mutatorName": "LogicalOperator", - "replacement": "lastTieInVotesRecord?.play.voting?.nominatedPlayers && []", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(282,33): error TS18048: 'lastTieInVotesRecordNominatedPlayers' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(282,112): error TS2339: Property '_id' does not exist on type 'never'.\n", - "status": "CompileError", + "id": "1779", + "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/sandbox9649522/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:747:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 7, "static": false, - "killedBy": [], + "killedBy": [ + "567" + ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 107, - "line": 280 + "column": 95, + "line": 301 }, "start": { - "column": 50, - "line": 280 + "column": 51, + "line": 301 } } }, { - "id": "1731", - "mutatorName": "OptionalChaining", - "replacement": "lastTieInVotesRecord?.play.voting.nominatedPlayers", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(281,50): error TS18048: 'lastTieInVotesRecord.play.voting' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1780", + "mutatorName": "EqualityOperator", + "replacement": "currentPlayAction !== GAME_PLAY_ACTIONS.VOTE", + "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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1613:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 101, - "line": 280 + "column": 95, + "line": 301 }, "start": { - "column": 50, - "line": 280 + "column": 51, + "line": 301 } } }, { - "id": "1732", - "mutatorName": "OptionalChaining", - "replacement": "lastTieInVotesRecord.play", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(281,50): error TS18047: 'lastTieInVotesRecord' is possibly 'null'.\n", - "status": "CompileError", + "id": "1781", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1573:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "113" + ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "116", + "565" ], "location": { "end": { - "column": 76, - "line": 280 + "column": 151, + "line": 301 }, "start": { - "column": 50, - "line": 280 + "column": 99, + "line": 301 } } }, { - "id": "1733", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(282,70): error TS2349: This expression is not callable.\n Each member of the union type '{ (predicate: (value: Player, index: number, obj: Player[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: Player, index: number, obj: Player[]) => unknown, thisArg?: any): Player | undefined; } | { ...; }' has signatures, but none of those signatures are compatible with each other.\n", - "status": "CompileError", + "id": "1782", + "mutatorName": "EqualityOperator", + "replacement": "currentPlayCause !== GAME_PLAY_CAUSES.ANGEL_PRESENCE", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1573:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "113" + ], "coveredBy": [ - "105" + "112", + "113", + "114", + "116", + "565" ], "location": { "end": { - "column": 107, - "line": 280 + "column": 151, + "line": 301 }, "start": { - "column": 105, - "line": 280 + "column": 99, + "line": 301 } } }, { - "id": "1734", + "id": "1783", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1453:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1573:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "107" + "113" ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 117, - "line": 281 + "column": 135, + "line": 302 }, "start": { - "column": 9, - "line": 281 + "column": 41, + "line": 302 } } }, { - "id": "1735", + "id": "1784", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1599:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 7, "static": false, "killedBy": [ - "105" + "115" ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 117, - "line": 281 + "column": 135, + "line": 302 }, "start": { - "column": 9, - "line": 281 + "column": 41, + "line": 302 } } }, { - "id": "1736", - "mutatorName": "MethodExpression", - "replacement": "playVotes.every(vote => !lastTieInVotesRecordNominatedPlayers.find(player => vote.target._id === player._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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1437:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1785", + "mutatorName": "LogicalOperator", + "replacement": "currentPlayAction === GAME_PLAY_ACTIONS.ELECT_SHERIFF && isCurrentPlayVoteCauseOfAngelPresence", + "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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1599:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 7, "static": false, "killedBy": [ - "106" + "115" ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 117, - "line": 281 + "column": 135, + "line": 302 }, "start": { - "column": 9, - "line": 281 + "column": 41, + "line": 302 } } }, { - "id": "1737", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1599:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 7, "static": false, "killedBy": [ - "105" + "115" ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 116, - "line": 281 + "column": 94, + "line": 302 }, "start": { - "column": 24, - "line": 281 + "column": 41, + "line": 302 } } }, { - "id": "1738", - "mutatorName": "BooleanLiteral", - "replacement": "lastTieInVotesRecordNominatedPlayers.find(player => vote.target._id === player._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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1787", + "mutatorName": "EqualityOperator", + "replacement": "currentPlayAction !== GAME_PLAY_ACTIONS.ELECT_SHERIFF", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1573:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "105" + "113" ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 116, - "line": 281 + "column": 94, + "line": 302 }, "start": { - "column": 32, - "line": 281 + "column": 41, + "line": 302 } } }, { - "id": "1739", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1453:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1788", + "mutatorName": "MethodExpression", + "replacement": "game.players.every(player => player.isAlive && !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE))", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:667:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 6, "static": false, "killedBy": [ - "107" + "565" ], "coveredBy": [ - "105", - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 115, - "line": 281 + "column": 144, + "line": 303 }, "start": { - "column": 75, - "line": 281 + "column": 31, + "line": 303 } } }, { - "id": "1740", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1437:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1789", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:667:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 6, "static": false, "killedBy": [ - "106" + "565" ], "coveredBy": [ - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 115, - "line": 281 + "column": 143, + "line": 303 }, "start": { - "column": 85, - "line": 281 + "column": 49, + "line": 303 } } }, { - "id": "1741", + "id": "1790", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1453:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1559:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 7, "static": false, "killedBy": [ - "107" + "112" ], "coveredBy": [ - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 115, - "line": 281 + "column": 143, + "line": 303 }, "start": { - "column": 85, - "line": 281 + "column": 59, + "line": 303 } } }, { - "id": "1742", - "mutatorName": "EqualityOperator", - "replacement": "vote.target._id !== player._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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1437:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1791", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1586:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "106" + "114" ], "coveredBy": [ - "106", - "107" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 115, - "line": 281 + "column": 143, + "line": 303 }, "start": { - "column": 85, - "line": 281 + "column": 59, + "line": 303 } } }, { - "id": "1743", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1420:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1792", + "mutatorName": "LogicalOperator", + "replacement": "player.isAlive || !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE)", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1560:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "105" + "112" ], "coveredBy": [ - "105", - "106" + "112", + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 6, - "line": 283 + "column": 143, + "line": 303 }, "start": { - "column": 119, - "line": 281 + "column": 59, + "line": 303 } } }, { - "id": "1744", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1481:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1793", + "mutatorName": "BooleanLiteral", + "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE)", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1559:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 7, "static": false, "killedBy": [ - "110" + "112" ], "coveredBy": [ - "108", - "109", - "110", - "111", "112", "113", "114", - "555", - "556", - "557" + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 4, - "line": 302 + "column": 143, + "line": 303 }, "start": { - "column": 156, - "line": 286 + "column": 77, + "line": 303 } } }, { - "id": "1745", + "id": "1794", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(297,9): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(301,66): 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", - "status": "CompileError", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1559:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "112" + ], "coveredBy": [ - "108", - "109", - "110", - "111", "112", "113", "114", - "555", - "556", - "557" + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 58, - "line": 287 + "column": 154, + "line": 304 }, "start": { "column": 9, - "line": 287 + "line": 304 } } }, { - "id": "1746", + "id": "1795", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(297,9): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(301,66): 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", - "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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1585:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "114" + ], "coveredBy": [ - "108", - "109", - "110", - "111", "112", "113", "114", - "555", - "556", - "557" + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 58, - "line": 287 + "column": 154, + "line": 304 }, "start": { "column": 9, - "line": 287 + "line": 304 } } }, { - "id": "1747", + "id": "1796", "mutatorName": "LogicalOperator", - "replacement": "playVotes === undefined && playVotes.length === 0", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(288,36): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(297,9): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(301,66): 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", - "status": "CompileError", + "replacement": "canSomePlayerVote || !canVotesBeSkipped && requiredVotesActions.includes(currentPlayAction) || canVotesBeSkipped && isCurrentPlayVoteInevitable", + "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/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:747:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "567" + ], "coveredBy": [ - "108", - "109", - "110", - "111", "112", "113", "114", - "555", - "556", - "557" + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 58, - "line": 287 + "column": 154, + "line": 304 }, "start": { "column": 9, - "line": 287 + "line": 304 } } }, { - "id": "1748", + "id": "1797", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(288,18): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(297,9): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(301,66): 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", - "status": "CompileError", + "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/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:747:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "567" + ], "coveredBy": [ - "108", - "109", - "110", - "111", - "112", "113", "114", - "555", - "556", - "557" + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 32, - "line": 287 + "column": 153, + "line": 304 }, "start": { - "column": 9, - "line": 287 + "column": 31, + "line": 304 } } }, { - "id": "1749", - "mutatorName": "EqualityOperator", - "replacement": "playVotes !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(288,36): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(297,9): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(301,66): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", - "status": "CompileError", + "id": "1798", + "mutatorName": "LogicalOperator", + "replacement": "!canVotesBeSkipped && requiredVotesActions.includes(currentPlayAction) && canVotesBeSkipped && isCurrentPlayVoteInevitable", + "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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1585:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "114" + ], "coveredBy": [ - "108", - "109", - "110", - "111", - "112", "113", "114", - "555", - "556", - "557" + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 32, - "line": 287 + "column": 153, + "line": 304 }, "start": { - "column": 9, - "line": 287 + "column": 31, + "line": 304 } } }, { - "id": "1750", + "id": "1799", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1475:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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: 400\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:667:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 5, "static": false, "killedBy": [ - "109" + "565" ], "coveredBy": [ - "109", - "110", - "111", - "112", "113", "114", - "556" + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 58, - "line": 287 + "column": 101, + "line": 304 }, "start": { - "column": 36, - "line": 287 + "column": 31, + "line": 304 } } }, { - "id": "1751", - "mutatorName": "EqualityOperator", - "replacement": "playVotes.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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1475:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1800", + "mutatorName": "LogicalOperator", + "replacement": "!canVotesBeSkipped || requiredVotesActions.includes(currentPlayAction)", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1573:104)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "109" + "113" ], "coveredBy": [ - "109", - "110", - "111", - "112", "113", "114", - "556" + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 58, - "line": 287 + "column": 101, + "line": 304 }, "start": { - "column": 36, - "line": 287 + "column": 31, + "line": 304 } } }, { - "id": "1752", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(292,9): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(296,66): 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", - "status": "CompileError", + "id": "1801", + "mutatorName": "BooleanLiteral", + "replacement": "canVotesBeSkipped", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:667:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "565" + ], "coveredBy": [ - "108", - "109", - "110", - "555", - "557" + "113", + "114", + "115", + "116", + "565", + "567" ], "location": { "end": { - "column": 6, - "line": 292 + "column": 49, + "line": 304 }, "start": { - "column": 60, - "line": 287 + "column": 31, + "line": 304 } } }, { - "id": "1753", + "id": "1802", "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/sandbox1537359/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1469:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:747:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "108" + "567" ], "coveredBy": [ - "108", - "109", - "110", - "555", - "557" + "113", + "115", + "116", + "567" ], "location": { "end": { - "column": 65, - "line": 288 + "column": 153, + "line": 304 }, "start": { - "column": 11, - "line": 288 + "column": 105, + "line": 304 } } }, { - "id": "1754", - "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:650:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1803", + "mutatorName": "LogicalOperator", + "replacement": "canVotesBeSkipped || isCurrentPlayVoteInevitable", + "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/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:747:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "555" + "567" ], "coveredBy": [ - "108", - "109", - "110", - "555", - "557" + "113", + "115", + "116", + "567" ], "location": { "end": { - "column": 65, - "line": 288 + "column": 153, + "line": 304 }, "start": { - "column": 11, - "line": 288 + "column": 105, + "line": 304 } } }, { - "id": "1755", + "id": "1804", "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\": \"`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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:650: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/sandbox9649522/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1585:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "555" + "114" ], "coveredBy": [ - "110", - "555" + "114", + "115", + "116", + "565" ], "location": { "end": { - "column": 8, - "line": 290 + "column": 6, + "line": 306 }, "start": { - "column": 67, - "line": 288 + "column": 156, + "line": 304 } } }, { - "id": "1756", - "mutatorName": "BooleanLiteral", - "replacement": "requiredVotesActions.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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "id": "1805", + "mutatorName": "BlockStatement", + "replacement": "{}", + "status": "Timeout", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "111", - "112", - "113", - "114", - "556" + "117", + "118", + "119", + "120", + "121", + "122", + "565", + "566", + "567" ], "location": { "end": { - "column": 64, - "line": 293 + "column": 4, + "line": 321 }, "start": { - "column": 9, - "line": 293 + "column": 156, + "line": 309 } } }, { - "id": "1757", + "id": "1806", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(297,9): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(301,66): 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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(317,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(319,66): 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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "111", - "112", - "113", - "114", - "556" + "117", + "118", + "119", + "120", + "121", + "122", + "565", + "566", + "567" ], "location": { "end": { - "column": 64, - "line": 293 + "column": 45, + "line": 310 }, "start": { "column": 9, - "line": 293 + "line": 310 } } }, { - "id": "1758", + "id": "1807", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1489:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(317,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(319,66): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "111" - ], + "killedBy": [], "coveredBy": [ - "111", - "112", - "113", - "114", - "556" + "117", + "118", + "119", + "120", + "121", + "122", + "565", + "566", + "567" ], "location": { "end": { - "column": 64, - "line": 293 + "column": 45, + "line": 310 }, "start": { "column": 9, - "line": 293 + "line": 310 } } }, { - "id": "1759", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1489:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1808", + "mutatorName": "LogicalOperator", + "replacement": "!playVotes && playVotes.length === 0", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(310,23): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(317,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(319,66): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "111" - ], + "killedBy": [], "coveredBy": [ - "111" + "117", + "118", + "119", + "120", + "121", + "122", + "565", + "566", + "567" ], "location": { "end": { - "column": 6, - "line": 295 + "column": 45, + "line": 310 }, "start": { - "column": 66, - "line": 293 + "column": 9, + "line": 310 } } }, { - "id": "1760", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(301,66): 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", + "id": "1809", + "mutatorName": "BooleanLiteral", + "replacement": "playVotes", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(310,22): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(317,63): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(319,66): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "112", - "113", - "114", - "556" + "117", + "118", + "119", + "120", + "121", + "122", + "565", + "566", + "567" ], "location": { "end": { - "column": 74, - "line": 296 + "column": 19, + "line": 310 }, "start": { "column": 9, - "line": 296 + "line": 310 } } }, { - "id": "1761", + "id": "1810", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1500:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "112" - ], + "killedBy": [], "coveredBy": [ - "112", - "113", - "114", - "556" + "119", + "120", + "121", + "122", + "566" ], "location": { "end": { - "column": 74, - "line": 296 + "column": 45, + "line": 310 }, "start": { - "column": 9, - "line": 296 + "column": 23, + "line": 310 } } }, { - "id": "1762", - "mutatorName": "MethodExpression", - "replacement": "playVotes.every(({\n source,\n target\n}) => source._id === target._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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1500:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "1811", + "mutatorName": "EqualityOperator", + "replacement": "playVotes.length !== 0", + "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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1637: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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1605: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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:33:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1430: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": [ - "112" + "119" ], "coveredBy": [ - "112", - "113", - "114", - "556" + "119", + "120", + "121", + "122", + "566" ], "location": { "end": { - "column": 74, - "line": 296 + "column": 45, + "line": 310 }, "start": { - "column": 9, - "line": 296 + "column": 23, + "line": 310 } } }, { - "id": "1763", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1500:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1812", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(314,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(316,66): 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", + "status": "CompileError", "static": false, - "killedBy": [ - "112" - ], + "killedBy": [], "coveredBy": [ - "112", - "113", - "114", - "556" + "117", + "118", + "119", + "565", + "567" ], "location": { "end": { - "column": 73, - "line": 296 + "column": 6, + "line": 313 }, "start": { - "column": 24, - "line": 296 + "column": 47, + "line": 310 } } }, { - "id": "1764", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1508:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "1813", + "mutatorName": "BooleanLiteral", + "replacement": "requiredVotesActions.includes(game.currentPlay.action)", + "status": "Timeout", "static": false, - "killedBy": [ - "113" - ], + "killedBy": [], "coveredBy": [ - "112", - "113", - "114", - "556" + "120", + "121", + "122", + "566" ], "location": { "end": { - "column": 73, - "line": 296 + "column": 64, + "line": 314 }, "start": { - "column": 48, - "line": 296 + "column": 9, + "line": 314 } } }, { - "id": "1765", + "id": "1814", "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(317,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(319,66): 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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "112", - "113", - "114", - "556" + "120", + "121", + "122", + "566" ], "location": { "end": { - "column": 73, - "line": 296 + "column": 64, + "line": 314 }, "start": { - "column": 48, - "line": 296 + "column": 9, + "line": 314 } } }, { - "id": "1766", - "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 4, + "id": "1815", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", "static": false, - "killedBy": [ - "556" - ], + "killedBy": [], "coveredBy": [ - "112", - "113", - "114", - "556" + "120", + "121", + "122", + "566" ], "location": { "end": { - "column": 73, - "line": 296 + "column": 64, + "line": 314 }, "start": { - "column": 48, - "line": 296 + "column": 9, + "line": 314 } } }, { - "id": "1767", + "id": "1816", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1500:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "112" - ], + "killedBy": [], "coveredBy": [ - "112" + "120" ], "location": { "end": { "column": 6, - "line": 298 + "line": 316 }, "start": { - "column": 76, - "line": 296 + "column": 66, + "line": 314 } } }, { - "id": "1768", + "id": "1817", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -59506,26 +60986,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "113", - "114", - "556" + "121", + "122", + "566" ], "location": { "end": { "column": 80, - "line": 299 + "line": 318 }, "start": { "column": 9, - "line": 299 + "line": 318 } } }, { - "id": "1769", + "id": "1818", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(301,66): 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", @@ -59533,46 +61013,46 @@ "static": false, "killedBy": [], "coveredBy": [ - "113", - "114", - "556" + "121", + "122", + "566" ], "location": { "end": { "column": 80, - "line": 299 + "line": 318 }, "start": { "column": 9, - "line": 299 + "line": 318 } } }, { - "id": "1770", + "id": "1819", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.cause !== GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "113", - "114", - "556" + "121", + "122", + "566" ], "location": { "end": { "column": 80, - "line": 299 + "line": 318 }, "start": { "column": 9, - "line": 299 + "line": 318 } } }, { - "id": "1771", + "id": "1820", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1509:99)", @@ -59580,24 +61060,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "113" + "121" ], "coveredBy": [ - "113" + "121" ], "location": { "end": { "column": 6, - "line": 301 + "line": 320 }, "start": { "column": 82, - "line": 299 + "line": 318 } } }, { - "id": "1772", + "id": "1821", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1525:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59605,30 +61085,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "115" + "123" ], "coveredBy": [ - "115", - "116", - "117", - "118", - "555", - "556", - "557" + "123", + "124", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 4, - "line": 311 + "line": 330 }, "start": { "column": 133, - "line": 304 + "line": 323 } } }, { - "id": "1773", + "id": "1822", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1526:43)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59636,30 +61116,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "115" + "123" ], "coveredBy": [ - "115", - "116", - "117", - "118", - "555", - "556", - "557" + "123", + "124", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 94, - "line": 305 + "line": 324 }, "start": { "column": 9, - "line": 305 + "line": 324 } } }, { - "id": "1774", + "id": "1823", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1533:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59667,61 +61147,61 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "116" + "124" ], "coveredBy": [ - "115", - "116", - "117", - "118", - "555", - "556", - "557" + "123", + "124", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 94, - "line": 305 + "line": 324 }, "start": { "column": 9, - "line": 305 + "line": 324 } } }, { - "id": "1775", + "id": "1824", "mutatorName": "LogicalOperator", "replacement": "chosenSide !== undefined || game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` 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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:650:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1689:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "555" + "125" ], "coveredBy": [ - "115", - "116", - "117", - "118", - "555", - "556", - "557" + "123", + "124", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 94, - "line": 305 + "line": 324 }, "start": { "column": 9, - "line": 305 + "line": 324 } } }, { - "id": "1776", + "id": "1825", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1541:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59729,30 +61209,30 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "117" + "125" ], "coveredBy": [ - "115", - "116", - "117", - "118", - "555", - "556", - "557" + "123", + "124", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 33, - "line": 305 + "line": 324 }, "start": { "column": 9, - "line": 305 + "line": 324 } } }, { - "id": "1777", + "id": "1826", "mutatorName": "EqualityOperator", "replacement": "chosenSide === 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1533:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59760,52 +61240,52 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "116" + "124" ], "coveredBy": [ - "115", - "116", - "117", - "118", - "555", - "556", - "557" + "123", + "124", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 33, - "line": 305 + "line": 324 }, "start": { "column": 9, - "line": 305 + "line": 324 } } }, { - "id": "1778", + "id": "1827", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "116", - "118" + "124", + "126" ], "location": { "end": { "column": 94, - "line": 305 + "line": 324 }, "start": { "column": 37, - "line": 305 + "line": 324 } } }, { - "id": "1779", + "id": "1828", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1533:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59813,25 +61293,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "116" + "124" ], "coveredBy": [ - "116", - "118" + "124", + "126" ], "location": { "end": { "column": 94, - "line": 305 + "line": 324 }, "start": { "column": 37, - "line": 305 + "line": 324 } } }, { - "id": "1780", + "id": "1829", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1533:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59839,54 +61319,54 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "116" + "124" ], "coveredBy": [ - "116" + "124" ], "location": { "end": { "column": 6, - "line": 307 + "line": 326 }, "start": { "column": 96, - "line": 305 + "line": 324 } } }, { - "id": "1781", + "id": "1830", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:650:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1689:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "555" + "125" ], "coveredBy": [ - "115", - "117", - "118", - "555", - "556", - "557" + "123", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 94, - "line": 308 + "line": 327 }, "start": { "column": 9, - "line": 308 + "line": 327 } } }, { - "id": "1782", + "id": "1831", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1525:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59894,59 +61374,59 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "115" + "123" ], "coveredBy": [ - "115", - "117", - "118", - "555", - "556", - "557" + "123", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 94, - "line": 308 + "line": 327 }, "start": { "column": 9, - "line": 308 + "line": 327 } } }, { - "id": "1783", + "id": "1832", "mutatorName": "LogicalOperator", "replacement": "chosenSide === undefined || game.currentPlay.action === GAME_PLAY_ACTIONS.CHOOSE_SIDE", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:650:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).not.toThrow()\n\nError message: \"\"\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1689:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "555" + "125" ], "coveredBy": [ - "115", - "117", - "118", - "555", - "556", - "557" + "123", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 94, - "line": 308 + "line": 327 }, "start": { "column": 9, - "line": 308 + "line": 327 } } }, { - "id": "1784", + "id": "1833", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1548:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59954,29 +61434,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "118" + "126" ], "coveredBy": [ - "115", - "117", - "118", - "555", - "556", - "557" + "123", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 33, - "line": 308 + "line": 327 }, "start": { "column": 9, - "line": 308 + "line": 327 } } }, { - "id": "1785", + "id": "1834", "mutatorName": "EqualityOperator", "replacement": "chosenSide !== 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1525:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -59984,29 +61464,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "115" + "123" ], "coveredBy": [ - "115", - "117", - "118", - "555", - "556", - "557" + "123", + "125", + "126", + "565", + "566", + "567" ], "location": { "end": { "column": 33, - "line": 308 + "line": 327 }, "start": { "column": 9, - "line": 308 + "line": 327 } } }, { - "id": "1786", + "id": "1835", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1541:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60014,57 +61494,57 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "117" + "125" ], "coveredBy": [ - "115", - "117", - "555", - "556", - "557" + "123", + "125", + "565", + "566", + "567" ], "location": { "end": { "column": 94, - "line": 308 + "line": 327 }, "start": { "column": 37, - "line": 308 + "line": 327 } } }, { - "id": "1787", + "id": "1836", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:650: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/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1673:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "555" + "123" ], "coveredBy": [ - "115", - "117", - "555", - "556", - "557" + "123", + "125", + "565", + "566", + "567" ], "location": { "end": { "column": 94, - "line": 308 + "line": 327 }, "start": { "column": 37, - "line": 308 + "line": 327 } } }, { - "id": "1788", + "id": "1837", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1525:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60072,24 +61552,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "115" + "123" ], "coveredBy": [ - "115" + "123" ], "location": { "end": { "column": 6, - "line": 310 + "line": 329 }, "start": { "column": 96, - "line": 308 + "line": 327 } } }, { - "id": "1789", + "id": "1838", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1564:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60097,62 +61577,62 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "120" + "128" ], "coveredBy": [ - "119", - "120", - "121", - "122", - "123", - "124", - "555", - "556", - "557" + "127", + "128", + "129", + "130", + "131", + "132", + "565", + "566", + "567" ], "location": { "end": { "column": 4, - "line": 325 + "line": 344 }, "start": { "column": 167, - "line": 313 + "line": 332 } } }, { - "id": "1790", + "id": "1839", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(322,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", + "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(340,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": [], "coveredBy": [ - "119", - "120", - "121", - "122", - "123", - "124", - "555", - "556", - "557" + "127", + "128", + "129", + "130", + "131", + "132", + "565", + "566", + "567" ], "location": { "end": { "column": 50, - "line": 314 + "line": 333 }, "start": { "column": 9, - "line": 314 + "line": 333 } } }, { - "id": "1791", + "id": "1840", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1557:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60160,32 +61640,32 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "119" + "127" ], "coveredBy": [ - "119", - "120", - "121", - "122", - "123", - "124", - "555", - "556", - "557" + "127", + "128", + "129", + "130", + "131", + "132", + "565", + "566", + "567" ], "location": { "end": { "column": 50, - "line": 314 + "line": 333 }, "start": { "column": 9, - "line": 314 + "line": 333 } } }, { - "id": "1792", + "id": "1841", "mutatorName": "EqualityOperator", "replacement": "doesJudgeRequestAnotherVote !== 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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1557:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60193,32 +61673,32 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "119" + "127" ], "coveredBy": [ - "119", - "120", - "121", - "122", - "123", - "124", - "555", - "556", - "557" + "127", + "128", + "129", + "130", + "131", + "132", + "565", + "566", + "567" ], "location": { "end": { "column": 50, - "line": 314 + "line": 333 }, "start": { "column": 9, - "line": 314 + "line": 333 } } }, { - "id": "1793", + "id": "1842", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1557:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60226,52 +61706,52 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "119" + "127" ], "coveredBy": [ - "119", - "555", - "556", - "557" + "127", + "565", + "566", + "567" ], "location": { "end": { "column": 6, - "line": 316 + "line": 335 }, "start": { "column": 52, - "line": 314 + "line": 333 } } }, { - "id": "1794", + "id": "1843", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "128", + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 67, - "line": 322 + "line": 341 }, "start": { "column": 9, - "line": 320 + "line": 339 } } }, { - "id": "1795", + "id": "1844", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1564:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60279,28 +61759,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "120" + "128" ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "128", + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 67, - "line": 322 + "line": 341 }, "start": { "column": 9, - "line": 320 + "line": 339 } } }, { - "id": "1796", + "id": "1845", "mutatorName": "LogicalOperator", "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !stutteringJudgePlayer || !isPlayerAliveAndPowerful(stutteringJudgePlayer)) && gameHistoryJudgeRequestRecords.length >= voteRequestsCount", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1565:43)", @@ -60308,28 +61788,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "120" + "128" ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "128", + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 67, - "line": 322 + "line": 341 }, "start": { "column": 9, - "line": 320 + "line": 339 } } }, { - "id": "1797", + "id": "1846", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1565:43)", @@ -60337,28 +61817,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "120" + "128" ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "128", + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 83, - "line": 321 + "line": 340 }, "start": { "column": 9, - "line": 320 + "line": 339 } } }, { - "id": "1798", + "id": "1847", "mutatorName": "LogicalOperator", "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !stutteringJudgePlayer) && !isPlayerAliveAndPowerful(stutteringJudgePlayer)", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(321,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", @@ -60366,25 +61846,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "128", + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 83, - "line": 321 + "line": 340 }, "start": { "column": 9, - "line": 320 + "line": 339 } } }, { - "id": "1799", + "id": "1848", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(321,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", @@ -60392,25 +61872,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "128", + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 31, - "line": 321 + "line": 340 }, "start": { "column": 9, - "line": 320 + "line": 339 } } }, { - "id": "1800", + "id": "1849", "mutatorName": "LogicalOperator", "replacement": "!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) && !stutteringJudgePlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(321,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", @@ -60418,25 +61898,25 @@ "static": false, "killedBy": [], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "128", + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 31, - "line": 321 + "line": 340 }, "start": { "column": 9, - "line": 320 + "line": 339 } } }, { - "id": "1801", + "id": "1850", "mutatorName": "BooleanLiteral", "replacement": "stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action)", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1627:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60444,28 +61924,28 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "124" + "132" ], "coveredBy": [ - "120", - "121", - "122", - "123", - "124" + "128", + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 84, - "line": 320 + "line": 339 }, "start": { "column": 9, - "line": 320 + "line": 339 } } }, { - "id": "1802", + "id": "1851", "mutatorName": "BooleanLiteral", "replacement": "stutteringJudgePlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(322,60): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -60473,24 +61953,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "121", - "122", - "123", - "124" + "129", + "130", + "131", + "132" ], "location": { "end": { "column": 31, - "line": 321 + "line": 340 }, "start": { "column": 9, - "line": 321 + "line": 340 } } }, { - "id": "1803", + "id": "1852", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1593:43)", @@ -60498,26 +61978,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "122" + "130" ], "coveredBy": [ - "122", - "123", - "124" + "130", + "131", + "132" ], "location": { "end": { "column": 83, - "line": 321 + "line": 340 }, "start": { "column": 35, - "line": 321 + "line": 340 } } }, { - "id": "1804", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1611:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60525,25 +62005,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "123" + "131" ], "coveredBy": [ - "123", - "124" + "131", + "132" ], "location": { "end": { "column": 67, - "line": 322 + "line": 341 }, "start": { "column": 9, - "line": 322 + "line": 341 } } }, { - "id": "1805", + "id": "1854", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1611:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60551,25 +62031,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "123" + "131" ], "coveredBy": [ - "123", - "124" + "131", + "132" ], "location": { "end": { "column": 67, - "line": 322 + "line": 341 }, "start": { "column": 9, - "line": 322 + "line": 341 } } }, { - "id": "1806", + "id": "1855", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1611:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60577,25 +62057,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "123" + "131" ], "coveredBy": [ - "123", - "124" + "131", + "132" ], "location": { "end": { "column": 67, - "line": 322 + "line": 341 }, "start": { "column": 9, - "line": 322 + "line": 341 } } }, { - "id": "1807", + "id": "1856", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1564:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60603,33 +62083,33 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "120" + "128" ], "coveredBy": [ - "120", - "121", - "122", - "123" + "128", + "129", + "130", + "131" ], "location": { "end": { "column": 6, - "line": 324 + "line": 343 }, "start": { "column": 69, - "line": 322 + "line": 341 } } } ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep } from \"lodash\";\nimport { BAD_GAME_PLAY_PAYLOAD_REASONS } from \"../../../../../shared/exception/enums/bad-game-play-payload-error.enum\";\nimport { createNoCurrentGamePlayUnexpectedException } from \"../../../../../shared/exception/helpers/unexpected-exception.factory\";\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, GAME_PLAY_CAUSES, WITCH_POTIONS } from \"../../../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport { getLeftToCharmByPiedPiperPlayers, getLeftToEatByWerewolvesPlayers, getLeftToEatByWhiteWerewolfPlayers, getPlayerWithCurrentRole, getPlayerWithId } from \"../../../helpers/game.helper\";\nimport { doesPlayerHaveAttribute, isPlayerAliveAndPowerful } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { GameWithCurrentPlay } from \"../../../types/game-with-current-play\";\nimport type { GameSource } from \"../../../types/game.type\";\nimport { GameHistoryRecordService } from \"../game-history/game-history-record.service\";\n\n@Injectable()\nexport class GamePlayValidatorService {\n public constructor(private readonly gameHistoryRecordService: GameHistoryRecordService) {}\n\n public async validateGamePlayWithRelationsDto(play: MakeGamePlayWithRelationsDto, game: Game): Promise {\n if (!game.currentPlay) {\n throw createNoCurrentGamePlayUnexpectedException(\"validateGamePlayWithRelationsDto\", { gameId: game._id });\n }\n const clonedGameWithCurrentPlay = cloneDeep(game) as GameWithCurrentPlay;\n const { votes, targets } = play;\n await this.validateGamePlayWithRelationsDtoJudgeRequest(play, clonedGameWithCurrentPlay);\n this.validateGamePlayWithRelationsDtoChosenSide(play, clonedGameWithCurrentPlay);\n await this.validateGamePlayVotesWithRelationsDto(votes, clonedGameWithCurrentPlay);\n await this.validateGamePlayTargetsWithRelationsDto(targets, clonedGameWithCurrentPlay);\n this.validateGamePlayWithRelationsDtoChosenCard(play, clonedGameWithCurrentPlay);\n }\n\n private validateGamePlayWithRelationsDtoChosenCard({ chosenCard }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): 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 hasWitchUsedLifePotion = (await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.LIFE)).length > 0;\n const drankLifePotionTargets = playTargets.filter(({ drankPotion }) => drankPotion === WITCH_POTIONS.LIFE);\n const hasWitchUsedDeathPotion = (await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length > 0;\n const drankDeathPotionTargets = playTargets.filter(({ drankPotion }) => drankPotion === WITCH_POTIONS.DEATH);\n if (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 (!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: GameWithCurrentPlay): 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 async validateGamePlayWerewolvesTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: GameWithCurrentPlay): Promise {\n this.validateWerewolvesTargetsBoundaries(playTargets, game);\n if (!playTargets.length) {\n return;\n }\n const targetedPlayer = playTargets[0].player;\n const pureWolvesAvailableTargets = getLeftToEatByWerewolvesPlayers(game.players);\n if (game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES && !getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WEREWOLVES_TARGET);\n }\n if (game.currentPlay.source === ROLE_NAMES.BIG_BAD_WOLF && !getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_BIG_BAD_WOLF_TARGET);\n }\n const whiteWerewolfAvailableTargets = getLeftToEatByWhiteWerewolfPlayers(game.players);\n if (game.currentPlay.source === ROLE_NAMES.WHITE_WEREWOLF && !getPlayerWithId(whiteWerewolfAvailableTargets, targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WHITE_WEREWOLF_TARGET);\n }\n await this.validateGamePlayInfectedTargets(playTargets, game);\n }\n\n private validateGamePlayHunterTargets(playTargets: MakeGamePlayTargetWithRelationsDto[]): void {\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 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[]): void {\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[]): void {\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 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[]): void {\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 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 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 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: GameWithCurrentPlay): Promise {\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 lastTieInVotesRecordNominatedPlayers = lastTieInVotesRecord?.play.voting?.nominatedPlayers ?? [];\n const isSheriffTargetInLastNominatedPlayers = lastTieInVotesRecordNominatedPlayers.find(({ _id }) => _id === targetedPlayer._id);\n if (game.currentPlay.action === GAME_PLAY_ACTIONS.SETTLE_VOTES && !isSheriffTargetInLastNominatedPlayers) {\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 validateGamePlaySourceTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: GameWithCurrentPlay): Promise {\n const gamePlaySourceValidationMethods: Partial Promise | void>> = {\n [PLAYER_ATTRIBUTE_NAMES.SHERIFF]: async() => this.validateGamePlaySheriffTargets(playTargets, game),\n [PLAYER_GROUPS.WEREWOLVES]: async() => this.validateGamePlayWerewolvesTargets(playTargets, game),\n [ROLE_NAMES.BIG_BAD_WOLF]: async() => this.validateGamePlayWerewolvesTargets(playTargets, game),\n [ROLE_NAMES.WHITE_WEREWOLF]: async() => this.validateGamePlayWerewolvesTargets(playTargets, game),\n [ROLE_NAMES.GUARD]: async() => this.validateGamePlayGuardTargets(playTargets, game),\n [ROLE_NAMES.PIED_PIPER]: () => this.validateGamePlayPiedPiperTargets(playTargets, game),\n [ROLE_NAMES.WILD_CHILD]: () => this.validateGamePlayWildChildTargets(playTargets, game),\n [ROLE_NAMES.RAVEN]: () => this.validateGamePlayRavenTargets(playTargets),\n [ROLE_NAMES.SEER]: () => this.validateGamePlaySeerTargets(playTargets, game),\n [ROLE_NAMES.FOX]: () => this.validateGamePlayFoxTargets(playTargets),\n [ROLE_NAMES.CUPID]: () => this.validateGamePlayCupidTargets(playTargets),\n [ROLE_NAMES.SCAPEGOAT]: () => this.validateGamePlayScapegoatTargets(playTargets, game),\n [ROLE_NAMES.HUNTER]: () => this.validateGamePlayHunterTargets(playTargets),\n [ROLE_NAMES.WITCH]: async() => this.validateGamePlayWitchTargets(playTargets, game),\n };\n const gamePlaySourceValidationMethod = gamePlaySourceValidationMethods[game.currentPlay.source];\n if (gamePlaySourceValidationMethod) {\n await gamePlaySourceValidationMethod();\n }\n }\n\n private validateInfectedTargetsAndPotionUsage(playTargets: MakeGamePlayTargetWithRelationsDto[], game: GameWithCurrentPlay): void {\n const { source: currentPlaySource, action: currentPlayAction } = game.currentPlay;\n const isSomeTargetInfected = playTargets.some(({ isInfected }) => isInfected);\n if (isSomeTargetInfected && (currentPlayAction !== GAME_PLAY_ACTIONS.EAT || currentPlaySource !== PLAYER_GROUPS.WEREWOLVES)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_INFECTED_TARGET);\n }\n const hasSomePlayerDrankPotion = playTargets.some(({ drankPotion }) => drankPotion);\n if (hasSomePlayerDrankPotion && (currentPlayAction !== GAME_PLAY_ACTIONS.USE_POTIONS || currentPlaySource !== ROLE_NAMES.WITCH)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_DRANK_POTION_TARGET);\n }\n }\n\n private async validateGamePlayTargetsWithRelationsDto(playTargets: MakeGamePlayTargetWithRelationsDto[] | undefined, game: GameWithCurrentPlay): Promise {\n if (playTargets === undefined || playTargets.length === 0) {\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 this.validateInfectedTargetsAndPotionUsage(playTargets, game);\n await this.validateGamePlaySourceTargets(playTargets, game);\n }\n\n private async validateGamePlayVotesTieBreakerWithRelationsDto(playVotes: MakeGamePlayVoteWithRelationsDto[], game: Game): Promise {\n const lastTieInVotesRecord = await this.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord(game._id);\n const lastTieInVotesRecordNominatedPlayers = lastTieInVotesRecord?.play.voting?.nominatedPlayers ?? [];\n if (playVotes.some(vote => !lastTieInVotesRecordNominatedPlayers.find(player => vote.target._id === player._id))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_VOTE_TARGET_FOR_TIE_BREAKER);\n }\n }\n\n private async validateGamePlayVotesWithRelationsDto(playVotes: MakeGamePlayVoteWithRelationsDto[] | undefined, game: GameWithCurrentPlay): Promise {\n if (playVotes === undefined || playVotes.length === 0) {\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 if (game.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) {\n await this.validateGamePlayVotesTieBreakerWithRelationsDto(playVotes, game);\n }\n }\n\n private validateGamePlayWithRelationsDtoChosenSide({ chosenSide }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): void {\n if (chosenSide !== undefined && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_CHOSEN_SIDE);\n }\n if (chosenSide === undefined && 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 validateGamePlayWithRelationsDtoJudgeRequest({ doesJudgeRequestAnotherVote }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): 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}" + "source": "import { Injectable } from \"@nestjs/common\";\nimport { cloneDeep } from \"lodash\";\nimport { BAD_GAME_PLAY_PAYLOAD_REASONS } from \"../../../../../shared/exception/enums/bad-game-play-payload-error.enum\";\nimport { createNoCurrentGamePlayUnexpectedException } from \"../../../../../shared/exception/helpers/unexpected-exception.factory\";\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, GAME_PLAY_CAUSES, WITCH_POTIONS } from \"../../../enums/game-play.enum\";\nimport { PLAYER_ATTRIBUTE_NAMES, PLAYER_GROUPS } from \"../../../enums/player.enum\";\nimport { getLeftToCharmByPiedPiperPlayers, getLeftToEatByWerewolvesPlayers, getLeftToEatByWhiteWerewolfPlayers, getPlayerWithCurrentRole, getPlayerWithId } from \"../../../helpers/game.helper\";\nimport { doesPlayerHaveAttribute, isPlayerAliveAndPowerful } from \"../../../helpers/player/player.helper\";\nimport type { Game } from \"../../../schemas/game.schema\";\nimport type { GameWithCurrentPlay } from \"../../../types/game-with-current-play\";\nimport type { GameSource } from \"../../../types/game.type\";\nimport { GameHistoryRecordService } from \"../game-history/game-history-record.service\";\n\n@Injectable()\nexport class GamePlayValidatorService {\n public constructor(private readonly gameHistoryRecordService: GameHistoryRecordService) {}\n\n public async validateGamePlayWithRelationsDto(play: MakeGamePlayWithRelationsDto, game: Game): Promise {\n if (!game.currentPlay) {\n throw createNoCurrentGamePlayUnexpectedException(\"validateGamePlayWithRelationsDto\", { gameId: game._id });\n }\n const clonedGameWithCurrentPlay = cloneDeep(game) as GameWithCurrentPlay;\n const { votes, targets } = play;\n await this.validateGamePlayWithRelationsDtoJudgeRequest(play, clonedGameWithCurrentPlay);\n this.validateGamePlayWithRelationsDtoChosenSide(play, clonedGameWithCurrentPlay);\n await this.validateGamePlayVotesWithRelationsDto(votes, clonedGameWithCurrentPlay);\n await this.validateGamePlayTargetsWithRelationsDto(targets, clonedGameWithCurrentPlay);\n this.validateGamePlayWithRelationsDtoChosenCard(play, clonedGameWithCurrentPlay);\n }\n\n private validateGamePlayWithRelationsDtoChosenCard({ chosenCard }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): 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 hasWitchUsedLifePotion = (await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.LIFE)).length > 0;\n const drankLifePotionTargets = playTargets.filter(({ drankPotion }) => drankPotion === WITCH_POTIONS.LIFE);\n const hasWitchUsedDeathPotion = (await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length > 0;\n const drankDeathPotionTargets = playTargets.filter(({ drankPotion }) => drankPotion === WITCH_POTIONS.DEATH);\n if (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 (!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: GameWithCurrentPlay): 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 async validateGamePlayWerewolvesTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: GameWithCurrentPlay): Promise {\n this.validateWerewolvesTargetsBoundaries(playTargets, game);\n if (!playTargets.length) {\n return;\n }\n const targetedPlayer = playTargets[0].player;\n const pureWolvesAvailableTargets = getLeftToEatByWerewolvesPlayers(game.players);\n if (game.currentPlay.source === PLAYER_GROUPS.WEREWOLVES && !getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WEREWOLVES_TARGET);\n }\n if (game.currentPlay.source === ROLE_NAMES.BIG_BAD_WOLF && !getPlayerWithId(pureWolvesAvailableTargets, targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_BIG_BAD_WOLF_TARGET);\n }\n const whiteWerewolfAvailableTargets = getLeftToEatByWhiteWerewolfPlayers(game.players);\n if (game.currentPlay.source === ROLE_NAMES.WHITE_WEREWOLF && !getPlayerWithId(whiteWerewolfAvailableTargets, targetedPlayer._id)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_WHITE_WEREWOLF_TARGET);\n }\n await this.validateGamePlayInfectedTargets(playTargets, game);\n }\n\n private validateGamePlayHunterTargets(playTargets: MakeGamePlayTargetWithRelationsDto[]): void {\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 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[]): void {\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[]): void {\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 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[]): void {\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 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 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 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: GameWithCurrentPlay): Promise {\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 lastTieInVotesRecordNominatedPlayers = lastTieInVotesRecord?.play.voting?.nominatedPlayers ?? [];\n const isSheriffTargetInLastNominatedPlayers = lastTieInVotesRecordNominatedPlayers.find(({ _id }) => _id === targetedPlayer._id);\n if (game.currentPlay.action === GAME_PLAY_ACTIONS.SETTLE_VOTES && !isSheriffTargetInLastNominatedPlayers) {\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 validateGamePlaySourceTargets(playTargets: MakeGamePlayTargetWithRelationsDto[], game: GameWithCurrentPlay): Promise {\n const gamePlaySourceValidationMethods: Partial Promise | void>> = {\n [PLAYER_ATTRIBUTE_NAMES.SHERIFF]: async() => this.validateGamePlaySheriffTargets(playTargets, game),\n [PLAYER_GROUPS.WEREWOLVES]: async() => this.validateGamePlayWerewolvesTargets(playTargets, game),\n [ROLE_NAMES.BIG_BAD_WOLF]: async() => this.validateGamePlayWerewolvesTargets(playTargets, game),\n [ROLE_NAMES.WHITE_WEREWOLF]: async() => this.validateGamePlayWerewolvesTargets(playTargets, game),\n [ROLE_NAMES.GUARD]: async() => this.validateGamePlayGuardTargets(playTargets, game),\n [ROLE_NAMES.PIED_PIPER]: () => this.validateGamePlayPiedPiperTargets(playTargets, game),\n [ROLE_NAMES.WILD_CHILD]: () => this.validateGamePlayWildChildTargets(playTargets, game),\n [ROLE_NAMES.RAVEN]: () => this.validateGamePlayRavenTargets(playTargets),\n [ROLE_NAMES.SEER]: () => this.validateGamePlaySeerTargets(playTargets, game),\n [ROLE_NAMES.FOX]: () => this.validateGamePlayFoxTargets(playTargets),\n [ROLE_NAMES.CUPID]: () => this.validateGamePlayCupidTargets(playTargets),\n [ROLE_NAMES.SCAPEGOAT]: () => this.validateGamePlayScapegoatTargets(playTargets, game),\n [ROLE_NAMES.HUNTER]: () => this.validateGamePlayHunterTargets(playTargets),\n [ROLE_NAMES.WITCH]: async() => this.validateGamePlayWitchTargets(playTargets, game),\n };\n const gamePlaySourceValidationMethod = gamePlaySourceValidationMethods[game.currentPlay.source];\n if (gamePlaySourceValidationMethod) {\n await gamePlaySourceValidationMethod();\n }\n }\n\n private validateInfectedTargetsAndPotionUsage(playTargets: MakeGamePlayTargetWithRelationsDto[], game: GameWithCurrentPlay): void {\n const { source: currentPlaySource, action: currentPlayAction } = game.currentPlay;\n const isSomeTargetInfected = playTargets.some(({ isInfected }) => isInfected);\n if (isSomeTargetInfected && (currentPlayAction !== GAME_PLAY_ACTIONS.EAT || currentPlaySource !== PLAYER_GROUPS.WEREWOLVES)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_INFECTED_TARGET);\n }\n const hasSomePlayerDrankPotion = playTargets.some(({ drankPotion }) => drankPotion);\n if (hasSomePlayerDrankPotion && (currentPlayAction !== GAME_PLAY_ACTIONS.USE_POTIONS || currentPlaySource !== ROLE_NAMES.WITCH)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_DRANK_POTION_TARGET);\n }\n }\n\n private async validateGamePlayTargetsWithRelationsDto(playTargets: MakeGamePlayTargetWithRelationsDto[] | undefined, game: GameWithCurrentPlay): Promise {\n if (playTargets === undefined || playTargets.length === 0) {\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 this.validateInfectedTargetsAndPotionUsage(playTargets, game);\n await this.validateGamePlaySourceTargets(playTargets, game);\n }\n\n private async validateGamePlayVotesTieBreakerWithRelationsDto(playVotes: MakeGamePlayVoteWithRelationsDto[], game: Game): Promise {\n const lastTieInVotesRecord = await this.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord(game._id);\n const lastTieInVotesRecordNominatedPlayers = lastTieInVotesRecord?.play.voting?.nominatedPlayers ?? [];\n if (playVotes.some(vote => !lastTieInVotesRecordNominatedPlayers.find(player => vote.target._id === player._id))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_VOTE_TARGET_FOR_TIE_BREAKER);\n }\n }\n \n private validateGamePlayVotesWithRelationsDtoSourceAndTarget(playVotes: MakeGamePlayVoteWithRelationsDto[]): void {\n if (playVotes.some(({ source }) => !source.isAlive || doesPlayerHaveAttribute(source, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE))) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_VOTE_SOURCE);\n }\n if (playVotes.some(({ target }) => !target.isAlive)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.BAD_VOTE_TARGET);\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 validateUnsetGamePlayVotesWithRelationsDto(game: GameWithCurrentPlay): void {\n const { action: currentPlayAction, cause: currentPlayCause } = game.currentPlay;\n const { canBeSkipped: canVotesBeSkipped } = game.options.votes;\n const isCurrentPlayVoteCauseOfAngelPresence = currentPlayAction === GAME_PLAY_ACTIONS.VOTE && currentPlayCause === GAME_PLAY_CAUSES.ANGEL_PRESENCE;\n const isCurrentPlayVoteInevitable = currentPlayAction === GAME_PLAY_ACTIONS.ELECT_SHERIFF || isCurrentPlayVoteCauseOfAngelPresence;\n const canSomePlayerVote = game.players.some(player => player.isAlive && !doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.CANT_VOTE));\n if (canSomePlayerVote && (!canVotesBeSkipped && requiredVotesActions.includes(currentPlayAction) || canVotesBeSkipped && isCurrentPlayVoteInevitable)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.REQUIRED_VOTES);\n }\n }\n \n private async validateGamePlayVotesWithRelationsDto(playVotes: MakeGamePlayVoteWithRelationsDto[] | undefined, game: GameWithCurrentPlay): Promise {\n if (!playVotes || playVotes.length === 0) {\n this.validateUnsetGamePlayVotesWithRelationsDto(game);\n return;\n }\n if (!requiredVotesActions.includes(game.currentPlay.action)) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_VOTES);\n }\n this.validateGamePlayVotesWithRelationsDtoSourceAndTarget(playVotes);\n if (game.currentPlay.cause === GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES) {\n await this.validateGamePlayVotesTieBreakerWithRelationsDto(playVotes, game);\n }\n }\n\n private validateGamePlayWithRelationsDtoChosenSide({ chosenSide }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): void {\n if (chosenSide !== undefined && game.currentPlay.action !== GAME_PLAY_ACTIONS.CHOOSE_SIDE) {\n throw new BadGamePlayPayloadException(BAD_GAME_PLAY_PAYLOAD_REASONS.UNEXPECTED_CHOSEN_SIDE);\n }\n if (chosenSide === undefined && 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 validateGamePlayWithRelationsDtoJudgeRequest({ doesJudgeRequestAnotherVote }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): 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-play/game-play-vote/game-play-vote.service.ts": { "language": "typescript", "mutants": [ { - "id": "1808", + "id": "1857", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(16,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -60637,8 +62117,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60652,15 +62132,15 @@ } }, { - "id": "1809", + "id": "1858", "mutatorName": "MethodExpression", "replacement": "Math.min(...playerVoteCounts.map(playerVoteCount => playerVoteCount[1]))", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60674,7 +62154,7 @@ } }, { - "id": "1810", + "id": "1859", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(19,31): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", @@ -60682,8 +62162,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60697,15 +62177,15 @@ } }, { - "id": "1811", + "id": "1860", "mutatorName": "MethodExpression", "replacement": "playerVoteCounts", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60719,15 +62199,15 @@ } }, { - "id": "1812", + "id": "1861", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60741,15 +62221,15 @@ } }, { - "id": "1813", + "id": "1862", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60763,15 +62243,15 @@ } }, { - "id": "1814", + "id": "1863", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60785,7 +62265,7 @@ } }, { - "id": "1815", + "id": "1864", "mutatorName": "EqualityOperator", "replacement": "playerVoteCount[1] !== maxVotes", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"b5002b5000c7f89a9be6cca1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jan\", \"position\": 7727466271473664, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"33297daed0067ddaec3c15cf\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Tiara\", \"position\": 1425280723845120, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"56edbff50f7508fb0b749cb9\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Cecelia\", \"position\": 3774163602898944, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60793,11 +62273,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60811,7 +62291,7 @@ } }, { - "id": "1816", + "id": "1865", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(21,5): error TS2322: Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -60819,8 +62299,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669" + "566", + "679" ], "location": { "end": { @@ -60834,7 +62314,7 @@ } }, { - "id": "1817", + "id": "1866", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(23,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -60842,12 +62322,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -60861,7 +62341,7 @@ } }, { - "id": "1818", + "id": "1867", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(26,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-play-vote/game-play-vote.service.ts(26,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", @@ -60869,12 +62349,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -60888,7 +62368,7 @@ } }, { - "id": "1819", + "id": "1868", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"fa1fcead5ff4d4b5b0a17a9c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marty\", \"position\": 7440679124860928, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bdaaa9ae4c29cfa4decade0c\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Nils\", \"position\": 1482066732515328, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"fa1fcead5ff4d4b5b0a17a9c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marty\", \"position\": 7440679124860928, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ae092600872ddff23fbed1f2\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Rosemarie\", \"position\": 4700500203143168, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bdaaa9ae4c29cfa4decade0c\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Nils\", \"position\": 1482066732515328, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60896,15 +62376,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -60918,7 +62398,7 @@ } }, { - "id": "1820", + "id": "1869", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"e0a4d61bcccef03aa160e02f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dalton\", \"position\": 5214340089118720, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bfc3a8b17c04f22ee692fe5e\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Valentin\", \"position\": 3999973853102080, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"bfc3a8b17c04f22ee692fe5e\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Valentin\", \"position\": 3999973853102080, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60926,15 +62406,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -60948,7 +62428,7 @@ } }, { - "id": "1821", + "id": "1870", "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\": \"aacc62c2da3d0befa248ac66\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elyssa\", \"position\": 6050212374118400, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"98b0801e014e5f21181fe8e0\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Cortney\", \"position\": 1744183740071936, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"8f13b2a9df4d8dccfcd487c6\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Jason\", \"position\": 2461448343126016, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"98b0801e014e5f21181fe8e0\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Cortney\", \"position\": 1744183740071936, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -60956,15 +62436,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -60978,7 +62458,7 @@ } }, { - "id": "1822", + "id": "1871", "mutatorName": "OptionalChaining", "replacement": "sheriffPlayer._id", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(28,66): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", @@ -60986,12 +62466,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61005,7 +62485,7 @@ } }, { - "id": "1823", + "id": "1872", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"cc0e8e08b2fe5bce12cc1aac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Janick\", \"position\": 4860167055212544, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4d93dcbaec7e5efd56b7cfd3\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Shane\", \"position\": 2670653551411200, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"cc0e8e08b2fe5bce12cc1aac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Janick\", \"position\": 4860167055212544, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fbc8dedb3ff0469da23fcbc2\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Emely\", \"position\": 4178579281674240, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4d93dcbaec7e5efd56b7cfd3\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Shane\", \"position\": 2670653551411200, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61013,15 +62493,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61035,7 +62515,7 @@ } }, { - "id": "1824", + "id": "1873", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"7bff09b7282d0405e15b7def\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bridget\", \"position\": 7061962607296512, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6ebbe5c21b98bfacffc7253d\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Chandler\", \"position\": 6884811593482240, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"6ebbe5c21b98bfacffc7253d\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Chandler\", \"position\": 6884811593482240, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61043,15 +62523,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61065,19 +62545,19 @@ } }, { - "id": "1825", + "id": "1874", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.VOTE && isVoteSourceSheriff || doesSheriffHaveDoubledVote", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61091,7 +62571,7 @@ } }, { - "id": "1826", + "id": "1875", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"a0be90673f7d2cdb32d1af95\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kari\", \"position\": 7235014477479936, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f9d76460b99d0cfb4d0d23cf\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Morris\", \"position\": 4504721419141120, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"a0be90673f7d2cdb32d1af95\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kari\", \"position\": 7235014477479936, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ccb93d9b8a21d9bbf375cd93\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"all\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Julio\", \"position\": 7061174057172992, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f9d76460b99d0cfb4d0d23cf\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Morris\", \"position\": 4504721419141120, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61099,15 +62579,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61121,19 +62601,19 @@ } }, { - "id": "1827", + "id": "1876", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action === GAME_PLAY_ACTIONS.VOTE || isVoteSourceSheriff", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61147,19 +62627,19 @@ } }, { - "id": "1828", + "id": "1877", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61173,19 +62653,19 @@ } }, { - "id": "1829", + "id": "1878", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action !== GAME_PLAY_ACTIONS.VOTE", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61199,19 +62679,19 @@ } }, { - "id": "1830", + "id": "1879", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61225,19 +62705,19 @@ } }, { - "id": "1831", + "id": "1880", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61251,7 +62731,7 @@ } }, { - "id": "1832", + "id": "1881", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"48f2c1fd14cb781f33655b73\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Narciso\", \"position\": 4930808047468544, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"15ea36c6ae7baaa0355dbae4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dakota\", \"position\": 759414204137472, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"15ea36c6ae7baaa0355dbae4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dakota\", \"position\": 759414204137472, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"48f2c1fd14cb781f33655b73\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Narciso\", \"position\": 4930808047468544, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"48f2c1fd14cb781f33655b73\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Narciso\", \"position\": 4930808047468544, \"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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:70:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61259,15 +62739,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "670" + "680" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61281,7 +62761,7 @@ } }, { - "id": "1833", + "id": "1882", "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\": \"feab8ddab6fdfeb73935c6ce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Thaddeus\", \"position\": 7292103893712896, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c14c6ae121b0cef8e086ee05\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Maryam\", \"position\": 8477306020429824, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"feab8ddab6fdfeb73935c6ce\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Thaddeus\", \"position\": 7292103893712896, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61289,15 +62769,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61311,7 +62791,7 @@ } }, { - "id": "1834", + "id": "1883", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(32,9): error TS18048: 'existingPlayerVoteCount' is possibly 'undefined'.\n", @@ -61319,12 +62799,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61338,7 +62818,7 @@ } }, { - "id": "1835", + "id": "1884", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(32,9): error TS18048: 'existingPlayerVoteCount' is possibly 'undefined'.\n", @@ -61346,12 +62826,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61365,7 +62845,7 @@ } }, { - "id": "1836", + "id": "1885", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"8fc6c728f97b12dcfba261f6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Theresia\", \"position\": 6047268434083840, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"657a12acf5838eccb1a6c852\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dorian\", \"position\": 1814599458357248, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"657a12acf5838eccb1a6c852\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dorian\", \"position\": 1814599458357248, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"8fc6c728f97b12dcfba261f6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Theresia\", \"position\": 6047268434083840, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"8fc6c728f97b12dcfba261f6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Theresia\", \"position\": 6047268434083840, \"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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:70:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61373,13 +62853,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "670" + "680" ], "coveredBy": [ - "670", - "671", - "672", - "673" + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61393,7 +62873,7 @@ } }, { - "id": "1837", + "id": "1886", "mutatorName": "AssignmentOperator", "replacement": "existingPlayerVoteCount[1] -= voteValue", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"c791de417b8a1cac2c5db7ed\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sallie\", \"position\": 8530256799465472, \"role\": {\"current\": \"ancient\", \"isRevealed\": false, \"original\": \"ancient\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"7b15a629e0449ac6d4e5ef18\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Oceane\", \"position\": 8574200891572224, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"7b15a629e0449ac6d4e5ef18\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Oceane\", \"position\": 8574200891572224, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"c791de417b8a1cac2c5db7ed\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sallie\", \"position\": 8530256799465472, \"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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:70:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61401,13 +62881,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "670" + "680" ], "coveredBy": [ - "670", - "671", - "672", - "673" + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61421,7 +62901,7 @@ } }, { - "id": "1838", + "id": "1887", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"8410f7d4de25f61c3ba4a8ae\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Vince\", \"position\": 6618229325692928, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"7dff554b9ac4a1bcc6fa3eed\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Wallace\", \"position\": 8456465708744704, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"7dff554b9ac4a1bcc6fa3eed\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Wallace\", \"position\": 8456465708744704, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61429,15 +62909,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61451,7 +62931,7 @@ } }, { - "id": "1839", + "id": "1888", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(26,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-play-vote/game-play-vote.service.ts(26,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", @@ -61459,12 +62939,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61478,7 +62958,7 @@ } }, { - "id": "1840", + "id": "1889", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(26,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-play-vote/game-play-vote.service.ts(36,9): error TS2322: Type 'string' is not assignable to type 'PlayerVoteCount'.\n", @@ -61486,12 +62966,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "670", - "671", - "672", - "673" + "566", + "679", + "680", + "681", + "682", + "683" ], "location": { "end": { @@ -61505,7 +62985,7 @@ } }, { - "id": "1841", + "id": "1890", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(39,111): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -61513,16 +62993,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61536,7 +63016,7 @@ } }, { - "id": "1842", + "id": "1891", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(47,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(50,7): error TS18048: 'ravenMarkedPlayerVoteCount' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(53,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(53,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -61544,16 +63024,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61567,7 +63047,7 @@ } }, { - "id": "1843", + "id": "1892", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(47,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(53,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(53,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -61575,16 +63055,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61598,7 +63078,7 @@ } }, { - "id": "1844", + "id": "1893", "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-play-vote/game-play-vote.service.ts(47,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(53,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(53,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -61606,16 +63086,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61629,7 +63109,7 @@ } }, { - "id": "1845", + "id": "1894", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 28\n\n@@ -37,6 +37,34 @@\n \"original\": \"villagers\",\n },\n },\n 2,\n ],\n+ Array [\n+ Player {\n+ \"_id\": \"3738dcee4e4db8a29cf4df7f\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"raven-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"raven\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Emmet\",\n+ \"position\": 5003629821952000,\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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:154:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61637,19 +63117,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "674" + "684" ], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61663,7 +63143,7 @@ } }, { - "id": "1846", + "id": "1895", "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-play-vote/game-play-vote.service.ts(44,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", @@ -61671,16 +63151,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61694,7 +63174,7 @@ } }, { - "id": "1847", + "id": "1896", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(44,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", @@ -61702,16 +63182,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61725,7 +63205,7 @@ } }, { - "id": "1848", + "id": "1897", "mutatorName": "LogicalOperator", "replacement": "clonedGame.currentPlay.action !== GAME_PLAY_ACTIONS.VOTE && ravenPlayer?.isAlive !== true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(44,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", @@ -61733,16 +63213,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61756,7 +63236,7 @@ } }, { - "id": "1849", + "id": "1898", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 28\n\n@@ -37,6 +37,34 @@\n \"original\": \"villagers\",\n },\n },\n 2,\n ],\n+ Array [\n+ Player {\n+ \"_id\": \"de21ea604eab9d96ecf8cdce\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"raven-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"raven\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Clay\",\n+ \"position\": 6147391281430528,\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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:154:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61764,19 +63244,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "674" + "684" ], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61790,7 +63270,7 @@ } }, { - "id": "1850", + "id": "1899", "mutatorName": "EqualityOperator", "replacement": "clonedGame.currentPlay.action === GAME_PLAY_ACTIONS.VOTE", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"bc2b4ced8ffac5f760f2dd2c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kristian\", \"position\": 5287411957366784, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c03a1edbb1bda27a1df7fa6f\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Margie\", \"position\": 4765072329015296, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"bc2b4ced8ffac5f760f2dd2c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kristian\", \"position\": 5287411957366784, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -61798,19 +63278,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "556", - "669", - "674", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "684", + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61824,7 +63304,7 @@ } }, { - "id": "1851", + "id": "1900", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(45,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", @@ -61832,15 +63312,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61854,7 +63334,7 @@ } }, { - "id": "1852", + "id": "1901", "mutatorName": "EqualityOperator", "replacement": "ravenPlayer?.isAlive === true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(45,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", @@ -61862,15 +63342,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61884,7 +63364,7 @@ } }, { - "id": "1853", + "id": "1902", "mutatorName": "OptionalChaining", "replacement": "ravenPlayer.isAlive", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(45,7): error TS18048: 'ravenPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(45,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", @@ -61892,15 +63372,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61914,22 +63394,22 @@ } }, { - "id": "1854", + "id": "1903", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "669", - "675", - "676", - "677", - "678", + "566", "679", - "680", - "681" + "685", + "686", + "687", + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61943,7 +63423,7 @@ } }, { - "id": "1855", + "id": "1904", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -61951,11 +63431,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "669", - "678", "679", - "680", - "681" + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61969,7 +63449,7 @@ } }, { - "id": "1856", + "id": "1905", "mutatorName": "EqualityOperator", "replacement": "ravenMarkedPlayer?.isAlive === true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -61977,11 +63457,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "669", - "678", "679", - "680", - "681" + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -61995,7 +63475,7 @@ } }, { - "id": "1857", + "id": "1906", "mutatorName": "OptionalChaining", "replacement": "ravenMarkedPlayer.isAlive", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(46,7): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -62003,11 +63483,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "669", - "678", "679", - "680", - "681" + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -62021,18 +63501,18 @@ } }, { - "id": "1858", + "id": "1907", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "669", - "678", "679", - "680", - "681" + "688", + "689", + "690", + "691" ], "location": { "end": { @@ -62046,7 +63526,7 @@ } }, { - "id": "1859", + "id": "1908", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(47,119): error TS18048: 'ravenMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(53,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(53,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -62054,13 +63534,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "674", - "675", - "676", - "677", - "678", - "679" + "566", + "684", + "685", + "686", + "687", + "688", + "689" ], "location": { "end": { @@ -62074,16 +63554,16 @@ } }, { - "id": "1860", + "id": "1909", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "669", - "680", - "681" + "679", + "690", + "691" ], "location": { "end": { @@ -62097,16 +63577,16 @@ } }, { - "id": "1861", + "id": "1910", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "669", - "680", - "681" + "679", + "690", + "691" ], "location": { "end": { @@ -62120,16 +63600,16 @@ } }, { - "id": "1862", + "id": "1911", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "669", - "680", - "681" + "679", + "690", + "691" ], "location": { "end": { @@ -62143,16 +63623,16 @@ } }, { - "id": "1863", + "id": "1912", "mutatorName": "EqualityOperator", "replacement": "playerVoteCount[0]._id.toString() !== ravenMarkedPlayer._id.toString()", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "669", - "680", - "681" + "679", + "690", + "691" ], "location": { "end": { @@ -62166,7 +63646,7 @@ } }, { - "id": "1864", + "id": "1913", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(52,7): error TS18048: 'ravenMarkedPlayerVoteCount' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -62174,9 +63654,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "669", - "680", - "681" + "679", + "690", + "691" ], "location": { "end": { @@ -62190,7 +63670,7 @@ } }, { - "id": "1865", + "id": "1914", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(52,7): error TS18048: 'ravenMarkedPlayerVoteCount' is possibly 'undefined'.\n", @@ -62198,9 +63678,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "669", - "680", - "681" + "679", + "690", + "691" ], "location": { "end": { @@ -62214,14 +63694,14 @@ } }, { - "id": "1866", + "id": "1915", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "681" + "691" ], "location": { "end": { @@ -62235,7 +63715,7 @@ } }, { - "id": "1867", + "id": "1916", "mutatorName": "AssignmentOperator", "replacement": "ravenMarkedPlayerVoteCount[1] -= markPenalty", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -43,8 +43,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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:277:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -62243,10 +63723,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "681" + "691" ], "coveredBy": [ - "681" + "691" ], "location": { "end": { @@ -62260,7 +63740,7 @@ } }, { - "id": "1868", + "id": "1917", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"a0c9bdaae56c94ce39bcac5d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tabitha\", \"position\": 8419393297973248, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"raven\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"863d9c2ebbb9fad31a2de24e\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"raven-marked\", \"remainingPhases\": 2, \"source\": \"raven\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Wilmer\", \"position\": 8833110248521728, \"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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:46:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -62268,11 +63748,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "669" + "679" ], "coveredBy": [ - "669", - "680" + "679", + "690" ], "location": { "end": { @@ -62286,7 +63766,7 @@ } }, { - "id": "1869", + "id": "1918", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,13): error TS2322: Type 'PlayerVoteCount | []' is not assignable to type 'PlayerVoteCount'.\n Type '[]' is not assignable to type '[Player, number]'.\n Source has 0 element(s) but target requires 2.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,34): error TS2322: Type '[]' is not assignable to type 'PlayerVoteCount'.\n", @@ -62294,8 +63774,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "669", - "680" + "679", + "690" ], "location": { "end": { @@ -62315,7 +63795,7 @@ "language": "typescript", "mutants": [ { - "id": "1870", + "id": "1919", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(22,57): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -62323,10 +63803,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "556", - "557" + "227", + "228", + "566", + "567" ], "location": { "end": { @@ -62340,7 +63820,7 @@ } }, { - "id": "1871", + "id": "1920", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(24,45): error TS2322: Type 'string' is not assignable to type 'GamePlay'.\n", @@ -62348,10 +63828,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "556", - "557" + "227", + "228", + "566", + "567" ], "location": { "end": { @@ -62365,17 +63845,17 @@ } }, { - "id": "1872", + "id": "1921", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "556", - "557" + "227", + "228", + "566", + "567" ], "location": { "end": { @@ -62389,17 +63869,17 @@ } }, { - "id": "1873", + "id": "1922", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "556", - "557" + "227", + "228", + "566", + "567" ], "location": { "end": { @@ -62413,7 +63893,7 @@ } }, { - "id": "1874", + "id": "1923", "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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -62421,13 +63901,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "219", - "220", - "556", - "557" + "227", + "228", + "566", + "567" ], "location": { "end": { @@ -62441,7 +63921,7 @@ } }, { - "id": "1875", + "id": "1924", "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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -62449,13 +63929,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "219", - "220", - "556", - "557" + "227", + "228", + "566", + "567" ], "location": { "end": { @@ -62469,7 +63949,7 @@ } }, { - "id": "1876", + "id": "1925", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(25,45): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -62477,10 +63957,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "221", - "222", - "556", - "557" + "229", + "230", + "566", + "567" ], "location": { "end": { @@ -62494,7 +63974,7 @@ } }, { - "id": "1877", + "id": "1926", "mutatorName": "BooleanLiteral", "replacement": "clonedGame.upcomingPlays.length", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -62502,13 +63982,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "221", - "222", - "556", - "557" + "229", + "230", + "566", + "567" ], "location": { "end": { @@ -62522,7 +64002,7 @@ } }, { - "id": "1878", + "id": "1927", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -62530,13 +64010,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "221", - "222", - "556", - "557" + "229", + "230", + "566", + "567" ], "location": { "end": { @@ -62550,7 +64030,7 @@ } }, { - "id": "1879", + "id": "1928", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,10 +1,10 @@\n Game {\n \"_id\": \"a9edcb0cd6a8558a4fcc78ac\",\n \"additionalCards\": undefined,\n \"createdAt\": 2023-07-28T04:25:23.522Z,\n- \"currentPlay\": null,\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:83:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -62558,13 +64038,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "221" + "229" ], "coveredBy": [ - "221", - "222", - "556", - "557" + "229", + "230", + "566", + "567" ], "location": { "end": { @@ -62578,14 +64058,14 @@ } }, { - "id": "1880", + "id": "1929", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "221" + "229" ], "location": { "end": { @@ -62599,7 +64079,7 @@ } }, { - "id": "1881", + "id": "1930", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(36,33): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -62607,7 +64087,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "223" + "231" ], "location": { "end": { @@ -62621,7 +64101,7 @@ } }, { - "id": "1882", + "id": "1931", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 1\n\n- Array [\n- GamePlay {\n- \"action\": \"vote\",\n- \"cause\": undefined,\n- \"source\": \"all\",\n- },\n- ]\n+ Array []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:100:55)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -62629,10 +64109,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "223" + "231" ], "coveredBy": [ - "223" + "231" ], "location": { "end": { @@ -62646,7 +64126,7 @@ } }, { - "id": "1883", + "id": "1932", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(49,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -62654,11 +64134,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62672,7 +64152,7 @@ } }, { - "id": "1884", + "id": "1933", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -62680,14 +64160,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "226" + "234" ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62701,7 +64181,7 @@ } }, { - "id": "1885", + "id": "1934", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -62709,14 +64189,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62730,7 +64210,7 @@ } }, { - "id": "1886", + "id": "1935", "mutatorName": "EqualityOperator", "replacement": "game.turn !== 1", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -179,20 +179,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -62738,14 +64218,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62759,18 +64239,18 @@ } }, { - "id": "1887", + "id": "1936", "mutatorName": "MethodExpression", "replacement": "gamePlaysNightOrder", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62784,18 +64264,22 @@ } }, { - "id": "1888", + "id": "1937", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "status": "Timeout", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "232" + ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62809,18 +64293,22 @@ } }, { - "id": "1889", + "id": "1938", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "234" + ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62834,7 +64322,7 @@ } }, { - "id": "1890", + "id": "1939", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 1\n\n@@ -177,29 +177,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -62842,14 +64330,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62863,7 +64351,7 @@ } }, { - "id": "1891", + "id": "1940", "mutatorName": "LogicalOperator", "replacement": "isFirstNight && play.isFirstNightOnly !== true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -179,20 +179,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -62871,14 +64359,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -62892,7 +64380,7 @@ } }, { - "id": "1892", + "id": "1941", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -62900,10 +64388,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "226" + "234" ], "coveredBy": [ - "226" + "234" ], "location": { "end": { @@ -62917,14 +64405,14 @@ } }, { - "id": "1893", + "id": "1942", "mutatorName": "EqualityOperator", "replacement": "play.isFirstNightOnly === true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "226" + "234" ], "location": { "end": { @@ -62938,14 +64426,14 @@ } }, { - "id": "1894", + "id": "1943", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "226" + "234" ], "location": { "end": { @@ -62959,16 +64447,16 @@ } }, { - "id": "1895", + "id": "1944", "mutatorName": "ArrayDeclaration", "replacement": "[]", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "544" + "232", + "233", + "554" ], "location": { "end": { @@ -62982,7 +64470,7 @@ } }, { - "id": "1896", + "id": "1945", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(53,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", @@ -62990,8 +64478,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "226", - "545" + "234", + "555" ], "location": { "end": { @@ -63005,18 +64493,19 @@ } }, { - "id": "1897", + "id": "1946", "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "statusReason": "undefined TypeError: Cannot read properties of undefined (reading 'close')\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:74:15)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusHook (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:280:40)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:153:7)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "RuntimeError", "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -63030,18 +64519,22 @@ } }, { - "id": "1898", + "id": "1947", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox864757/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "232" + ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -63055,7 +64548,7 @@ } }, { - "id": "1899", + "id": "1948", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63063,14 +64556,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "224" + "232" ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -63084,7 +64577,7 @@ } }, { - "id": "1900", + "id": "1949", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 1\n\n@@ -177,29 +177,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -63092,14 +64585,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "224", - "225", - "226", - "544", - "545" + "232", + "233", + "234", + "554", + "555" ], "location": { "end": { @@ -63113,7 +64606,7 @@ } }, { - "id": "1901", + "id": "1950", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(62,122): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -63121,15 +64614,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "226", - "227", - "228", - "229", - "230", - "544", - "545" + "232", + "233", + "234", + "235", + "236", + "237", + "238", + "554", + "555" ], "location": { "end": { @@ -63143,7 +64636,7 @@ } }, { - "id": "1902", + "id": "1951", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63151,18 +64644,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "226" + "234" ], "coveredBy": [ - "224", - "225", - "226", - "227", - "228", - "229", - "230", - "544", - "545" + "232", + "233", + "234", + "235", + "236", + "237", + "238", + "554", + "555" ], "location": { "end": { @@ -63176,7 +64669,7 @@ } }, { - "id": "1903", + "id": "1952", "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@@ -178,14 +178,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -63184,18 +64677,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "224", - "225", - "226", - "227", - "228", - "229", - "230", - "544", - "545" + "232", + "233", + "234", + "235", + "236", + "237", + "238", + "554", + "555" ], "location": { "end": { @@ -63209,7 +64702,7 @@ } }, { - "id": "1904", + "id": "1953", "mutatorName": "LogicalOperator", "replacement": "isEnabled && electedAt.turn === currentTurn || electedAt.phase === currentPhase", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63217,18 +64710,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "226" + "234" ], "coveredBy": [ - "224", - "225", - "226", - "227", - "228", - "229", - "230", - "544", - "545" + "232", + "233", + "234", + "235", + "236", + "237", + "238", + "554", + "555" ], "location": { "end": { @@ -63242,7 +64735,7 @@ } }, { - "id": "1905", + "id": "1954", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63250,18 +64743,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "226" + "234" ], "coveredBy": [ - "224", - "225", - "226", - "227", - "228", - "229", - "230", - "544", - "545" + "232", + "233", + "234", + "235", + "236", + "237", + "238", + "554", + "555" ], "location": { "end": { @@ -63275,7 +64768,7 @@ } }, { - "id": "1906", + "id": "1955", "mutatorName": "LogicalOperator", "replacement": "isEnabled || electedAt.turn === currentTurn", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63283,18 +64776,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "226" + "234" ], "coveredBy": [ - "224", - "225", - "226", - "227", - "228", - "229", - "230", - "544", - "545" + "232", + "233", + "234", + "235", + "236", + "237", + "238", + "554", + "555" ], "location": { "end": { @@ -63308,7 +64801,7 @@ } }, { - "id": "1907", + "id": "1956", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63316,16 +64809,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "226" + "234" ], "coveredBy": [ - "224", - "225", - "226", - "228", - "229", - "230", - "544" + "232", + "233", + "234", + "236", + "237", + "238", + "554" ], "location": { "end": { @@ -63339,7 +64832,7 @@ } }, { - "id": "1908", + "id": "1957", "mutatorName": "EqualityOperator", "replacement": "electedAt.turn !== currentTurn", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63347,16 +64840,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "224" + "232" ], "coveredBy": [ - "224", - "225", - "226", - "228", - "229", - "230", - "544" + "232", + "233", + "234", + "236", + "237", + "238", + "554" ], "location": { "end": { @@ -63370,7 +64863,7 @@ } }, { - "id": "1909", + "id": "1958", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:216:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63378,14 +64871,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "229" + "237" ], "coveredBy": [ - "224", - "225", - "229", - "230", - "544" + "232", + "233", + "237", + "238", + "554" ], "location": { "end": { @@ -63399,18 +64892,18 @@ } }, { - "id": "1910", + "id": "1959", "mutatorName": "EqualityOperator", "replacement": "electedAt.phase !== currentPhase", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "229", - "230", - "544" + "232", + "233", + "237", + "238", + "554" ], "location": { "end": { @@ -63424,7 +64917,7 @@ } }, { - "id": "1911", + "id": "1960", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(67,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -63432,18 +64925,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "231", "232", "233", - "234", - "235", - "236", - "237", - "238", - "544", - "545" + "239", + "240", + "241", + "242", + "243", + "244", + "245", + "246", + "554", + "555" ], "location": { "end": { @@ -63457,7 +64950,7 @@ } }, { - "id": "1912", + "id": "1961", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(69,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(71,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\nsrc/modules/game/providers/services/game-play/game-play.service.ts(75,51): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(76,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", @@ -63465,18 +64958,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "231", "232", "233", - "234", - "235", - "236", - "237", - "238", - "544", - "545" + "239", + "240", + "241", + "242", + "243", + "244", + "245", + "246", + "554", + "555" ], "location": { "end": { @@ -63490,7 +64983,7 @@ } }, { - "id": "1913", + "id": "1962", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(69,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(71,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\nsrc/modules/game/providers/services/game-play/game-play.service.ts(75,51): 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", @@ -63498,18 +64991,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "231", "232", "233", - "234", - "235", - "236", - "237", - "238", - "544", - "545" + "239", + "240", + "241", + "242", + "243", + "244", + "245", + "246", + "554", + "555" ], "location": { "end": { @@ -63523,7 +65016,7 @@ } }, { - "id": "1914", + "id": "1963", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.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-play.service.ts(73,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", @@ -63531,10 +65024,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "231", - "232", - "544", - "545" + "239", + "240", + "554", + "555" ], "location": { "end": { @@ -63548,7 +65041,7 @@ } }, { - "id": "1915", + "id": "1964", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.CUPID)", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:236:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63556,13 +65049,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "231" + "239" ], "coveredBy": [ - "231", - "232", - "544", - "545" + "239", + "240", + "554", + "555" ], "location": { "end": { @@ -63576,7 +65069,7 @@ } }, { - "id": "1916", + "id": "1965", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.CUPID)", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:236:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63584,13 +65077,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "231" + "239" ], "coveredBy": [ - "231", - "232", - "544", - "545" + "239", + "240", + "554", + "555" ], "location": { "end": { @@ -63604,7 +65097,7 @@ } }, { - "id": "1917", + "id": "1966", "mutatorName": "BooleanLiteral", "replacement": "cupidPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(76,62): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -63612,14 +65105,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", + "232", "233", - "234", - "235", - "236", - "237", - "238" + "241", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63633,7 +65126,7 @@ } }, { - "id": "1918", + "id": "1967", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(75,51): 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-play.service.ts(76,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", @@ -63641,14 +65134,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", + "232", "233", - "234", - "235", - "236", - "237", - "238" + "241", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63662,7 +65155,7 @@ } }, { - "id": "1919", + "id": "1968", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(76,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", @@ -63670,14 +65163,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", + "232", "233", - "234", - "235", - "236", - "237", - "238" + "241", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63691,7 +65184,7 @@ } }, { - "id": "1920", + "id": "1969", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(74,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", @@ -63699,8 +65192,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "233" + "232", + "241" ], "location": { "end": { @@ -63714,15 +65207,15 @@ } }, { - "id": "1921", + "id": "1970", "mutatorName": "BooleanLiteral", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "224", - "233" + "232", + "241" ], "location": { "end": { @@ -63736,19 +65229,19 @@ } }, { - "id": "1922", + "id": "1971", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238" + "233", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63762,19 +65255,19 @@ } }, { - "id": "1923", + "id": "1972", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238" + "233", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63788,19 +65281,19 @@ } }, { - "id": "1924", + "id": "1973", "mutatorName": "LogicalOperator", "replacement": "!inLovePlayers.length && isPlayerAliveAndPowerful(cupidPlayer) && inLovePlayers.length > 0 && inLovePlayers.every(player => player.isAlive)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238" + "233", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63814,19 +65307,19 @@ } }, { - "id": "1925", + "id": "1974", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238" + "233", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63840,7 +65333,7 @@ } }, { - "id": "1926", + "id": "1975", "mutatorName": "LogicalOperator", "replacement": "!inLovePlayers.length || isPlayerAliveAndPowerful(cupidPlayer)", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:272:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63848,15 +65341,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "234" + "242" ], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238" + "233", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63870,19 +65363,19 @@ } }, { - "id": "1927", + "id": "1976", "mutatorName": "BooleanLiteral", "replacement": "inLovePlayers.length", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", - "234", - "235", - "236", - "237", - "238" + "233", + "242", + "243", + "244", + "245", + "246" ], "location": { "end": { @@ -63896,7 +65389,7 @@ } }, { - "id": "1928", + "id": "1977", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:320:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63904,13 +65397,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "238" + "246" ], "coveredBy": [ - "234", - "235", - "237", - "238" + "242", + "243", + "245", + "246" ], "location": { "end": { @@ -63924,17 +65417,17 @@ } }, { - "id": "1929", + "id": "1978", "mutatorName": "LogicalOperator", "replacement": "inLovePlayers.length > 0 || inLovePlayers.every(player => player.isAlive)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "234", - "235", - "237", - "238" + "242", + "243", + "245", + "246" ], "location": { "end": { @@ -63948,7 +65441,7 @@ } }, { - "id": "1930", + "id": "1979", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:272:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -63956,13 +65449,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "234" + "242" ], "coveredBy": [ - "234", - "235", - "237", - "238" + "242", + "243", + "245", + "246" ], "location": { "end": { @@ -63976,17 +65469,17 @@ } }, { - "id": "1931", + "id": "1980", "mutatorName": "EqualityOperator", "replacement": "inLovePlayers.length >= 0", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "234", - "235", - "237", - "238" + "242", + "243", + "245", + "246" ], "location": { "end": { @@ -64000,7 +65493,7 @@ } }, { - "id": "1932", + "id": "1981", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:272:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64008,13 +65501,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "234" + "242" ], "coveredBy": [ - "234", - "235", - "237", - "238" + "242", + "243", + "245", + "246" ], "location": { "end": { @@ -64028,7 +65521,7 @@ } }, { - "id": "1933", + "id": "1982", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:308:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64036,11 +65529,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "237" + "245" ], "coveredBy": [ - "237", - "238" + "245", + "246" ], "location": { "end": { @@ -64054,15 +65547,15 @@ } }, { - "id": "1934", + "id": "1983", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "237", - "238" + "245", + "246" ], "location": { "end": { @@ -64076,7 +65569,7 @@ } }, { - "id": "1935", + "id": "1984", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(79,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -64084,20 +65577,20 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "239", - "240", - "241", - "242", - "243", - "244", - "245", - "246", - "327", - "544", - "545", - "556" + "232", + "233", + "247", + "248", + "249", + "250", + "251", + "252", + "253", + "254", + "335", + "554", + "555", + "566" ], "location": { "end": { @@ -64111,7 +65604,7 @@ } }, { - "id": "1936", + "id": "1985", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(84,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(86,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\nsrc/modules/game/providers/services/game-play/game-play.service.ts(87,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", @@ -64119,20 +65612,20 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "239", - "240", - "241", - "242", - "243", - "244", - "245", - "246", - "327", - "544", - "545", - "556" + "232", + "233", + "247", + "248", + "249", + "250", + "251", + "252", + "253", + "254", + "335", + "554", + "555", + "566" ], "location": { "end": { @@ -64146,7 +65639,7 @@ } }, { - "id": "1937", + "id": "1986", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:335:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64154,23 +65647,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "239" + "247" ], "coveredBy": [ - "224", - "225", - "239", - "240", - "241", - "242", - "243", - "244", - "245", - "246", - "327", - "544", - "545", - "556" + "232", + "233", + "247", + "248", + "249", + "250", + "251", + "252", + "253", + "254", + "335", + "554", + "555", + "566" ], "location": { "end": { @@ -64184,7 +65677,7 @@ } }, { - "id": "1938", + "id": "1987", "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@@ -179,10 +179,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -64192,23 +65685,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "224", - "225", - "239", - "240", - "241", - "242", - "243", - "244", - "245", - "246", - "327", - "544", - "545", - "556" + "232", + "233", + "247", + "248", + "249", + "250", + "251", + "252", + "253", + "254", + "335", + "554", + "555", + "566" ], "location": { "end": { @@ -64222,7 +65715,7 @@ } }, { - "id": "1939", + "id": "1988", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:697:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -64230,13 +65723,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "239", - "240", - "327", - "556" + "247", + "248", + "335", + "566" ], "location": { "end": { @@ -64250,7 +65743,7 @@ } }, { - "id": "1940", + "id": "1989", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:335:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64258,13 +65751,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "239" + "247" ], "coveredBy": [ - "239", - "240", - "327", - "556" + "247", + "248", + "335", + "566" ], "location": { "end": { @@ -64278,7 +65771,7 @@ } }, { - "id": "1941", + "id": "1990", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(84,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(86,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\nsrc/modules/game/providers/services/game-play/game-play.service.ts(87,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", @@ -64286,16 +65779,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "241", - "242", - "243", - "244", - "245", - "246", - "544", - "545" + "232", + "233", + "249", + "250", + "251", + "252", + "253", + "254", + "554", + "555" ], "location": { "end": { @@ -64309,7 +65802,7 @@ } }, { - "id": "1942", + "id": "1991", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(84,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(86,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", @@ -64317,16 +65810,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "241", - "242", - "243", - "244", - "245", - "246", - "544", - "545" + "232", + "233", + "249", + "250", + "251", + "252", + "253", + "254", + "554", + "555" ], "location": { "end": { @@ -64340,7 +65833,7 @@ } }, { - "id": "1943", + "id": "1992", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(84,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", @@ -64348,10 +65841,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "241", - "242", - "544", - "545" + "249", + "250", + "554", + "555" ], "location": { "end": { @@ -64365,7 +65858,7 @@ } }, { - "id": "1944", + "id": "1993", "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@@ -179,10 +179,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -64373,13 +65866,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "241", - "242", - "544", - "545" + "249", + "250", + "554", + "555" ], "location": { "end": { @@ -64393,7 +65886,7 @@ } }, { - "id": "1945", + "id": "1994", "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@@ -179,10 +179,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -64401,13 +65894,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "241", - "242", - "544", - "545" + "249", + "250", + "554", + "555" ], "location": { "end": { @@ -64421,7 +65914,7 @@ } }, { - "id": "1946", + "id": "1995", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64429,15 +65922,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "224" + "232" ], "coveredBy": [ - "224", - "225", - "243", - "244", - "245", - "246" + "232", + "233", + "251", + "252", + "253", + "254" ], "location": { "end": { @@ -64451,7 +65944,7 @@ } }, { - "id": "1947", + "id": "1996", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64459,15 +65952,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "225" + "233" ], "coveredBy": [ - "224", - "225", - "243", - "244", - "245", - "246" + "232", + "233", + "251", + "252", + "253", + "254" ], "location": { "end": { @@ -64481,7 +65974,7 @@ } }, { - "id": "1948", + "id": "1997", "mutatorName": "LogicalOperator", "replacement": "!!angelPlayer || isPlayerAliveAndPowerful(angelPlayer)", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(87,54): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -64489,12 +65982,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "243", - "244", - "245", - "246" + "232", + "233", + "251", + "252", + "253", + "254" ], "location": { "end": { @@ -64508,7 +66001,7 @@ } }, { - "id": "1949", + "id": "1998", "mutatorName": "BooleanLiteral", "replacement": "!angelPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(87,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -64516,12 +66009,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "243", - "244", - "245", - "246" + "232", + "233", + "251", + "252", + "253", + "254" ], "location": { "end": { @@ -64535,7 +66028,7 @@ } }, { - "id": "1950", + "id": "1999", "mutatorName": "BooleanLiteral", "replacement": "angelPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(87,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -64543,12 +66036,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "243", - "244", - "245", - "246" + "232", + "233", + "251", + "252", + "253", + "254" ], "location": { "end": { @@ -64562,7 +66055,7 @@ } }, { - "id": "1951", + "id": "2000", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(90,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -64570,23 +66063,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "247", - "248", - "249", - "250", - "251", - "252", - "253", - "327", - "544", - "545", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "255", + "256", + "257", + "258", + "259", + "260", + "261", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { @@ -64600,7 +66093,7 @@ } }, { - "id": "1952", + "id": "2001", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(92,11): error TS2739: Type '{}' is missing the following properties from type 'Record boolean>': all, villagers, werewolves, lovers, charmed\n", @@ -64608,23 +66101,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "247", - "248", - "249", - "250", - "251", - "252", - "253", - "327", - "544", - "545", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "255", + "256", + "257", + "258", + "259", + "260", + "261", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { @@ -64638,7 +66131,7 @@ } }, { - "id": "1953", + "id": "2002", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(96,41): error TS2322: Type 'undefined' is not assignable to type 'boolean'.\n", @@ -64646,23 +66139,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "247", - "248", - "249", - "250", - "251", - "252", - "253", - "327", - "544", - "545", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "255", + "256", + "257", + "258", + "259", + "260", + "261", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { @@ -64676,7 +66169,7 @@ } }, { - "id": "1954", + "id": "2003", "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/sandbox9682209/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:482:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64684,20 +66177,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "252" + "260" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "250", - "252", - "253", - "544", - "545", - "557" + "227", + "228", + "232", + "233", + "234", + "258", + "260", + "261", + "554", + "555", + "567" ], "location": { "end": { @@ -64711,7 +66204,7 @@ } }, { - "id": "1955", + "id": "2004", "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/sandbox9682209/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -64719,20 +66212,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "250", - "252", - "253", - "544", - "545", - "557" + "227", + "228", + "232", + "233", + "234", + "258", + "260", + "261", + "554", + "555", + "567" ], "location": { "end": { @@ -64746,7 +66239,7 @@ } }, { - "id": "1956", + "id": "2005", "mutatorName": "LogicalOperator", "replacement": "game instanceof CreateGameDto && getGroupOfPlayers(game.players, source).some(werewolf => isPlayerAliveAndPowerful(werewolf))", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(96,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", @@ -64754,17 +66247,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "250", - "252", - "253", - "544", - "545", - "557" + "227", + "228", + "232", + "233", + "234", + "258", + "260", + "261", + "554", + "555", + "567" ], "location": { "end": { @@ -64778,7 +66271,7 @@ } }, { - "id": "1957", + "id": "2006", "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/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:527:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64786,17 +66279,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "253" + "261" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "567" ], "location": { "end": { @@ -64810,7 +66303,7 @@ } }, { - "id": "1958", + "id": "2007", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -163,14 +163,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-08-01T12:06:42.093Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -64818,17 +66311,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "219" + "227" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "252", - "253", - "557" + "227", + "228", + "232", + "233", + "234", + "260", + "261", + "567" ], "location": { "end": { @@ -64842,7 +66335,7 @@ } }, { - "id": "1959", + "id": "2008", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(97,40): error TS2322: Type 'undefined' is not assignable to type 'boolean'.\n", @@ -64850,23 +66343,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "247", - "248", - "249", - "250", - "251", - "252", - "253", - "327", - "544", - "545", - "556", - "557" + "227", + "228", + "232", + "233", + "234", + "255", + "256", + "257", + "258", + "259", + "260", + "261", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { @@ -64880,14 +66373,14 @@ } }, { - "id": "1960", + "id": "2009", "mutatorName": "BooleanLiteral", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "251" + "259" ], "location": { "end": { @@ -64901,7 +66394,7 @@ } }, { - "id": "1961", + "id": "2010", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(102,85): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -64909,19 +66402,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "254", - "255", - "256", - "257", - "258", - "259", - "260", - "261", - "545" + "227", + "228", + "233", + "234", + "262", + "263", + "264", + "265", + "266", + "267", + "268", + "269", + "555" ], "location": { "end": { @@ -64935,7 +66428,7 @@ } }, { - "id": "1962", + "id": "2011", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(104,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(106,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(107,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(109,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\nsrc/modules/game/providers/services/game-play/game-play.service.ts(110,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", @@ -64943,19 +66436,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "254", - "255", - "256", - "257", - "258", - "259", - "260", - "261", - "545" + "227", + "228", + "233", + "234", + "262", + "263", + "264", + "265", + "266", + "267", + "268", + "269", + "555" ], "location": { "end": { @@ -64969,7 +66462,7 @@ } }, { - "id": "1963", + "id": "2012", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(104,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(106,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(107,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(109,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", @@ -64977,19 +66470,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "254", - "255", - "256", - "257", - "258", - "259", - "260", - "261", - "545" + "227", + "228", + "233", + "234", + "262", + "263", + "264", + "265", + "266", + "267", + "268", + "269", + "555" ], "location": { "end": { @@ -65003,7 +66496,7 @@ } }, { - "id": "1964", + "id": "2013", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(104,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(105,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(107,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", @@ -65011,8 +66504,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "254", - "545" + "262", + "555" ], "location": { "end": { @@ -65026,7 +66519,7 @@ } }, { - "id": "1965", + "id": "2014", "mutatorName": "BooleanLiteral", "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.WITCH)", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:541:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65034,11 +66527,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "254" + "262" ], "coveredBy": [ - "254", - "545" + "262", + "555" ], "location": { "end": { @@ -65052,7 +66545,7 @@ } }, { - "id": "1966", + "id": "2015", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.WITCH)", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:541:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65060,11 +66553,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "254" + "262" ], "coveredBy": [ - "254", - "545" + "262", + "555" ], "location": { "end": { @@ -65078,7 +66571,7 @@ } }, { - "id": "1967", + "id": "2016", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9150327/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:621:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65086,20 +66579,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "260" + "268" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65113,7 +66606,7 @@ } }, { - "id": "1968", + "id": "2017", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9150327/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:592:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65121,20 +66614,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "258" + "266" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65148,24 +66641,24 @@ } }, { - "id": "1969", + "id": "2018", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.LIFE)).length >= 0", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65179,24 +66672,24 @@ } }, { - "id": "1970", + "id": "2019", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.LIFE)).length <= 0", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65210,7 +66703,7 @@ } }, { - "id": "1971", + "id": "2020", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9150327/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:636:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65218,20 +66711,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "261" + "269" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65245,7 +66738,7 @@ } }, { - "id": "1972", + "id": "2021", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65253,20 +66746,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "258" + "266" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65280,7 +66773,7 @@ } }, { - "id": "1973", + "id": "2022", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length >= 0", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9150327/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:636:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65288,20 +66781,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "261" + "269" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65315,7 +66808,7 @@ } }, { - "id": "1974", + "id": "2023", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WITCH_POTIONS.DEATH)).length <= 0", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65323,20 +66816,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "258" + "266" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65350,7 +66843,7 @@ } }, { - "id": "1975", + "id": "2024", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -162,10 +162,15 @@\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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:91:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65358,20 +66851,20 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "220" + "228" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65385,7 +66878,7 @@ } }, { - "id": "1976", + "id": "2025", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -159,15 +159,10 @@\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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65393,20 +66886,20 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "219" + "227" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65420,7 +66913,7 @@ } }, { - "id": "1977", + "id": "2026", "mutatorName": "LogicalOperator", "replacement": "!!witchPlayer && isPlayerAliveAndPowerful(witchPlayer) || !doSkipCallIfNoTarget || !hasWitchUsedLifePotion || !hasWitchUsedDeathPotion", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -162,10 +162,15 @@\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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:91:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65428,20 +66921,20 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "220" + "228" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65455,7 +66948,7 @@ } }, { - "id": "1978", + "id": "2027", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -162,10 +162,15 @@\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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:91:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65463,20 +66956,20 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "220" + "228" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65490,7 +66983,7 @@ } }, { - "id": "1979", + "id": "2028", "mutatorName": "LogicalOperator", "replacement": "!!witchPlayer || isPlayerAliveAndPowerful(witchPlayer)", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(110,54): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -65498,17 +66991,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65522,7 +67015,7 @@ } }, { - "id": "1980", + "id": "2029", "mutatorName": "BooleanLiteral", "replacement": "!witchPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(110,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -65530,17 +67023,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65554,7 +67047,7 @@ } }, { - "id": "1981", + "id": "2030", "mutatorName": "BooleanLiteral", "replacement": "witchPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(110,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -65562,17 +67055,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "255", - "256", - "257", - "258", - "259", - "260", - "261" + "227", + "228", + "233", + "234", + "263", + "264", + "265", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65586,7 +67079,7 @@ } }, { - "id": "1982", + "id": "2031", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65594,15 +67087,15 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "258" + "266" ], "coveredBy": [ - "219", - "225", - "258", - "259", - "260", - "261" + "227", + "233", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65616,7 +67109,7 @@ } }, { - "id": "1983", + "id": "2032", "mutatorName": "LogicalOperator", "replacement": "(!doSkipCallIfNoTarget || !hasWitchUsedLifePotion) && !hasWitchUsedDeathPotion", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9150327/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:606:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65624,15 +67117,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "259" + "267" ], "coveredBy": [ - "219", - "225", - "258", - "259", - "260", - "261" + "227", + "233", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65646,7 +67139,7 @@ } }, { - "id": "1984", + "id": "2033", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9150327/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:606:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65654,15 +67147,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "259" + "267" ], "coveredBy": [ - "219", - "225", - "258", - "259", - "260", - "261" + "227", + "233", + "266", + "267", + "268", + "269" ], "location": { "end": { @@ -65676,7 +67169,7 @@ } }, { - "id": "1985", + "id": "2034", "mutatorName": "LogicalOperator", "replacement": "!doSkipCallIfNoTarget && !hasWitchUsedLifePotion", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9150327/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:606:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65684,113 +67177,217 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "259" + "267" ], "coveredBy": [ - "219", - "225", - "258", - "259", - "260", - "261" + "227", + "233", + "266", + "267", + "268", + "269" + ], + "location": { + "end": { + "column": 119, + "line": 110 + }, + "start": { + "column": 71, + "line": 110 + } + } + }, + { + "id": "2035", + "mutatorName": "BooleanLiteral", + "replacement": "doSkipCallIfNoTarget", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "266" + ], + "coveredBy": [ + "227", + "233", + "266", + "267", + "268", + "269" + ], + "location": { + "end": { + "column": 92, + "line": 110 + }, + "start": { + "column": 71, + "line": 110 + } + } + }, + { + "id": "2036", + "mutatorName": "BooleanLiteral", + "replacement": "hasWitchUsedLifePotion", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "266" + ], + "coveredBy": [ + "266", + "268", + "269" + ], + "location": { + "end": { + "column": 119, + "line": 110 + }, + "start": { + "column": 96, + "line": 110 + } + } + }, + { + "id": "2037", + "mutatorName": "BooleanLiteral", + "replacement": "hasWitchUsedDeathPotion", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "266" + ], + "coveredBy": [ + "266", + "269" ], "location": { "end": { - "column": 119, + "column": 147, "line": 110 }, "start": { - "column": 71, + "column": 123, "line": 110 } } }, { - "id": "1986", - "mutatorName": "BooleanLiteral", - "replacement": "doSkipCallIfNoTarget", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2038", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(113,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "258" - ], + "killedBy": [], "coveredBy": [ - "219", - "225", - "258", - "259", - "260", - "261" + "233", + "270", + "271", + "272", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "554" ], "location": { "end": { - "column": 92, - "line": 110 + "column": 4, + "line": 123 }, "start": { - "column": 71, - "line": 110 + "column": 95, + "line": 113 } } }, { - "id": "1987", - "mutatorName": "BooleanLiteral", - "replacement": "hasWitchUsedLifePotion", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2039", + "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:673:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 12, "static": false, "killedBy": [ - "258" + "271" ], "coveredBy": [ - "219", - "258", - "260", - "261" + "233", + "270", + "271", + "272", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "554" ], "location": { "end": { - "column": 119, - "line": 110 + "column": 61, + "line": 115 }, "start": { - "column": 96, - "line": 110 + "column": 41, + "line": 115 } } }, { - "id": "1988", - "mutatorName": "BooleanLiteral", - "replacement": "hasWitchUsedDeathPotion", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6009138/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:591:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -75,15 +75,10 @@\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 12, "static": false, "killedBy": [ - "258" + "233" ], "coveredBy": [ - "258", - "261" + "233", + "270", + "271", + "272", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "554" ], "location": { "end": { - "column": 147, - "line": 110 + "column": 61, + "line": 115 }, "start": { - "column": 123, - "line": 110 + "column": 41, + "line": 115 } } }, { - "id": "1992", + "id": "2041", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:522:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65798,21 +67395,21 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "263" + "271" ], "coveredBy": [ - "225", - "262", - "263", - "264", - "265", - "266", - "267", - "268", - "269", + "233", "270", "271", - "544" + "272", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "554" ], "location": { "end": { @@ -65826,7 +67423,7 @@ } }, { - "id": "1993", + "id": "2042", "mutatorName": "EqualityOperator", "replacement": "wakingUpInterval <= 0", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -75,15 +75,10 @@\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65834,21 +67431,21 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "225" + "233" ], "coveredBy": [ - "225", - "262", - "263", - "264", - "265", - "266", - "267", - "268", - "269", + "233", "270", "271", - "544" + "272", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "554" ], "location": { "end": { @@ -65862,7 +67459,73 @@ } }, { - "id": "1996", + "id": "2043", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(117,68): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(120,65): 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-play.service.ts(121,58): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(122,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", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "233", + "270", + "271", + "272", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "554" + ], + "location": { + "end": { + "column": 38, + "line": 116 + }, + "start": { + "column": 9, + "line": 116 + } + } + }, + { + "id": "2044", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(117,68): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(120,65): 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-play.service.ts(121,58): 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", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "233", + "270", + "271", + "272", + "273", + "274", + "275", + "276", + "277", + "278", + "279", + "554" + ], + "location": { + "end": { + "column": 38, + "line": 116 + }, + "start": { + "column": 9, + "line": 116 + } + } + }, + { + "id": "2045", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(97,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", @@ -65870,10 +67533,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "262", - "263", - "264", - "544" + "270", + "271", + "272", + "554" ], "location": { "end": { @@ -65887,7 +67550,7 @@ } }, { - "id": "1997", + "id": "2046", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:509:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65895,13 +67558,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "262" + "270" ], "coveredBy": [ - "262", - "263", - "264", - "544" + "270", + "271", + "272", + "554" ], "location": { "end": { @@ -65915,17 +67578,17 @@ } }, { - "id": "1998", + "id": "2047", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "262", - "263", - "264", - "544" + "270", + "271", + "272", + "554" ], "location": { "end": { @@ -65939,7 +67602,7 @@ } }, { - "id": "1999", + "id": "2048", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:509:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65947,13 +67610,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "262" + "270" ], "coveredBy": [ - "262", - "263", - "264", - "544" + "270", + "271", + "272", + "554" ], "location": { "end": { @@ -65967,7 +67630,7 @@ } }, { - "id": "2000", + "id": "2049", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:509:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -65975,12 +67638,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "262" + "270" ], "coveredBy": [ - "262", - "264", - "544" + "270", + "272", + "554" ], "location": { "end": { @@ -65994,16 +67657,16 @@ } }, { - "id": "2001", + "id": "2050", "mutatorName": "BooleanLiteral", "replacement": "getPlayerDtoWithRole(game.players, ROLE_NAMES.WHITE_WEREWOLF)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "262", - "264", - "544" + "270", + "272", + "554" ], "location": { "end": { @@ -66017,7 +67680,7 @@ } }, { - "id": "2002", + "id": "2051", "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:578:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -66025,17 +67688,17 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "265" + "273" ], "coveredBy": [ - "225", - "265", - "266", - "267", - "268", - "269", - "270", - "271" + "233", + "273", + "274", + "275", + "276", + "277", + "278", + "279" ], "location": { "end": { @@ -66049,490 +67712,336 @@ } }, { - "id": "2003", + "id": "2052", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -75,15 +75,10 @@\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "225" - ], - "coveredBy": [ - "225", - "265", - "266", - "267", - "268", - "269", - "270", - "271" - ], - "location": { - "end": { - "column": 169, - "line": 122 - }, - "start": { - "column": 12, - "line": 122 - } - } - }, - { - "id": "2004", - "mutatorName": "LogicalOperator", - "replacement": "shouldWhiteWerewolfBeCalled && !!whiteWerewolfPlayer && isPlayerAliveAndPowerful(whiteWerewolfPlayer) || !doSkipCallIfNoTarget || !!availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:578:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "265" - ], - "coveredBy": [ - "225", - "265", - "266", - "267", - "268", - "269", - "270", - "271" - ], - "location": { - "end": { - "column": 169, - "line": 122 - }, - "start": { - "column": 12, - "line": 122 - } - } - }, - { - "id": "2005", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:578:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "265" - ], - "coveredBy": [ - "225", - "265", - "266", - "267", - "268", - "269", - "270", - "271" - ], - "location": { - "end": { - "column": 113, - "line": 122 - }, - "start": { - "column": 12, - "line": 122 - } - } - }, - { - "id": "2008", - "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/sandbox8706353/src/modules/game/helpers/player/player.helper.ts:86:194)\n at GamePlayService.isWhiteWerewolfGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/src/modules/game/providers/services/game-play/game-play.service.ts:271:890)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:578:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "265" - ], - "coveredBy": [ - "225", - "265", - "266", - "267", - "268", - "269", - "270", - "271" - ], - "location": { - "end": { - "column": 64, - "line": 122 - }, - "start": { - "column": 12, - "line": 122 - } - } - }, - { - "id": "2016", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(125,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "224", - "225", - "226", - "272", - "273", - "274", - "275", - "276", - "544", - "545" - ], - "location": { - "end": { - "column": 4, - "line": 132 - }, - "start": { - "column": 91, - "line": 125 - } - } - }, - { - "id": "2017", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(127,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(130,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\nsrc/modules/game/providers/services/game-play/game-play.service.ts(131,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", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "224", - "225", - "226", - "272", - "273", - "274", - "275", - "276", - "544", - "545" - ], - "location": { - "end": { - "column": 38, - "line": 126 - }, - "start": { - "column": 9, - "line": 126 - } - } - }, - { - "id": "2018", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(127,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(130,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", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "224", - "225", - "226", - "272", - "273", - "274", - "275", - "276", - "544", - "545" - ], - "location": { - "end": { - "column": 38, - "line": 126 - }, - "start": { - "column": 9, - "line": 126 - } - } - }, - { - "id": "2019", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(128,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", - "status": "CompileError", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "233" + ], "coveredBy": [ - "272", + "233", "273", - "544", - "545" + "274", + "275", + "276", + "277", + "278", + "279" ], "location": { "end": { - "column": 6, - "line": 128 + "column": 169, + "line": 122 }, "start": { - "column": 40, - "line": 126 + "column": 12, + "line": 122 } } }, { - "id": "2020", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:613:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2053", + "mutatorName": "LogicalOperator", + "replacement": "shouldWhiteWerewolfBeCalled && !!whiteWerewolfPlayer && isPlayerAliveAndPowerful(whiteWerewolfPlayer) || !doSkipCallIfNoTarget || !!availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:578:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "272" + "273" ], "coveredBy": [ - "272", + "233", "273", - "544", - "545" + "274", + "275", + "276", + "277", + "278", + "279" ], "location": { "end": { - "column": 73, - "line": 127 + "column": 169, + "line": 122 }, "start": { - "column": 14, - "line": 127 + "column": 12, + "line": 122 } } }, { - "id": "2021", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:613:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2054", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:578:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "272" + "273" ], "coveredBy": [ - "272", + "233", "273", - "544", - "545" + "274", + "275", + "276", + "277", + "278", + "279" ], "location": { "end": { - "column": 73, - "line": 127 + "column": 113, + "line": 122 }, "start": { - "column": 15, - "line": 127 + "column": 12, + "line": 122 } } }, { - "id": "2022", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "id": "2055", + "mutatorName": "LogicalOperator", + "replacement": "shouldWhiteWerewolfBeCalled && !!whiteWerewolfPlayer || isPlayerAliveAndPowerful(whiteWerewolfPlayer)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(122,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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "226", + "233", + "273", "274", "275", - "276" + "276", + "277", + "278", + "279" ], "location": { "end": { - "column": 90, - "line": 131 + "column": 113, + "line": 122 }, "start": { "column": 12, - "line": 131 + "line": 122 } } }, { - "id": "2023", + "id": "2056", "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(122,45): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "226", + "233", + "273", "274", "275", - "276" + "276", + "277", + "278", + "279" ], "location": { "end": { - "column": 90, - "line": 131 + "column": 64, + "line": 122 }, "start": { "column": 12, - "line": 131 + "line": 122 } } }, { - "id": "2024", + "id": "2057", "mutatorName": "LogicalOperator", - "replacement": "!!piedPiperPlayer || canPiedPiperCharm(piedPiperPlayer, isPowerlessIfInfected)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(131,51): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "replacement": "shouldWhiteWerewolfBeCalled || !!whiteWerewolfPlayer", + "statusReason": "TypeError: Cannot read properties of undefined (reading 'isAlive')\n at isPlayerAliveAndPowerful (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/src/modules/game/helpers/player/player.helper.ts:86:194)\n at GamePlayService.isWhiteWerewolfGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/src/modules/game/providers/services/game-play/game-play.service.ts:271:890)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:578:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "273" + ], "coveredBy": [ - "224", - "225", - "226", + "233", + "273", "274", "275", - "276" + "276", + "277", + "278", + "279" ], "location": { "end": { - "column": 90, - "line": 131 + "column": 64, + "line": 122 }, "start": { "column": 12, - "line": 131 + "line": 122 } } }, { - "id": "2025", + "id": "2058", "mutatorName": "BooleanLiteral", - "replacement": "!piedPiperPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(131,50): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "replacement": "!whiteWerewolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(122,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "226", - "274", + "233", + "273", "275", - "276" + "276", + "277", + "278", + "279" ], "location": { "end": { - "column": 29, - "line": 131 + "column": 64, + "line": 122 }, "start": { - "column": 12, - "line": 131 + "column": 43, + "line": 122 } } }, { - "id": "2026", + "id": "2059", "mutatorName": "BooleanLiteral", - "replacement": "piedPiperPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(131,50): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "replacement": "whiteWerewolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(122,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "224", - "225", - "226", - "274", + "233", + "273", "275", - "276" + "276", + "277", + "278", + "279" ], "location": { "end": { - "column": 29, - "line": 131 + "column": 64, + "line": 122 }, "start": { - "column": 13, - "line": 131 + "column": 44, + "line": 122 } } }, { - "id": "2030", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(115,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-play.service.ts(116,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", - "status": "CompileError", + "id": "2060", + "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:751:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "277" + ], "coveredBy": [ + "233", "277", - "278" + "278", + "279" ], "location": { "end": { - "column": 6, - "line": 137 + "column": 168, + "line": 122 }, "start": { - "column": 40, - "line": 135 + "column": 118, + "line": 122 } } }, { - "id": "2031", + "id": "2061", + "mutatorName": "LogicalOperator", + "replacement": "!doSkipCallIfNoTarget && !!availableTargets.length", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -75,15 +75,10 @@\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "233" + ], + "coveredBy": [ + "233", + "277", + "278", + "279" + ], + "location": { + "end": { + "column": 168, + "line": 122 + }, + "start": { + "column": 118, + "line": 122 + } + } + }, + { + "id": "2062", "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.BIG_BAD_WOLF)", - "status": "Timeout", + "replacement": "doSkipCallIfNoTarget", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -75,15 +75,10 @@\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "233" + ], "coveredBy": [ + "233", "277", - "278" + "278", + "279" ], "location": { "end": { - "column": 75, - "line": 136 + "column": 139, + "line": 122 }, "start": { - "column": 14, - "line": 136 + "column": 118, + "line": 122 } } }, { - "id": "2032", + "id": "2063", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:677:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "!availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:751:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, @@ -66541,372 +68050,364 @@ ], "coveredBy": [ "277", - "278" + "279" ], "location": { "end": { - "column": 75, - "line": 136 + "column": 168, + "line": 122 }, "start": { - "column": 15, - "line": 136 + "column": 143, + "line": 122 } } }, { - "id": "2033", - "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/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:849:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2064", + "mutatorName": "BooleanLiteral", + "replacement": "availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:751:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 2, "static": false, "killedBy": [ + "277" + ], + "coveredBy": [ + "277", "279" ], + "location": { + "end": { + "column": 168, + "line": 122 + }, + "start": { + "column": 144, + "line": 122 + } + } + }, + { + "id": "2065", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(125,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "225", - "279", + "232", + "233", + "234", "280", "281", "282", "283", "284", - "285", - "286" + "554", + "555" ], "location": { "end": { - "column": 130, - "line": 143 + "column": 4, + "line": 132 }, "start": { - "column": 12, - "line": 142 + "column": 91, + "line": 125 } } }, { - "id": "2034", + "id": "2066", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(127,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(130,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\nsrc/modules/game/providers/services/game-play/game-play.service.ts(131,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", + "status": "CompileError", "static": false, - "killedBy": [ - "225" - ], + "killedBy": [], "coveredBy": [ - "225", - "279", + "232", + "233", + "234", "280", "281", "282", "283", "284", - "285", - "286" + "554", + "555" ], "location": { "end": { - "column": 130, - "line": 143 + "column": 38, + "line": 126 }, "start": { - "column": 12, - "line": 142 + "column": 9, + "line": 126 } } }, { - "id": "2035", - "mutatorName": "LogicalOperator", - "replacement": "!!bigBadWolfPlayer && isPlayerAliveAndPowerful(bigBadWolfPlayer) || !isPowerlessIfWerewolfDies || areAllWerewolvesAlive(game.players) && (!doSkipCallIfNoTarget || !!availableTargets.length)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:732:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2067", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(127,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(130,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", + "status": "CompileError", "static": false, - "killedBy": [ - "279" - ], + "killedBy": [], "coveredBy": [ - "225", - "279", + "232", + "233", + "234", "280", "281", "282", "283", "284", - "285", - "286" + "554", + "555" ], "location": { "end": { - "column": 130, - "line": 143 + "column": 38, + "line": 126 }, "start": { - "column": 12, - "line": 142 + "column": 9, + "line": 126 } } }, { - "id": "2036", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:701:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2068", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(128,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", + "status": "CompileError", "static": false, - "killedBy": [ - "279" - ], + "killedBy": [], "coveredBy": [ - "225", - "279", "280", "281", - "282", - "283", - "284", - "285", - "286" + "554", + "555" ], "location": { "end": { - "column": 76, - "line": 142 + "column": 6, + "line": 128 }, "start": { - "column": 12, - "line": 142 + "column": 40, + "line": 126 } } }, { - "id": "2040", - "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/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:874:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2069", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:613:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 4, "static": false, "killedBy": [ - "281" + "280" ], "coveredBy": [ - "225", + "280", "281", - "282", - "283", - "284", - "285", - "286" + "554", + "555" ], "location": { "end": { - "column": 129, - "line": 143 + "column": 73, + "line": 127 }, "start": { - "column": 8, - "line": 143 + "column": 14, + "line": 127 } } }, { - "id": "2041", - "mutatorName": "LogicalOperator", - "replacement": "!isPowerlessIfWerewolfDies && areAllWerewolvesAlive(game.players) && (!doSkipCallIfNoTarget || !!availableTargets.length)", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2070", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:613:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "225" + "280" ], "coveredBy": [ - "225", + "280", "281", - "282", - "283", - "284", - "285", - "286" + "554", + "555" ], "location": { "end": { - "column": 129, - "line": 143 + "column": 73, + "line": 127 }, "start": { - "column": 8, - "line": 143 + "column": 15, + "line": 127 } } }, { - "id": "2042", - "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/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:874:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2071", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", "static": false, - "killedBy": [ - "281" - ], + "killedBy": [], "coveredBy": [ - "225", - "281", + "232", + "233", + "234", "282", "283", - "284", - "285", - "286" + "284" ], "location": { "end": { - "column": 34, - "line": 143 + "column": 90, + "line": 131 }, "start": { - "column": 8, - "line": 143 + "column": 12, + "line": 131 } } }, { - "id": "2043", + "id": "2072", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "225" - ], + "killedBy": [], "coveredBy": [ - "225", - "281", + "232", + "233", + "234", "282", "283", - "285", - "286" + "284" ], "location": { "end": { - "column": 129, - "line": 143 + "column": 90, + "line": 131 }, "start": { - "column": 38, - "line": 143 + "column": 12, + "line": 131 } } }, { - "id": "2044", + "id": "2073", "mutatorName": "LogicalOperator", - "replacement": "areAllWerewolvesAlive(game.players) || !doSkipCallIfNoTarget || !!availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:874:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "replacement": "!!piedPiperPlayer || canPiedPiperCharm(piedPiperPlayer, isPowerlessIfInfected)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(131,51): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "281" - ], + "killedBy": [], "coveredBy": [ - "225", - "281", + "232", + "233", + "234", "282", "283", - "285", - "286" + "284" ], "location": { "end": { - "column": 129, - "line": 143 + "column": 90, + "line": 131 }, "start": { - "column": 38, - "line": 143 + "column": 12, + "line": 131 } } }, { - "id": "2046", - "mutatorName": "LogicalOperator", - "replacement": "!doSkipCallIfNoTarget && !!availableTargets.length", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:221:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2074", + "mutatorName": "BooleanLiteral", + "replacement": "!piedPiperPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(131,50): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "225" - ], + "killedBy": [], "coveredBy": [ - "225", + "232", + "233", + "234", "282", "283", - "285", - "286" + "284" ], "location": { "end": { - "column": 128, - "line": 143 + "column": 29, + "line": 131 }, "start": { - "column": 78, - "line": 143 + "column": 12, + "line": 131 } } }, { - "id": "2047", + "id": "2075", "mutatorName": "BooleanLiteral", - "replacement": "doSkipCallIfNoTarget", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:221:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "piedPiperPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(131,50): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "225" - ], + "killedBy": [], "coveredBy": [ - "225", + "232", + "233", + "234", "282", "283", - "285", - "286" + "284" ], "location": { "end": { - "column": 99, - "line": 143 + "column": 29, + "line": 131 }, "start": { - "column": 78, - "line": 143 + "column": 13, + "line": 131 } } }, { - "id": "2050", + "id": "2076", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(146,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(134,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": [ - "225", + "233", + "285", + "286", "287", "288", "289", @@ -66914,33 +68415,31 @@ "291", "292", "293", - "294", - "295" + "294" ], "location": { "end": { "column": 4, - "line": 155 + "line": 144 }, "start": { - "column": 95, - "line": 146 + "column": 92, + "line": 134 } } }, { - "id": "2051", + "id": "2077", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:782:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 11, + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(136,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(139,62): 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-play.service.ts(141,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[]'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(142,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-play.service.ts(143,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", + "status": "CompileError", "static": false, - "killedBy": [ - "288" - ], + "killedBy": [], "coveredBy": [ - "225", + "233", + "285", + "286", "287", "288", "289", @@ -66948,29 +68447,31 @@ "291", "292", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 61, - "line": 148 + "column": 38, + "line": 135 }, "start": { - "column": 41, - "line": 148 + "column": 9, + "line": 135 } } }, { - "id": "2052", + "id": "2078", "mutatorName": "ConditionalExpression", "replacement": "false", - "status": "Timeout", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(136,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(139,62): 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-play.service.ts(141,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[]'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(143,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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "225", + "233", + "285", + "286", "287", "288", "289", @@ -66978,94 +68479,103 @@ "291", "292", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 61, - "line": 148 + "column": 38, + "line": 135 }, "start": { - "column": 41, - "line": 148 + "column": 9, + "line": 135 } } }, { - "id": "2053", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:782:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2079", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(115,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-play.service.ts(116,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", + "status": "CompileError", "static": false, - "killedBy": [ - "288" - ], + "killedBy": [], "coveredBy": [ - "225", - "287", - "288", - "289", - "290", - "291", - "292", - "293", - "294", - "295" + "285", + "286" ], "location": { "end": { - "column": 61, - "line": 148 + "column": 6, + "line": 137 }, "start": { - "column": 41, - "line": 148 + "column": 40, + "line": 135 } } }, { - "id": "2054", - "mutatorName": "EqualityOperator", - "replacement": "wakingUpInterval <= 0", + "id": "2080", + "mutatorName": "BooleanLiteral", + "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.BIG_BAD_WOLF)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "225", - "287", - "288", - "289", - "290", - "291", - "292", - "293", - "294", - "295" + "285", + "286" ], "location": { "end": { - "column": 61, - "line": 148 + "column": 75, + "line": 136 }, "start": { - "column": 41, - "line": 148 + "column": 14, + "line": 136 } } }, { - "id": "2055", + "id": "2081", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:677:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "285" + ], + "coveredBy": [ + "285", + "286" + ], + "location": { + "end": { + "column": 75, + "line": 136 + }, + "start": { + "column": 15, + "line": 136 + } + } + }, + { + "id": "2082", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(150,68): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(152,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", - "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/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:849:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "287" + ], "coveredBy": [ - "225", + "233", "287", "288", "289", @@ -67073,30 +68583,32 @@ "291", "292", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 38, - "line": 149 + "column": 130, + "line": 143 }, "start": { - "column": 9, - "line": 149 + "column": 12, + "line": 142 } } }, { - "id": "2056", + "id": "2083", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(150,68): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(152,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", - "status": "CompileError", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "233" + ], "coveredBy": [ - "225", + "233", "287", "288", "289", @@ -67104,413 +68616,478 @@ "291", "292", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 38, - "line": 149 + "column": 130, + "line": 143 }, "start": { - "column": 9, - "line": 149 + "column": 12, + "line": 142 } } }, { - "id": "2057", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(125,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", - "status": "CompileError", + "id": "2084", + "mutatorName": "LogicalOperator", + "replacement": "!!bigBadWolfPlayer && isPlayerAliveAndPowerful(bigBadWolfPlayer) || !isPowerlessIfWerewolfDies || areAllWerewolvesAlive(game.players) && (!doSkipCallIfNoTarget || !!availableTargets.length)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:732:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "287" + ], "coveredBy": [ + "233", "287", "288", - "289" + "289", + "290", + "291", + "292", + "293", + "294" ], "location": { "end": { - "column": 6, - "line": 151 + "column": 130, + "line": 143 }, "start": { - "column": 40, - "line": 149 + "column": 12, + "line": 142 } } }, { - "id": "2058", + "id": "2085", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:701:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "287" + ], "coveredBy": [ + "233", "287", "288", - "289" + "289", + "290", + "291", + "292", + "293", + "294" ], "location": { "end": { - "column": 108, - "line": 150 + "column": 76, + "line": 142 }, "start": { - "column": 14, - "line": 150 + "column": 12, + "line": 142 } } }, { - "id": "2059", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:795:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2086", + "mutatorName": "LogicalOperator", + "replacement": "!!bigBadWolfPlayer || isPlayerAliveAndPowerful(bigBadWolfPlayer)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(142,59): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "289" - ], + "killedBy": [], "coveredBy": [ + "233", "287", "288", - "289" + "289", + "290", + "291", + "292", + "293", + "294" ], "location": { "end": { - "column": 108, - "line": 150 + "column": 76, + "line": 142 }, "start": { - "column": 14, - "line": 150 + "column": 12, + "line": 142 } } }, { - "id": "2060", - "mutatorName": "LogicalOperator", - "replacement": "shouldThreeBrothersBeCalled || !!getPlayerDtoWithRole(game.players, ROLE_NAMES.THREE_BROTHERS)", - "status": "Timeout", + "id": "2087", + "mutatorName": "BooleanLiteral", + "replacement": "!bigBadWolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(142,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ + "233", "287", "288", - "289" + "289", + "290", + "291", + "292", + "293", + "294" ], "location": { "end": { - "column": 108, - "line": 150 + "column": 30, + "line": 142 }, "start": { - "column": 14, - "line": 150 + "column": 12, + "line": 142 } } }, { - "id": "2061", + "id": "2088", "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.THREE_BROTHERS)", - "status": "Timeout", + "replacement": "bigBadWolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(142,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ + "233", "287", + "288", + "289", + "290", + "291", + "292", + "293", + "294" + ], + "location": { + "end": { + "column": 30, + "line": 142 + }, + "start": { + "column": 13, + "line": 142 + } + } + }, + { + "id": "2089", + "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/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:874:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ "289" ], + "coveredBy": [ + "233", + "289", + "290", + "291", + "292", + "293", + "294" + ], "location": { "end": { - "column": 108, - "line": 150 + "column": 129, + "line": 143 }, "start": { - "column": 45, - "line": 150 + "column": 8, + "line": 143 } } }, { - "id": "2062", - "mutatorName": "BooleanLiteral", - "replacement": "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:769:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2090", + "mutatorName": "LogicalOperator", + "replacement": "!isPowerlessIfWerewolfDies && areAllWerewolvesAlive(game.players) && (!doSkipCallIfNoTarget || !!availableTargets.length)", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "287" + "233" ], "coveredBy": [ - "287", - "289" + "233", + "289", + "290", + "291", + "292", + "293", + "294" ], "location": { "end": { - "column": 108, - "line": 150 + "column": 129, + "line": 143 }, "start": { - "column": 46, - "line": 150 + "column": 8, + "line": 143 } } }, { - "id": "2063", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:807:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2091", + "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/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:874:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 6, "static": false, "killedBy": [ - "290" + "289" ], "coveredBy": [ - "225", + "233", + "289", "290", "291", "292", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 134, - "line": 154 + "column": 34, + "line": 143 }, "start": { - "column": 12, - "line": 154 + "column": 8, + "line": 143 } } }, { - "id": "2064", + "id": "2092", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 3, "static": false, "killedBy": [ - "225" + "233" ], "coveredBy": [ - "225", + "233", + "289", "290", "291", - "292", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 134, - "line": 154 + "column": 129, + "line": 143 }, "start": { - "column": 12, - "line": 154 + "column": 38, + "line": 143 } } }, { - "id": "2065", + "id": "2093", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:807:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "areAllWerewolvesAlive(game.players) || !doSkipCallIfNoTarget || !!availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:874:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "290" + "289" ], "coveredBy": [ - "225", + "233", + "289", "290", "291", - "292", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 134, - "line": 154 + "column": 129, + "line": 143 }, "start": { - "column": 12, - "line": 154 + "column": 38, + "line": 143 } } }, { - "id": "2066", + "id": "2094", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:859:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:918:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "294" + "290" ], "coveredBy": [ - "225", - "292", + "233", + "290", + "291", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 134, - "line": 154 + "column": 128, + "line": 143 }, "start": { - "column": 43, - "line": 154 + "column": 78, + "line": 143 } } }, { - "id": "2067", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:846:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2095", + "mutatorName": "LogicalOperator", + "replacement": "!doSkipCallIfNoTarget && !!availableTargets.length", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:221:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "293" + "233" ], "coveredBy": [ - "225", - "292", + "233", + "290", + "291", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 134, - "line": 154 + "column": 128, + "line": 143 }, "start": { - "column": 43, - "line": 154 + "column": 78, + "line": 143 } } }, { - "id": "2068", - "mutatorName": "EqualityOperator", - "replacement": "threeBrothersPlayers.filter(brother => brother.isAlive).length < minimumBrotherCountToCall", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2096", + "mutatorName": "BooleanLiteral", + "replacement": "doSkipCallIfNoTarget", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4822282/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:221:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 4, "static": false, "killedBy": [ - "225" + "233" ], "coveredBy": [ - "225", - "292", + "233", + "290", + "291", "293", - "294", - "295" + "294" ], "location": { "end": { - "column": 134, - "line": 154 + "column": 99, + "line": 143 }, "start": { - "column": 43, - "line": 154 + "column": 78, + "line": 143 } } }, { - "id": "2069", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:859:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2097", + "mutatorName": "BooleanLiteral", + "replacement": "!availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:918:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "294" + "290" ], "coveredBy": [ - "225", - "292", - "293", - "294", - "295" + "290", + "291" ], "location": { "end": { - "column": 98, - "line": 154 + "column": 128, + "line": 143 }, "start": { - "column": 43, - "line": 154 + "column": 103, + "line": 143 } } }, { - "id": "2070", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2098", + "mutatorName": "BooleanLiteral", + "replacement": "availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:918:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "225" + "290" ], "coveredBy": [ - "225", - "292", - "293", - "294", - "295" + "290", + "291" ], "location": { "end": { - "column": 97, - "line": 154 + "column": 128, + "line": 143 }, "start": { - "column": 71, - "line": 154 + "column": 104, + "line": 143 } } }, { - "id": "2071", + "id": "2099", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(157,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(146,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": [ - "225", + "233", + "295", "296", "297", "298", @@ -67523,27 +69100,28 @@ "location": { "end": { "column": 4, - "line": 165 + "line": 155 }, "start": { - "column": 92, - "line": 157 + "column": 95, + "line": 146 } } }, { - "id": "2072", + "id": "2100", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:899:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:782:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 11, "static": false, "killedBy": [ - "297" + "296" ], "coveredBy": [ - "225", + "233", + "295", "296", "297", "298", @@ -67555,28 +69133,25 @@ ], "location": { "end": { - "column": 58, - "line": 159 + "column": 61, + "line": 148 }, "start": { - "column": 38, - "line": 159 + "column": 41, + "line": 148 } } }, { - "id": "2073", + "id": "2101", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "225" - ], + "killedBy": [], "coveredBy": [ - "225", + "233", + "295", "296", "297", "298", @@ -67588,28 +69163,29 @@ ], "location": { "end": { - "column": 58, - "line": 159 + "column": 61, + "line": 148 }, "start": { - "column": 38, - "line": 159 + "column": 41, + "line": 148 } } }, { - "id": "2074", + "id": "2102", "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:930:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:782:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 11, "static": false, "killedBy": [ - "297" + "296" ], "coveredBy": [ - "225", + "233", + "295", "296", "297", "298", @@ -67621,28 +69197,25 @@ ], "location": { "end": { - "column": 58, - "line": 159 + "column": 61, + "line": 148 }, "start": { - "column": 38, - "line": 159 + "column": 41, + "line": 148 } } }, { - "id": "2075", + "id": "2103", "mutatorName": "EqualityOperator", "replacement": "wakingUpInterval <= 0", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, + "status": "Timeout", "static": false, - "killedBy": [ - "225" - ], + "killedBy": [], "coveredBy": [ - "225", + "233", + "295", "296", "297", "298", @@ -67654,25 +69227,26 @@ ], "location": { "end": { - "column": 58, - "line": 159 + "column": 61, + "line": 148 }, "start": { - "column": 38, - "line": 159 + "column": 41, + "line": 148 } } }, { - "id": "2076", + "id": "2104", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(161,65): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(163,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", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(150,68): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(152,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "225", + "233", + "295", "296", "297", "298", @@ -67685,24 +69259,25 @@ "location": { "end": { "column": 38, - "line": 160 + "line": 149 }, "start": { "column": 9, - "line": 160 + "line": 149 } } }, { - "id": "2077", + "id": "2105", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(161,65): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(163,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", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(150,68): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(152,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "225", + "233", + "295", "296", "297", "298", @@ -67715,180 +69290,173 @@ "location": { "end": { "column": 38, - "line": 160 + "line": 149 }, "start": { "column": 9, - "line": 160 + "line": 149 } } }, { - "id": "2078", + "id": "2106", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(136,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", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(125,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ + "295", "296", - "297", - "298" + "297" ], "location": { "end": { "column": 6, - "line": 162 + "line": 151 }, "start": { "column": 40, - "line": 160 + "line": 149 } } }, { - "id": "2079", + "id": "2107", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:886:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "296" - ], + "killedBy": [], "coveredBy": [ + "295", "296", - "297", - "298" + "297" ], "location": { "end": { - "column": 102, - "line": 161 + "column": 108, + "line": 150 }, "start": { "column": 14, - "line": 161 + "line": 150 } } }, { - "id": "2080", + "id": "2108", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:912:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:795:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "298" + "297" ], "coveredBy": [ + "295", "296", - "297", - "298" + "297" ], "location": { "end": { - "column": 102, - "line": 161 + "column": 108, + "line": 150 }, "start": { "column": 14, - "line": 161 + "line": 150 } } }, { - "id": "2081", + "id": "2109", "mutatorName": "LogicalOperator", - "replacement": "shouldTwoSistersBeCalled || !!getPlayerDtoWithRole(game.players, ROLE_NAMES.TWO_SISTERS)", + "replacement": "shouldThreeBrothersBeCalled || !!getPlayerDtoWithRole(game.players, ROLE_NAMES.THREE_BROTHERS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ + "295", "296", - "297", - "298" + "297" ], "location": { "end": { - "column": 102, - "line": 161 + "column": 108, + "line": 150 }, "start": { "column": 14, - "line": 161 + "line": 150 } } }, { - "id": "2082", + "id": "2110", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:886:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "replacement": "!getPlayerDtoWithRole(game.players, ROLE_NAMES.THREE_BROTHERS)", + "status": "Timeout", "static": false, - "killedBy": [ - "296" - ], + "killedBy": [], "coveredBy": [ - "296", - "298" + "295", + "297" ], "location": { "end": { - "column": 102, - "line": 161 + "column": 108, + "line": 150 }, "start": { - "column": 42, - "line": 161 + "column": 45, + "line": 150 } } }, { - "id": "2083", + "id": "2111", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:886:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "getPlayerDtoWithRole(game.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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:769:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "296" + "295" ], "coveredBy": [ - "296", - "298" + "295", + "297" ], "location": { "end": { - "column": 102, - "line": 161 + "column": 108, + "line": 150 }, "start": { - "column": 43, - "line": 161 + "column": 46, + "line": 150 } } }, { - "id": "2084", + "id": "2112", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:925:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:807:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 8, "static": false, "killedBy": [ - "299" + "298" ], "coveredBy": [ - "225", + "233", + "298", "299", "300", "301", @@ -67897,58 +69465,29 @@ ], "location": { "end": { - "column": 121, - "line": 164 + "column": 134, + "line": 154 }, "start": { "column": 12, - "line": 164 + "line": 154 } } }, { - "id": "2085", + "id": "2113", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "225" - ], - "coveredBy": [ - "225", - "299", - "300", - "301", - "302", - "303" - ], - "location": { - "end": { - "column": 121, - "line": 164 - }, - "start": { - "column": 12, - "line": 164 - } - } - }, - { - "id": "2086", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:925:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "299" + "233" ], "coveredBy": [ - "225", + "233", + "298", "299", "300", "301", @@ -67957,54 +69496,29 @@ ], "location": { "end": { - "column": 121, - "line": 164 + "column": 134, + "line": 154 }, "start": { "column": 12, - "line": 164 + "line": 154 } } }, { - "id": "2087", - "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:956:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2114", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:807:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "299" - ], - "coveredBy": [ - "225", - "299", - "300", - "301", - "302", - "303" - ], - "location": { - "end": { - "column": 68, - "line": 164 - }, - "start": { - "column": 12, - "line": 164 - } - } - }, - { - "id": "2088", - "mutatorName": "LogicalOperator", - "replacement": "shouldTwoSistersBeCalled || twoSistersPlayers.length > 0", - "status": "Timeout", - "static": false, - "killedBy": [], + "298" + ], "coveredBy": [ - "225", + "233", + "298", "299", "300", "301", @@ -68013,99 +69527,110 @@ ], "location": { "end": { - "column": 68, - "line": 164 + "column": 134, + "line": 154 }, "start": { "column": 12, - "line": 164 + "line": 154 } } }, { - "id": "2089", + "id": "2115", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:925:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:859:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 5, "static": false, "killedBy": [ - "299" + "302" ], "coveredBy": [ - "225", - "299", + "233", + "298", + "300", "301", "302", "303" ], "location": { "end": { - "column": 68, - "line": 164 + "column": 134, + "line": 154 }, "start": { - "column": 40, - "line": 164 + "column": 43, + "line": 154 } } }, { - "id": "2090", + "id": "2116", "mutatorName": "EqualityOperator", - "replacement": "twoSistersPlayers.length >= 0", - "status": "Timeout", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:846:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "301" + ], "coveredBy": [ - "225", - "299", + "233", + "298", + "300", "301", "302", "303" ], "location": { "end": { - "column": 68, - "line": 164 + "column": 134, + "line": 154 }, "start": { - "column": 40, - "line": 164 + "column": 43, + "line": 154 } } }, { - "id": "2091", + "id": "2117", "mutatorName": "EqualityOperator", - "replacement": "twoSistersPlayers.length <= 0", - "status": "Timeout", + "replacement": "threeBrothersPlayers.filter(brother => brother.isAlive).length < minimumBrotherCountToCall", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "233" + ], "coveredBy": [ - "225", - "299", + "233", + "298", + "300", "301", "302", "303" ], "location": { "end": { - "column": 68, - "line": 164 + "column": 134, + "line": 154 }, "start": { - "column": 40, - "line": 164 + "column": 43, + "line": 154 } } }, { - "id": "2092", + "id": "2118", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:964:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:859:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, @@ -68113,60 +69638,64 @@ "302" ], "coveredBy": [ - "225", + "233", + "298", + "300", "301", "302", "303" ], "location": { "end": { - "column": 121, - "line": 164 + "column": 98, + "line": 154 }, "start": { - "column": 72, - "line": 164 + "column": 43, + "line": 154 } } }, { - "id": "2093", + "id": "2119", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "status": "Timeout", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "233" + ], "coveredBy": [ - "225", + "233", + "298", + "300", "301", "302", "303" ], "location": { "end": { - "column": 120, - "line": 164 + "column": 97, + "line": 154 }, "start": { - "column": 96, - "line": 164 + "column": 71, + "line": 154 } } }, { - "id": "2094", + "id": "2120", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(167,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(157,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": [ - "219", - "220", - "224", - "225", - "226", + "233", "304", "305", "306", @@ -68174,46 +69703,32 @@ "308", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "326", - "544", - "545", - "556" + "311" ], "location": { "end": { "column": 4, - "line": 187 + "line": 165 }, "start": { - "column": 121, - "line": 167 + "column": 92, + "line": 157 } } }, { - "id": "2095", - "mutatorName": "BooleanLiteral", - "replacement": "player", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,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-play.service.ts(180,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(181,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-play.service.ts(181,95): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(186,12): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(186,78): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2121", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:899:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 10, "static": false, - "killedBy": [], + "killedBy": [ + "305" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "233", "304", "305", "306", @@ -68221,46 +69736,32 @@ "308", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "326", - "544", - "545", - "556" + "311" ], "location": { "end": { - "column": 16, - "line": 170 + "column": 58, + "line": 159 }, "start": { - "column": 9, - "line": 170 + "column": 38, + "line": 159 } } }, { - "id": "2096", + "id": "2122", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,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-play.service.ts(181,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-play.service.ts(186,78): error TS2345: Argument of type 'CreateGamePlayerDto | Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "233" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "233", "304", "305", "306", @@ -68268,46 +69769,32 @@ "308", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "326", - "544", - "545", - "556" + "311" ], "location": { "end": { - "column": 16, - "line": 170 + "column": 58, + "line": 159 }, "start": { - "column": 9, - "line": 170 + "column": 38, + "line": 159 } } }, { - "id": "2097", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,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-play.service.ts(181,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-play.service.ts(186,78): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2123", + "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/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:930:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "305" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "233", "304", "305", "306", @@ -68315,720 +69802,556 @@ "308", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "326", - "544", - "545", - "556" + "311" ], "location": { "end": { - "column": 16, - "line": 170 + "column": 58, + "line": 159 }, "start": { - "column": 9, - "line": 170 + "column": 38, + "line": 159 } } }, { - "id": "2098", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(178,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-play.service.ts(179,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-play.service.ts(184,78): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2124", + "mutatorName": "EqualityOperator", + "replacement": "wakingUpInterval <= 0", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "233" + ], "coveredBy": [ - "224", - "226", + "233", "304", - "326", - "544", - "545" + "305", + "306", + "307", + "308", + "309", + "310", + "311" ], "location": { "end": { - "column": 6, - "line": 172 + "column": 58, + "line": 159 }, "start": { - "column": 18, - "line": 170 + "column": 38, + "line": 159 } } }, { - "id": "2099", - "mutatorName": "BooleanLiteral", + "id": "2125", + "mutatorName": "ConditionalExpression", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 6, + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(161,65): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(163,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", + "status": "CompileError", "static": false, - "killedBy": [ - "544" - ], + "killedBy": [], "coveredBy": [ - "224", - "226", + "233", "304", - "326", - "544", - "545" + "305", + "306", + "307", + "308", + "309", + "310", + "311" ], "location": { "end": { - "column": 19, - "line": 171 + "column": 38, + "line": 160 }, "start": { - "column": 14, - "line": 171 + "column": 9, + "line": 160 } } }, { - "id": "2100", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "status": "Timeout", + "id": "2126", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(161,65): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(163,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", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "233", + "304", "305", "306", "307", "308", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "311" ], "location": { "end": { - "column": 6, - "line": 182 + "column": 38, + "line": 160 }, "start": { - "column": 96, - "line": 173 + "column": 9, + "line": 160 } } }, { - "id": "2101", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(174,33): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "id": "2127", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(136,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "304", "305", - "306", - "307", - "308", - "309", - "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "306" ], "location": { "end": { - "column": 93, - "line": 174 + "column": 6, + "line": 162 }, "start": { - "column": 33, - "line": 174 + "column": 40, + "line": 160 } } }, { - "id": "2102", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(175,36): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", - "status": "CompileError", + "id": "2128", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:886:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "304" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "304", "305", - "306", - "307", - "308", - "309", - "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "306" ], "location": { "end": { - "column": 99, - "line": 175 + "column": 102, + "line": 161 }, "start": { - "column": 36, - "line": 175 + "column": 14, + "line": 161 } } }, { - "id": "2103", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(176,34): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", - "status": "CompileError", + "id": "2129", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:912:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "306" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "304", "305", - "306", - "307", - "308", - "309", - "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "306" + ], + "location": { + "end": { + "column": 102, + "line": 161 + }, + "start": { + "column": 14, + "line": 161 + } + } + }, + { + "id": "2130", + "mutatorName": "LogicalOperator", + "replacement": "shouldTwoSistersBeCalled || !!getPlayerDtoWithRole(game.players, ROLE_NAMES.TWO_SISTERS)", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "304", + "305", + "306" ], "location": { "end": { - "column": 94, - "line": 176 + "column": 102, + "line": 161 }, "start": { - "column": 34, - "line": 176 + "column": 14, + "line": 161 } } }, { - "id": "2104", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(177,32): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", - "status": "CompileError", + "id": "2131", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:886:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "304" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "304", + "306" ], "location": { "end": { - "column": 91, - "line": 177 + "column": 102, + "line": 161 }, "start": { - "column": 32, - "line": 177 + "column": 42, + "line": 161 } } }, { - "id": "2105", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(178,36): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", - "status": "CompileError", + "id": "2132", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:886:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "304" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "304", + "306" ], "location": { "end": { - "column": 99, - "line": 178 + "column": 102, + "line": 161 }, "start": { - "column": 36, - "line": 178 + "column": 43, + "line": 161 } } }, { - "id": "2106", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(179,27): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", - "status": "CompileError", + "id": "2133", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:925:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "307" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "305", - "306", + "233", "307", "308", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "311" ], "location": { "end": { - "column": 87, - "line": 179 + "column": 121, + "line": 164 }, "start": { - "column": 27, - "line": 179 + "column": 12, + "line": 164 } } }, { - "id": "2107", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,28): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", - "status": "CompileError", + "id": "2134", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.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 Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:212:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "233" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "305", - "306", + "233", "307", "308", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "311" ], "location": { "end": { - "column": 99, - "line": 180 + "column": 121, + "line": 164 }, "start": { - "column": 28, - "line": 180 + "column": 12, + "line": 164 } } }, { - "id": "2108", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "status": "Timeout", + "id": "2135", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:925:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "307" + ], "coveredBy": [ - "219", - "220", - "311", - "312", - "313" + "233", + "307", + "308", + "309", + "310", + "311" ], "location": { "end": { - "column": 99, - "line": 180 + "column": 121, + "line": 164 }, "start": { - "column": 34, - "line": 180 + "column": 12, + "line": 164 } } }, { - "id": "2109", + "id": "2136", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -154,15 +154,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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:956:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "219" + "307" ], "coveredBy": [ - "219", - "220", - "311", - "312", - "313" + "233", + "307", + "308", + "309", + "310", + "311" ], "location": { "end": { - "column": 99, - "line": 180 + "column": 68, + "line": 164 }, "start": { - "column": 34, - "line": 180 + "column": 12, + "line": 164 } } }, { - "id": "2110", + "id": "2137", "mutatorName": "LogicalOperator", - "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,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", - "status": "CompileError", + "replacement": "shouldTwoSistersBeCalled || twoSistersPlayers.length > 0", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "311", - "312", - "313" + "233", + "307", + "308", + "309", + "310", + "311" ], "location": { "end": { - "column": 99, - "line": 180 + "column": 68, + "line": 164 }, "start": { - "column": 34, - "line": 180 + "column": 12, + "line": 164 } } }, { - "id": "2111", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(181,31): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", - "status": "CompileError", + "id": "2138", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:925:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "307" + ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "305", - "306", + "233", "307", - "308", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "311" ], "location": { "end": { - "column": 102, - "line": 181 + "column": 68, + "line": 164 }, "start": { - "column": 31, - "line": 181 + "column": 40, + "line": 164 } } }, { - "id": "2112", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1209:105)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2139", + "mutatorName": "EqualityOperator", + "replacement": "twoSistersPlayers.length >= 0", + "status": "Timeout", "static": false, - "killedBy": [ - "316" - ], + "killedBy": [], "coveredBy": [ - "314", - "315", - "316" + "233", + "307", + "309", + "310", + "311" ], "location": { "end": { - "column": 102, - "line": 181 + "column": 68, + "line": 164 }, "start": { - "column": 37, - "line": 181 + "column": 40, + "line": 164 } } }, { - "id": "2113", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1183:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2140", + "mutatorName": "EqualityOperator", + "replacement": "twoSistersPlayers.length <= 0", + "status": "Timeout", "static": false, - "killedBy": [ - "314" - ], + "killedBy": [], "coveredBy": [ - "314", - "315", - "316" + "233", + "307", + "309", + "310", + "311" ], "location": { "end": { - "column": 102, - "line": 181 + "column": 68, + "line": 164 }, "start": { - "column": 37, - "line": 181 + "column": 40, + "line": 164 } } }, { - "id": "2114", - "mutatorName": "LogicalOperator", - "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(181,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", - "status": "CompileError", + "id": "2141", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:964:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "310" + ], "coveredBy": [ - "314", - "315", - "316" + "233", + "309", + "310", + "311" ], "location": { "end": { - "column": 102, - "line": 181 + "column": 121, + "line": 164 }, "start": { - "column": 37, - "line": 181 + "column": 72, + "line": 164 } } }, { - "id": "2115", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(186,78): error TS2345: Argument of type 'CreateGamePlayerDto | Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2142", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "305", - "306", - "307", - "308", + "233", "309", "310", - "311", - "312", - "313", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "544", - "545", - "556" + "311" ], "location": { "end": { - "column": 50, - "line": 183 + "column": 120, + "line": 164 }, "start": { - "column": 9, - "line": 183 + "column": 96, + "line": 164 } } }, { - "id": "2116", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -154,15 +154,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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 24, + "id": "2143", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(167,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "219" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", + "227", + "228", + "232", + "233", + "234", "312", "313", "314", @@ -69038,45 +70361,44 @@ "318", "319", "320", - "544", - "545", - "556" + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "334", + "554", + "555", + "566" ], "location": { "end": { - "column": 50, - "line": 183 + "column": 4, + "line": 187 }, "start": { - "column": 9, - "line": 183 + "column": 121, + "line": 167 } } }, { - "id": "2117", - "mutatorName": "EqualityOperator", - "replacement": "specificRoleMethods[source] === undefined", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -178,18 +178,10 @@\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 at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 23, + "id": "2144", + "mutatorName": "BooleanLiteral", + "replacement": "player", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,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-play.service.ts(180,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(181,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-play.service.ts(181,95): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(186,12): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(186,78): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "544" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", + "227", + "228", + "232", + "233", + "234", "312", "313", "314", @@ -69086,1272 +70408,1436 @@ "318", "319", "320", - "544", - "545", - "556" + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "334", + "554", + "555", + "566" ], "location": { "end": { - "column": 50, - "line": 183 + "column": 16, + "line": 170 }, "start": { "column": 9, - "line": 183 + "line": 170 } } }, { - "id": "2118", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -154,15 +154,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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 18, + "id": "2145", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,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-play.service.ts(181,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-play.service.ts(186,78): error TS2345: Argument of type 'CreateGamePlayerDto | 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": [ - "219" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", + "227", + "228", + "232", + "233", + "234", "312", "313", "314", "315", "316", - "544", - "545" + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "334", + "554", + "555", + "566" ], "location": { "end": { - "column": 6, - "line": 185 + "column": 16, + "line": 170 }, "start": { - "column": 52, - "line": 183 + "column": 9, + "line": 170 } } }, { - "id": "2119", + "id": "2146", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -162,10 +162,15 @@\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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:91:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 18, + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,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-play.service.ts(181,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-play.service.ts(186,78): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "220" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", + "227", + "228", + "232", + "233", + "234", "312", "313", "314", "315", "316", - "544", - "545" + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "334", + "554", + "555", + "566" ], "location": { "end": { - "column": 60, - "line": 184 + "column": 16, + "line": 170 }, "start": { - "column": 14, - "line": 184 + "column": 9, + "line": 170 } } }, { - "id": "2120", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n@@ -194,12 +194,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 18, + "id": "2147", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(178,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-play.service.ts(179,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-play.service.ts(184,78): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "544" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", + "232", + "234", "312", - "313", - "314", - "315", - "316", - "544", - "545" + "334", + "554", + "555" ], "location": { "end": { - "column": 60, - "line": 184 + "column": 6, + "line": 172 }, "start": { - "column": 14, - "line": 184 + "column": 18, + "line": 170 } } }, { - "id": "2121", - "mutatorName": "EqualityOperator", - "replacement": "(await specificRoleMethods[source]?.()) !== true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 0\n\n@@ -154,20 +154,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 \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ],\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2148", + "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 18, + "testsCompleted": 6, "static": false, "killedBy": [ - "219" + "554" ], "coveredBy": [ - "219", - "220", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", + "232", + "234", "312", - "313", - "314", - "315", - "316", - "544", - "545" + "334", + "554", + "555" ], "location": { "end": { - "column": 60, - "line": 184 + "column": 19, + "line": 171 }, "start": { "column": 14, - "line": 184 + "line": 171 } } }, { - "id": "2122", - "mutatorName": "OptionalChaining", - "replacement": "specificRoleMethods[source]()", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(184,20): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", + "id": "2149", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", - "312", + "227", + "228", + "232", + "233", + "234", "313", "314", "315", "316", - "544", - "545" + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 51, - "line": 184 + "column": 6, + "line": 182 }, "start": { - "column": 20, - "line": 184 + "column": 96, + "line": 173 } } }, { - "id": "2123", - "mutatorName": "BooleanLiteral", - "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 15, + "id": "2150", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(174,33): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "544" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "225", - "226", - "305", - "306", - "307", - "308", - "309", - "310", - "311", - "312", + "227", + "228", + "232", + "233", + "234", "313", "314", "315", "316", - "544", - "545" - ], - "location": { - "end": { - "column": 60, - "line": 184 - }, - "start": { - "column": 56, - "line": 184 - } - } - }, - { - "id": "2124", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -157,10 +157,15 @@\n \"status\": \"canceled\",\n \"tick\": 6579720223195136,\n \"turn\": 6485822842863616,\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:91:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 12, - "static": false, - "killedBy": [ - "220" - ], - "coveredBy": [ - "219", - "220", - "224", - "225", - "226", "317", "318", "319", "320", - "544", - "545", - "556" + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 85, - "line": 186 + "column": 93, + "line": 174 }, "start": { - "column": 12, - "line": 186 + "column": 33, + "line": 174 } } }, { - "id": "2125", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -178,18 +178,10 @@\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 at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 12, + "id": "2151", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(175,36): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "544" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", "317", "318", "319", "320", - "544", - "545", - "556" + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 85, - "line": 186 + "column": 99, + "line": 175 }, "start": { - "column": 12, - "line": 186 + "column": 36, + "line": 175 } } }, { - "id": "2126", - "mutatorName": "LogicalOperator", - "replacement": "player instanceof CreateGamePlayerDto && isPlayerAliveAndPowerful(player)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(186,78): error TS2345: Argument of type 'CreateGamePlayerDto' is not assignable to parameter of type 'Player'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "id": "2152", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(176,34): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", "317", "318", "319", "320", - "544", - "545", - "556" + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 85, - "line": 186 + "column": 94, + "line": 176 }, "start": { - "column": 12, - "line": 186 + "column": 34, + "line": 176 } } }, { - "id": "2127", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(189,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2153", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(177,32): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", "321", "322", "323", "324", - "325" + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 4, - "line": 198 + "column": 91, + "line": 177 }, "start": { - "column": 89, - "line": 189 + "column": 32, + "line": 177 } } }, { - "id": "2128", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1206:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2154", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(178,36): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "321" - ], + "killedBy": [], "coveredBy": [ + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", "321", "322", "323", "324", - "325" + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 46, - "line": 190 + "column": 99, + "line": 178 }, "start": { - "column": 9, - "line": 190 + "column": 36, + "line": 178 } } }, { - "id": "2129", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(196,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": "2155", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(179,27): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", "321", "322", "323", "324", - "325" + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 46, - "line": 190 + "column": 87, + "line": 179 }, "start": { - "column": 9, - "line": 190 + "column": 27, + "line": 179 } } }, { - "id": "2130", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1206:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2156", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,28): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "321" - ], + "killedBy": [], "coveredBy": [ + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", "321", "322", "323", "324", - "325" + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 46, - "line": 190 + "column": 99, + "line": 180 }, "start": { - "column": 9, - "line": 190 + "column": 28, + "line": 180 } } }, { - "id": "2131", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1206:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": "2157", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "status": "Timeout", "static": false, - "killedBy": [ - "321" - ], + "killedBy": [], "coveredBy": [ + "227", + "228", + "319", + "320", "321" ], "location": { "end": { - "column": 6, - "line": 192 + "column": 99, + "line": 180 }, "start": { - "column": 48, - "line": 190 + "column": 34, + "line": 180 } } }, { - "id": "2132", - "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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1206:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2158", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -154,15 +154,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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "321" + "227" ], "coveredBy": [ + "227", + "228", + "319", + "320", "321" ], "location": { "end": { - "column": 19, - "line": 191 + "column": 99, + "line": 180 }, "start": { - "column": 14, - "line": 191 + "column": 34, + "line": 180 } } }, { - "id": "2135", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(168,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": "2159", + "mutatorName": "LogicalOperator", + "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(180,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "322" + "227", + "228", + "319", + "320", + "321" ], "location": { "end": { - "column": 6, - "line": 195 + "column": 99, + "line": 180 }, "start": { - "column": 40, - "line": 193 + "column": 34, + "line": 180 } } }, { - "id": "2136", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "status": "Timeout", + "id": "2160", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(181,31): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "322" + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 18, - "line": 194 + "column": 102, + "line": 181 }, "start": { - "column": 14, - "line": 194 + "column": 31, + "line": 181 } } }, { - "id": "2137", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1226:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2161", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1209:105)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "323" + "324" ], "coveredBy": [ + "322", "323", - "324", - "325" + "324" ], "location": { "end": { - "column": 27, - "line": 197 + "column": 102, + "line": 181 }, "start": { - "column": 12, - "line": 197 + "column": 37, + "line": 181 } } }, { - "id": "2138", - "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1226:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2162", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1183:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ - "323" + "322" ], "coveredBy": [ + "322", "323", - "324", - "325" + "324" ], "location": { "end": { - "column": 27, - "line": 197 + "column": 102, + "line": 181 }, "start": { - "column": 13, - "line": 197 + "column": 37, + "line": 181 } } }, { - "id": "2139", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(200,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2163", + "mutatorName": "LogicalOperator", + "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(181,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", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "325", - "326", - "327", - "544", - "545", - "556", - "557" + "322", + "323", + "324" ], "location": { "end": { - "column": 4, - "line": 207 + "column": 102, + "line": 181 }, "start": { - "column": 117, - "line": 200 + "column": 37, + "line": 181 } } }, { - "id": "2140", + "id": "2164", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 12, + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(186,78): error TS2345: Argument of type 'CreateGamePlayerDto | 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": [ - "544" - ], + "killedBy": [], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", "325", "326", "327", - "544", - "545", - "556", - "557" + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 42, - "line": 201 + "column": 50, + "line": 183 }, "start": { "column": 9, - "line": 201 + "line": 183 } } }, { - "id": "2141", + "id": "2165", "mutatorName": "ConditionalExpression", "replacement": "false", - "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/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:424:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -154,15 +154,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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 12, + "testsCompleted": 24, "static": false, "killedBy": [ - "544" + "227" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", "325", "326", "327", - "544", - "545", - "556", - "557" + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 42, - "line": 201 + "column": 50, + "line": 183 }, "start": { "column": 9, - "line": 201 + "line": 183 } } }, { - "id": "2142", - "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2166", + "mutatorName": "EqualityOperator", + "replacement": "specificRoleMethods[source] === undefined", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -178,18 +178,10 @@\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 at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 23, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", + "227", + "228", + "232", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "325", "326", - "544", - "545", - "556" + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 6, - "line": 203 + "column": 50, + "line": 183 }, "start": { - "column": 44, - "line": 201 + "column": 9, + "line": 183 } } }, { - "id": "2143", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "TypeError: specificGroupMethods[source] is not a function\n at GamePlayService.isGroupGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/src/modules/game/providers/services/game-play/game-play.service.ts:224:42)\n at GamePlayService.isGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/src/modules/game/providers/services/game-play/game-play.service.ts:439:23)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1312:67)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2167", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -154,15 +154,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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 18, "static": false, "killedBy": [ - "325" + "227" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "325", - "327", - "544", - "545", - "556", - "557" + "227", + "228", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "554", + "555" ], "location": { "end": { - "column": 50, - "line": 203 + "column": 6, + "line": 185 }, "start": { - "column": 16, - "line": 203 + "column": 52, + "line": 183 } } }, { - "id": "2144", + "id": "2168", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 9\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@@ -196,9 +201,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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -162,10 +162,15 @@\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.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:91:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": 18, "static": false, "killedBy": [ - "544" + "228" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "325", - "327", - "544", - "545", - "556", - "557" + "227", + "228", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "554", + "555" ], "location": { "end": { - "column": 50, - "line": 203 + "column": 60, + "line": 184 }, "start": { - "column": 16, - "line": 203 + "column": 14, + "line": 184 } } }, { - "id": "2145", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 9\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@@ -196,9 +201,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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2169", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 4\n+ Received + 0\n\n@@ -194,12 +194,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/sandbox8706353/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:423:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 10, + "testsCompleted": 18, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "219", - "220", - "224", - "225", - "226", - "327", - "544", - "545", - "556", - "557" + "227", + "228", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "554", + "555" ], "location": { "end": { - "column": 6, - "line": 205 + "column": 60, + "line": 184 }, "start": { - "column": 52, - "line": 203 + "column": 14, + "line": 184 } } }, { - "id": "1989", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(113,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2170", + "mutatorName": "EqualityOperator", + "replacement": "(await specificRoleMethods[source]?.()) !== true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 0\n\n@@ -154,20 +154,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 \"action\": \"eat\",\n \"cause\": undefined,\n \"source\": \"werewolves\",\n },\n ],\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:66:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 18, "static": false, + "killedBy": [ + "227" + ], "coveredBy": [ - "225", - "262", - "263", - "264", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "544" + "227", + "228", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "554", + "555" ], "location": { "end": { - "column": 4, - "line": 123 + "column": 60, + "line": 184 }, "start": { - "column": 95, - "line": 113 + "column": 14, + "line": 184 } } }, { - "id": "1994", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(117,68): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(120,65): 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-play.service.ts(121,58): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(122,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", + "id": "2171", + "mutatorName": "OptionalChaining", + "replacement": "specificRoleMethods[source]()", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(184,20): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "225", - "262", - "263", - "264", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "544" + "227", + "228", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "554", + "555" ], "location": { "end": { - "column": 38, - "line": 116 + "column": 51, + "line": 184 }, "start": { - "column": 9, - "line": 116 + "column": 20, + "line": 184 } } }, { - "id": "1995", - "mutatorName": "ConditionalExpression", + "id": "2172", + "mutatorName": "BooleanLiteral", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(117,68): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(120,65): 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-play.service.ts(121,58): 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", - "status": "CompileError", + "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 15, "static": false, + "killedBy": [ + "554" + ], "coveredBy": [ - "225", - "262", - "263", - "264", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "544" + "227", + "228", + "233", + "234", + "313", + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "323", + "324", + "554", + "555" ], "location": { "end": { - "column": 38, - "line": 116 + "column": 60, + "line": 184 }, "start": { - "column": 9, - "line": 116 + "column": 56, + "line": 184 } } }, { - "id": "2006", - "mutatorName": "LogicalOperator", - "replacement": "shouldWhiteWerewolfBeCalled && !!whiteWerewolfPlayer || isPlayerAliveAndPowerful(whiteWerewolfPlayer)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(122,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", - "status": "CompileError", + "id": "2173", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 5\n\n@@ -157,10 +157,15 @@\n \"status\": \"canceled\",\n \"tick\": 6579720223195136,\n \"turn\": 6485822842863616,\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:91:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 12, "static": false, + "killedBy": [ + "228" + ], "coveredBy": [ - "225", - "265", - "266", - "267", - "268", - "269", - "270", - "271" + "227", + "228", + "232", + "233", + "234", + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 113, - "line": 122 + "column": 85, + "line": 186 }, "start": { "column": 12, - "line": 122 + "line": 186 } } }, { - "id": "2007", + "id": "2174", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(122,45): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 0\n\n@@ -178,18 +178,10 @@\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 at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 12, "static": false, + "killedBy": [ + "554" + ], "coveredBy": [ - "225", - "265", - "266", - "267", - "268", - "269", - "270", - "271" + "227", + "228", + "232", + "233", + "234", + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 64, - "line": 122 + "column": 85, + "line": 186 }, "start": { "column": 12, - "line": 122 + "line": 186 } } }, { - "id": "2009", - "mutatorName": "BooleanLiteral", - "replacement": "!whiteWerewolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(122,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "id": "2175", + "mutatorName": "LogicalOperator", + "replacement": "player instanceof CreateGamePlayerDto && isPlayerAliveAndPowerful(player)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(186,78): error TS2345: Argument of type 'CreateGamePlayerDto' is not assignable to parameter of type 'Player'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "225", - "265", - "267", - "268", - "269", - "270", - "271" + "227", + "228", + "232", + "233", + "234", + "325", + "326", + "327", + "328", + "554", + "555", + "566" ], "location": { "end": { - "column": 64, - "line": 122 + "column": 85, + "line": 186 }, "start": { - "column": 43, - "line": 122 + "column": 12, + "line": 186 } } }, { - "id": "2010", - "mutatorName": "BooleanLiteral", - "replacement": "whiteWerewolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(122,92): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "id": "2176", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(189,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": [ - "225", - "265", - "267", - "268", - "269", - "270", - "271" + "329", + "330", + "331", + "332", + "333" ], "location": { "end": { - "column": 64, - "line": 122 + "column": 4, + "line": 198 }, "start": { - "column": 44, - "line": 122 + "column": 89, + "line": 189 } } }, { - "id": "2027", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(134,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2177", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1206:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "329" + ], "coveredBy": [ - "225", - "277", - "278", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286" + "329", + "330", + "331", + "332", + "333" ], "location": { "end": { - "column": 4, - "line": 144 + "column": 46, + "line": 190 }, "start": { - "column": 92, - "line": 134 + "column": 9, + "line": 190 } } }, { - "id": "2029", + "id": "2178", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(136,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(139,62): 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-play.service.ts(141,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[]'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(143,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", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(196,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": [ - "225", - "277", - "278", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286" + "329", + "330", + "331", + "332", + "333" ], "location": { "end": { - "column": 38, - "line": 135 + "column": 46, + "line": 190 }, "start": { "column": 9, - "line": 135 + "line": 190 } } }, { - "id": "2037", - "mutatorName": "LogicalOperator", - "replacement": "!!bigBadWolfPlayer || isPlayerAliveAndPowerful(bigBadWolfPlayer)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(142,59): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2179", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1206:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "329" + ], "coveredBy": [ - "225", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286" + "329", + "330", + "331", + "332", + "333" ], "location": { "end": { - "column": 76, - "line": 142 + "column": 46, + "line": 190 }, "start": { - "column": 12, - "line": 142 + "column": 9, + "line": 190 } } }, { - "id": "2038", - "mutatorName": "BooleanLiteral", - "replacement": "!bigBadWolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(142,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2180", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1206:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "329" + ], "coveredBy": [ - "225", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286" + "329", + "333" ], "location": { "end": { - "column": 30, - "line": 142 + "column": 6, + "line": 192 }, "start": { - "column": 12, - "line": 142 + "column": 48, + "line": 190 } } }, { - "id": "2028", - "mutatorName": "ConditionalExpression", + "id": "2181", + "mutatorName": "BooleanLiteral", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(136,37): error TS2345: Argument of type 'CreateGamePlayerDto[] | Player[]' 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-play.service.ts(139,62): 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-play.service.ts(141,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[]'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(142,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-play.service.ts(143,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", - "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/sandbox7972875/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1206:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "329" + ], "coveredBy": [ - "225", - "277", - "278", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286" + "329", + "333" ], "location": { "end": { - "column": 38, - "line": 135 + "column": 19, + "line": 191 }, "start": { - "column": 9, - "line": 135 + "column": 14, + "line": 191 } } }, { - "id": "2039", - "mutatorName": "BooleanLiteral", - "replacement": "bigBadWolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(142,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "id": "2182", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(196,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": [ - "225", - "279", - "280", - "281", - "282", - "283", - "284", - "285", - "286" + "330", + "331", + "332" ], "location": { "end": { - "column": 30, - "line": 142 + "column": 38, + "line": 193 }, "start": { - "column": 13, - "line": 142 + "column": 9, + "line": 193 } } }, { - "id": "2133", + "id": "2183", "mutatorName": "ConditionalExpression", - "replacement": "true", + "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(196,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": [ - "322", - "323", - "324", - "325" + "330", + "331", + "332" ], "location": { "end": { @@ -70365,315 +71851,339 @@ } }, { - "id": "2134", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(196,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": "2184", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(168,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": [ - "322", - "323", - "324", - "325" + "330" ], "location": { "end": { - "column": 38, - "line": 193 + "column": 6, + "line": 195 }, "start": { - "column": 9, + "column": 40, "line": 193 } } }, { - "id": "1990", - "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:673:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js: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": "2185", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "status": "Timeout", "static": false, - "testsCompleted": 12, - "killedBy": [ - "263" - ], + "killedBy": [], "coveredBy": [ - "225", - "262", - "263", - "264", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "544" + "330" ], "location": { "end": { - "column": 61, - "line": 115 + "column": 18, + "line": 194 }, "start": { - "column": 41, - "line": 115 + "column": 14, + "line": 194 } } }, { - "id": "2011", - "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:751:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2186", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1226:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, - "testsCompleted": 4, "killedBy": [ - "269" + "331" ], "coveredBy": [ - "225", - "269", - "270", - "271" + "331", + "332" ], "location": { "end": { - "column": 168, - "line": 122 + "column": 27, + "line": 197 }, "start": { - "column": 118, - "line": 122 + "column": 12, + "line": 197 } } }, { - "id": "1991", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -75,15 +75,10 @@\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2187", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1226:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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, - "testsCompleted": 12, "killedBy": [ - "225" + "331" ], "coveredBy": [ - "225", - "262", - "263", - "264", - "265", - "266", - "267", - "268", - "269", - "270", - "271", - "544" + "331", + "332" ], "location": { "end": { - "column": 61, - "line": 115 + "column": 27, + "line": 197 }, "start": { - "column": 41, - "line": 115 + "column": 13, + "line": 197 } } }, { - "id": "2012", - "mutatorName": "LogicalOperator", - "replacement": "!doSkipCallIfNoTarget && !!availableTargets.length", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -75,15 +75,10 @@\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js: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": "2188", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(200,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "testsCompleted": 4, - "killedBy": [ - "225" - ], + "killedBy": [], "coveredBy": [ - "225", - "269", - "270", - "271" + "227", + "228", + "232", + "233", + "234", + "333", + "334", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { - "column": 168, - "line": 122 + "column": 4, + "line": 207 }, "start": { - "column": 118, - "line": 122 + "column": 117, + "line": 200 } } }, { - "id": "2013", - "mutatorName": "BooleanLiteral", - "replacement": "doSkipCallIfNoTarget", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -75,15 +75,10 @@\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 at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:224:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2189", + "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 12, "static": false, - "testsCompleted": 4, "killedBy": [ - "225" + "554" ], "coveredBy": [ - "225", - "269", - "270", - "271" + "227", + "228", + "232", + "233", + "234", + "333", + "334", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { - "column": 139, - "line": 122 + "column": 42, + "line": 201 }, "start": { - "column": 118, - "line": 122 + "column": 9, + "line": 201 } } }, { - "id": "2015", - "mutatorName": "BooleanLiteral", - "replacement": "availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:751:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2190", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "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/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:424:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 12, "static": false, - "testsCompleted": 2, "killedBy": [ - "269" + "554" ], "coveredBy": [ - "269", - "271" + "227", + "228", + "232", + "233", + "234", + "333", + "334", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { - "column": 168, - "line": 122 + "column": 42, + "line": 201 }, "start": { - "column": 144, - "line": 122 + "column": 9, + "line": 201 } } }, { - "id": "2048", - "mutatorName": "BooleanLiteral", - "replacement": "!availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:918:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2191", + "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 9, "static": false, - "testsCompleted": 2, "killedBy": [ - "282" + "554" ], "coveredBy": [ - "282", - "283" + "227", + "228", + "232", + "233", + "234", + "334", + "554", + "555", + "566" ], "location": { "end": { - "column": 128, - "line": 143 + "column": 6, + "line": 203 }, "start": { - "column": 103, - "line": 143 + "column": 44, + "line": 201 } } }, { - "id": "2045", + "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/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:918:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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 GamePlayService.isGroupGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/src/modules/game/providers/services/game-play/game-play.service.ts:224:42)\n at GamePlayService.isGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/src/modules/game/providers/services/game-play/game-play.service.ts:439:23)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8706353/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1312:67)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", + "testsCompleted": 11, "static": false, - "testsCompleted": 5, "killedBy": [ - "282" + "333" ], "coveredBy": [ - "225", - "282", - "283", - "285", - "286" + "227", + "228", + "232", + "233", + "234", + "333", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { - "column": 128, - "line": 143 + "column": 50, + "line": 203 }, "start": { - "column": 78, - "line": 143 + "column": 16, + "line": 203 } } }, { - "id": "2049", - "mutatorName": "BooleanLiteral", - "replacement": "availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:918:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2193", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 9\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@@ -196,9 +201,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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 11, "static": false, - "testsCompleted": 2, "killedBy": [ - "282" + "554" ], "coveredBy": [ - "282", - "283" + "227", + "228", + "232", + "233", + "234", + "333", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { - "column": 128, - "line": 143 + "column": 50, + "line": 203 }, "start": { - "column": 104, - "line": 143 + "column": 16, + "line": 203 } } }, { - "id": "2014", - "mutatorName": "BooleanLiteral", - "replacement": "!availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4731419/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:751:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/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": "2194", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 9\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@@ -196,9 +201,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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:415:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 10, "static": false, - "testsCompleted": 2, "killedBy": [ - "269" + "554" ], "coveredBy": [ - "269", - "271" + "227", + "228", + "232", + "233", + "234", + "335", + "554", + "555", + "566", + "567" ], "location": { "end": { - "column": 168, - "line": 122 + "column": 6, + "line": 205 }, "start": { - "column": 143, - "line": 122 + "column": 52, + "line": 203 } } } @@ -70684,7 +72194,7 @@ "language": "typescript", "mutants": [ { - "id": "2146", + "id": "2195", "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", @@ -70692,12 +72202,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686" + "538", + "692", + "693", + "694", + "695", + "696" ], "location": { "end": { @@ -70711,7 +72221,7 @@ } }, { - "id": "2147", + "id": "2196", "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/sandbox2212490/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:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70719,15 +72229,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686" + "538", + "692", + "693", + "694", + "695", + "696" ], "location": { "end": { @@ -70741,7 +72251,7 @@ } }, { - "id": "2148", + "id": "2197", "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", @@ -70749,12 +72259,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686" + "538", + "692", + "693", + "694", + "695", + "696" ], "location": { "end": { @@ -70768,7 +72278,7 @@ } }, { - "id": "2149", + "id": "2198", "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", @@ -70776,12 +72286,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686" + "538", + "692", + "693", + "694", + "695", + "696" ], "location": { "end": { @@ -70795,7 +72305,7 @@ } }, { - "id": "2150", + "id": "2199", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "TypeError: Cannot read properties of undefined (reading 'current')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:223:14\n at Array.every ()\n at Object.toSatisfyAll (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-extended/dist/matchers/toSatisfyAll.js:13:23)\n at __EXTERNAL_MATCHER_TRAP__ (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:325:30)\n at Object.throwingMatcher [as toSatisfyAll] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:326:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:222:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -70803,15 +72313,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "528" + "538" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686" + "538", + "692", + "693", + "694", + "695", + "696" ], "location": { "end": { @@ -70825,7 +72335,7 @@ } }, { - "id": "2151", + "id": "2200", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/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:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70833,15 +72343,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686" + "538", + "692", + "693", + "694", + "695", + "696" ], "location": { "end": { @@ -70855,7 +72365,7 @@ } }, { - "id": "2152", + "id": "2201", "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", @@ -70863,19 +72373,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -70889,7 +72399,7 @@ } }, { - "id": "2153", + "id": "2202", "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", @@ -70897,19 +72407,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -70923,7 +72433,7 @@ } }, { - "id": "2154", + "id": "2203", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:49:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70931,22 +72441,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "687" + "697" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -70960,7 +72470,7 @@ } }, { - "id": "2155", + "id": "2204", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70968,22 +72478,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "688" + "698" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -70997,7 +72507,7 @@ } }, { - "id": "2156", + "id": "2205", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:49:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71005,22 +72515,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "687" + "697" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71034,7 +72544,7 @@ } }, { - "id": "2157", + "id": "2206", "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", @@ -71042,19 +72552,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71068,7 +72578,7 @@ } }, { - "id": "2158", + "id": "2207", "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/sandbox2212490/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:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71076,22 +72586,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71105,7 +72615,7 @@ } }, { - "id": "2159", + "id": "2208", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:221:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -71113,22 +72623,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "528" + "538" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71142,7 +72652,7 @@ } }, { - "id": "2160", + "id": "2209", "mutatorName": "AssignmentOperator", "replacement": "i -= randomRolesToPickCount", "statusReason": "Hit limit reached (43213/43200)", @@ -71150,19 +72660,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71176,7 +72686,7 @@ } }, { - "id": "2161", + "id": "2210", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/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/sandbox2212490/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:34:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71184,22 +72694,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71213,7 +72723,7 @@ } }, { - "id": "2162", + "id": "2211", "mutatorName": "ArithmeticOperator", "replacement": "rolesToPickCount + i", "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 108\nReceived array: [{\"maxInGame\": 0, \"name\": \"seer\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"name\": \"witch\", \"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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:89:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71221,22 +72731,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "690" + "700" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71250,7 +72760,7 @@ } }, { - "id": "2163", + "id": "2212", "mutatorName": "MethodExpression", "replacement": "availableSidedRoles", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:40:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71258,22 +72768,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71287,7 +72797,7 @@ } }, { - "id": "2164", + "id": "2213", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:67:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71295,22 +72805,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "689" + "699" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71324,7 +72834,7 @@ } }, { - "id": "2165", + "id": "2214", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:40:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71332,20 +72842,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71359,7 +72869,7 @@ } }, { - "id": "2166", + "id": "2215", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:67:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71367,20 +72877,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "689" + "699" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71394,7 +72904,7 @@ } }, { - "id": "2167", + "id": "2216", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:40:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71402,20 +72912,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71429,7 +72939,7 @@ } }, { - "id": "2168", + "id": "2217", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 99\nReceived array: [{\"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\"}, {\"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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:89:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71437,20 +72947,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "690" + "700" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71464,7 +72974,7 @@ } }, { - "id": "2169", + "id": "2218", "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", @@ -71472,17 +72982,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71496,7 +73006,7 @@ } }, { - "id": "2170", + "id": "2219", "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", @@ -71504,17 +73014,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71528,7 +73038,7 @@ } }, { - "id": "2171", + "id": "2220", "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", @@ -71536,17 +73046,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71560,7 +73070,7 @@ } }, { - "id": "2172", + "id": "2221", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:98:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71568,17 +73078,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "691" + "701" ], "coveredBy": [ - "528", - "683", - "684", - "685", - "686", - "690", - "691", - "692" + "538", + "693", + "694", + "695", + "696", + "700", + "701", + "702" ], "location": { "end": { @@ -71592,7 +73102,7 @@ } }, { - "id": "2173", + "id": "2222", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:98:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71600,17 +73110,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "691" + "701" ], "coveredBy": [ - "528", - "683", - "684", - "685", - "686", - "690", - "691", - "692" + "538", + "693", + "694", + "695", + "696", + "700", + "701", + "702" ], "location": { "end": { @@ -71624,7 +73134,7 @@ } }, { - "id": "2174", + "id": "2223", "mutatorName": "EqualityOperator", "replacement": "role.minInGame > leftRolesToPickCount", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:89:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71632,17 +73142,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "690" + "700" ], "coveredBy": [ - "528", - "683", - "684", - "685", - "686", - "690", - "691", - "692" + "538", + "693", + "694", + "695", + "696", + "700", + "701", + "702" ], "location": { "end": { @@ -71656,7 +73166,7 @@ } }, { - "id": "2175", + "id": "2224", "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", @@ -71664,19 +73174,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71690,7 +73200,7 @@ } }, { - "id": "2176", + "id": "2225", "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", @@ -71698,19 +73208,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71724,7 +73234,7 @@ } }, { - "id": "2177", + "id": "2226", "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", @@ -71732,19 +73242,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71758,7 +73268,7 @@ } }, { - "id": "2178", + "id": "2227", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/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/sandbox2212490/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:34:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71766,17 +73276,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690" + "693", + "694", + "695", + "696", + "697", + "698", + "699", + "700" ], "location": { "end": { @@ -71790,24 +73300,24 @@ } }, { - "id": "2179", + "id": "2228", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71821,7 +73331,7 @@ } }, { - "id": "2180", + "id": "2229", "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", @@ -71829,17 +73339,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71853,7 +73363,7 @@ } }, { - "id": "2181", + "id": "2230", "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", @@ -71861,17 +73371,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71885,7 +73395,7 @@ } }, { - "id": "2182", + "id": "2231", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:40:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71893,20 +73403,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71920,7 +73430,7 @@ } }, { - "id": "2183", + "id": "2232", "mutatorName": "EqualityOperator", "replacement": "j >= randomRolesToPickCount", "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/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/sandbox2212490/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:34:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71928,20 +73438,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71955,7 +73465,7 @@ } }, { - "id": "2184", + "id": "2233", "mutatorName": "UpdateOperator", "replacement": "j--", "statusReason": "Hit limit reached (21011/21000)", @@ -71963,17 +73473,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -71987,7 +73497,7 @@ } }, { - "id": "2185", + "id": "2234", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/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/sandbox2212490/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:34:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71995,20 +73505,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -72022,7 +73532,7 @@ } }, { - "id": "2186", + "id": "2235", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:40:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72030,20 +73540,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "683" + "693" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", - "693" + "693", + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703" ], "location": { "end": { @@ -72057,7 +73567,7 @@ } }, { - "id": "2187", + "id": "2236", "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", @@ -72065,18 +73575,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", + "538", + "692", + "693", "694", "695", "696", - "697", - "698", - "699" + "704", + "705", + "706", + "707", + "708", + "709" ], "location": { "end": { @@ -72090,7 +73600,7 @@ } }, { - "id": "2188", + "id": "2237", "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/sandbox2212490/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:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72098,21 +73608,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", + "538", + "692", + "693", "694", "695", "696", - "697", - "698", - "699" + "704", + "705", + "706", + "707", + "708", + "709" ], "location": { "end": { @@ -72126,7 +73636,7 @@ } }, { - "id": "2189", + "id": "2238", "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", @@ -72134,19 +73644,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72160,7 +73670,7 @@ } }, { - "id": "2190", + "id": "2239", "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", @@ -72168,19 +73678,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72194,7 +73704,7 @@ } }, { - "id": "2191", + "id": "2240", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:168:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72202,22 +73712,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "701" + "711" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72231,7 +73741,7 @@ } }, { - "id": "2192", + "id": "2241", "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", @@ -72239,19 +73749,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72265,7 +73775,7 @@ } }, { - "id": "2193", + "id": "2242", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:175:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72273,22 +73783,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "702" + "712" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72302,7 +73812,7 @@ } }, { - "id": "2194", + "id": "2243", "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", @@ -72310,19 +73820,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72336,7 +73846,7 @@ } }, { - "id": "2195", + "id": "2244", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:175:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72344,22 +73854,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "702" + "712" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72373,7 +73883,7 @@ } }, { - "id": "2196", + "id": "2245", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:168:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72381,22 +73891,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "701" + "711" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72410,7 +73920,7 @@ } }, { - "id": "2197", + "id": "2246", "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", @@ -72418,19 +73928,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72444,7 +73954,7 @@ } }, { - "id": "2198", + "id": "2247", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:189:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72452,22 +73962,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "704" + "714" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72481,7 +73991,7 @@ } }, { - "id": "2199", + "id": "2248", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:161:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72489,22 +73999,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "700" + "710" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72518,7 +74028,7 @@ } }, { - "id": "2200", + "id": "2249", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:189:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72526,22 +74036,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "704" + "714" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72555,7 +74065,7 @@ } }, { - "id": "2201", + "id": "2250", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:182:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72563,22 +74073,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "703" + "713" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72592,26 +74102,26 @@ } }, { - "id": "2202", + "id": "2251", "mutatorName": "BooleanLiteral", "replacement": "excludedRoles.includes(role.name)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72625,7 +74135,7 @@ } }, { - "id": "2203", + "id": "2252", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:201:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72633,22 +74143,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "705" + "715" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72662,7 +74172,7 @@ } }, { - "id": "2204", + "id": "2253", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:220:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72670,22 +74180,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "706" + "716" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72699,7 +74209,7 @@ } }, { - "id": "2205", + "id": "2254", "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", @@ -72707,19 +74217,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72733,7 +74243,7 @@ } }, { - "id": "2206", + "id": "2255", "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", @@ -72741,19 +74251,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72767,7 +74277,7 @@ } }, { - "id": "2207", + "id": "2256", "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", @@ -72775,19 +74285,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72801,7 +74311,7 @@ } }, { - "id": "2208", + "id": "2257", "mutatorName": "BooleanLiteral", "replacement": "areRecommendedMinPlayersRespected", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:201:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72809,22 +74319,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "705" + "715" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72838,7 +74348,7 @@ } }, { - "id": "2209", + "id": "2258", "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", @@ -72846,19 +74356,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72872,7 +74382,7 @@ } }, { - "id": "2210", + "id": "2259", "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", @@ -72880,19 +74390,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72906,7 +74416,7 @@ } }, { - "id": "2211", + "id": "2260", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:220:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72914,22 +74424,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "706" + "716" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72943,7 +74453,7 @@ } }, { - "id": "2212", + "id": "2261", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:220:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72951,22 +74461,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "706" + "716" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -72980,7 +74490,7 @@ } }, { - "id": "2213", + "id": "2262", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:201:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -72988,22 +74498,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "705" + "715" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -73017,7 +74527,7 @@ } }, { - "id": "2214", + "id": "2263", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:161:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73025,22 +74535,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "700" + "710" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -73054,7 +74564,7 @@ } }, { - "id": "2215", + "id": "2264", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:220:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73062,22 +74572,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "706" + "716" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -73091,26 +74601,26 @@ } }, { - "id": "2216", + "id": "2265", "mutatorName": "LogicalOperator", "replacement": "isRolePermitted || isRoleMinInGameRespected", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "700", - "701", - "702", - "703", - "704", - "705", - "706" + "538", + "692", + "693", + "694", + "695", + "696", + "710", + "711", + "712", + "713", + "714", + "715", + "716" ], "location": { "end": { @@ -73130,7 +74640,7 @@ "language": "typescript", "mutants": [ { - "id": "2217", + "id": "2266", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(35,28): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -73138,9 +74648,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "517", - "518", - "647" + "527", + "528", + "657" ], "location": { "end": { @@ -73154,7 +74664,7 @@ } }, { - "id": "2218", + "id": "2267", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(41,49): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -73162,10 +74672,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", - "545", - "648", - "649" + "554", + "555", + "658", + "659" ], "location": { "end": { @@ -73179,7 +74689,7 @@ } }, { - "id": "2219", + "id": "2268", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:414:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73187,13 +74697,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "544", - "545", - "648", - "649" + "554", + "555", + "658", + "659" ], "location": { "end": { @@ -73207,7 +74717,7 @@ } }, { - "id": "2220", + "id": "2269", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:414:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73215,13 +74725,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "544", - "545", - "648", - "649" + "554", + "555", + "658", + "659" ], "location": { "end": { @@ -73235,7 +74745,7 @@ } }, { - "id": "2221", + "id": "2270", "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:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:151:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73243,13 +74753,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "648" + "658" ], "coveredBy": [ - "544", - "545", - "648", - "649" + "554", + "555", + "658", + "659" ], "location": { "end": { @@ -73263,7 +74773,7 @@ } }, { - "id": "2222", + "id": "2271", "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:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:151:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73271,10 +74781,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "648" + "658" ], "coveredBy": [ - "648" + "658" ], "location": { "end": { @@ -73288,7 +74798,7 @@ } }, { - "id": "2223", + "id": "2272", "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(\"2443\");\n > 92 | return new UnexpectedException(scope, UNEXPECTED_EXCEPTION_REASONS.CANT_GENERATE_GAME_PLAYS);\n | ^\n 93 | }\n 94 | }\n 95 | function createNoCurrentGamePlayUnexpectedException(scope: string, interpolations: {\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:92:63)\n at Object. (tests/unit/specs/modules/game/providers/services/game.service.spec.ts:151:34)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:218:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:151:68)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73296,10 +74806,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "648" + "658" ], "coveredBy": [ - "648" + "658" ], "location": { "end": { @@ -73313,7 +74823,7 @@ } }, { - "id": "2224", + "id": "2273", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:414:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73321,12 +74831,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "544" + "554" ], "coveredBy": [ - "544", - "545", - "649" + "554", + "555", + "659" ], "location": { "end": { @@ -73340,7 +74850,7 @@ } }, { - "id": "2225", + "id": "2274", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(53,40): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -73348,10 +74858,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "548", - "549", - "650", - "651" + "558", + "559", + "660", + "661" ], "location": { "end": { @@ -73365,7 +74875,7 @@ } }, { - "id": "2226", + "id": "2275", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:538:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73373,13 +74883,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "549" + "559" ], "coveredBy": [ - "548", - "549", - "650", - "651" + "558", + "559", + "660", + "661" ], "location": { "end": { @@ -73393,7 +74903,7 @@ } }, { - "id": "2227", + "id": "2276", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:522:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73401,13 +74911,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "548" + "558" ], "coveredBy": [ - "548", - "549", - "650", - "651" + "558", + "559", + "660", + "661" ], "location": { "end": { @@ -73421,7 +74931,7 @@ } }, { - "id": "2228", + "id": "2277", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:522:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73429,13 +74939,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "548" + "558" ], "coveredBy": [ - "548", - "549", - "650", - "651" + "558", + "559", + "660", + "661" ], "location": { "end": { @@ -73449,15 +74959,15 @@ } }, { - "id": "2229", + "id": "2278", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "548", - "650" + "558", + "660" ], "location": { "end": { @@ -73471,15 +74981,15 @@ } }, { - "id": "2230", + "id": "2279", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "549", - "651" + "559", + "661" ], "location": { "end": { @@ -73493,7 +75003,7 @@ } }, { - "id": "2231", + "id": "2280", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(62,76): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -73501,20 +75011,20 @@ "static": false, "killedBy": [], "coveredBy": [ - "554", - "555", - "556", - "557", - "652", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "564", + "565", + "566", + "567", + "662", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73528,7 +75038,7 @@ } }, { - "id": "2232", + "id": "2281", "mutatorName": "ConditionalExpression", "replacement": "true", "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/sandbox7361449/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:621:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73536,23 +75046,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "554" + "564" ], "coveredBy": [ - "554", - "555", - "556", - "557", - "652", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "564", + "565", + "566", + "567", + "662", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73566,7 +75076,7 @@ } }, { - "id": "2233", + "id": "2282", "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/sandbox7361449/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:227:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73574,23 +75084,23 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "652" + "662" ], "coveredBy": [ - "554", - "555", - "556", - "557", - "652", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "564", + "565", + "566", + "567", + "662", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73604,7 +75114,7 @@ } }, { - "id": "2234", + "id": "2283", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:621:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73612,23 +75122,23 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "554" + "564" ], "coveredBy": [ - "554", - "555", - "556", - "557", - "652", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "564", + "565", + "566", + "567", + "662", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73642,7 +75152,7 @@ } }, { - "id": "2235", + "id": "2284", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:221:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -73650,10 +75160,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "652" + "662" ], "coveredBy": [ - "652" + "662" ], "location": { "end": { @@ -73667,7 +75177,7 @@ } }, { - "id": "2236", + "id": "2285", "mutatorName": "UpdateOperator", "replacement": "clonedGame.tick--", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -143,11 +143,11 @@\n \"original\": \"werewolves\",\n },\n },\n ],\n \"status\": \"playing\",\n- \"tick\": 8044725214904321,\n+ \"tick\": 8044725214904319,\n \"turn\": 934440314339328,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n \"source\": \"seer\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73675,20 +75185,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "566", + "567", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73702,7 +75212,7 @@ } }, { - "id": "2237", + "id": "2286", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:688:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73710,20 +75220,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "566", + "567", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73737,7 +75247,7 @@ } }, { - "id": "2238", + "id": "2287", "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/sandbox7361449/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:269:64)", @@ -73745,20 +75255,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "657" + "667" ], "coveredBy": [ - "556", - "557", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "566", + "567", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73772,7 +75282,7 @@ } }, { - "id": "2239", + "id": "2288", "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/sandbox7361449/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:269:64)", @@ -73780,10 +75290,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "657" + "667" ], "coveredBy": [ - "657" + "667" ], "location": { "end": { @@ -73797,7 +75307,7 @@ } }, { - "id": "2240", + "id": "2289", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -142,11 +142,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 3319764617265153,\n \"turn\": 82323372507136,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:689:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -73805,20 +75315,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "556" + "566" ], "coveredBy": [ - "556", - "557", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "566", + "567", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73832,7 +75342,7 @@ } }, { - "id": "2241", + "id": "2290", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:283:52)", @@ -73840,20 +75350,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "661" + "671" ], "coveredBy": [ - "556", - "557", - "653", - "654", - "655", - "656", - "657", - "658", - "659", - "660", - "661" + "566", + "567", + "663", + "664", + "665", + "666", + "667", + "668", + "669", + "670", + "671" ], "location": { "end": { @@ -73867,7 +75377,7 @@ } }, { - "id": "2242", + "id": "2291", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:283:52)", @@ -73875,10 +75385,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "661" + "671" ], "coveredBy": [ - "661" + "671" ], "location": { "end": { @@ -73892,7 +75402,7 @@ } }, { - "id": "2243", + "id": "2292", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(84,56): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -73900,10 +75410,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "662", - "663", - "664", - "665" + "672", + "673", + "674", + "675" ], "location": { "end": { @@ -73917,7 +75427,7 @@ } }, { - "id": "2244", + "id": "2293", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(92,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -73925,11 +75435,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "549", - "556", - "557", - "666", - "667" + "559", + "566", + "567", + "676", + "677" ], "location": { "end": { @@ -73943,7 +75453,7 @@ } }, { - "id": "2245", + "id": "2294", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"fe38c71ac55f9d3b2cf74ce3\"}, {\"status\": \"over\"}], but it was called with {}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:337:46)", @@ -73951,14 +75461,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "667" + "677" ], "coveredBy": [ - "549", - "556", - "557", - "666", - "667" + "559", + "566", + "567", + "676", + "677" ], "location": { "end": { @@ -73972,7 +75482,7 @@ } }, { - "id": "2246", + "id": "2295", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game.service.ts(97,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", @@ -73980,11 +75490,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "549", - "556", - "557", - "666", - "667" + "559", + "566", + "567", + "676", + "677" ], "location": { "end": { @@ -73998,7 +75508,7 @@ } }, { - "id": "2247", + "id": "2296", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game.service.ts(97,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", @@ -74006,11 +75516,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "549", - "556", - "557", - "666", - "667" + "559", + "566", + "567", + "676", + "677" ], "location": { "end": { @@ -74024,7 +75534,7 @@ } }, { - "id": "2248", + "id": "2297", "mutatorName": "EqualityOperator", "replacement": "updatedGame !== null", "statusReason": "src/modules/game/providers/services/game.service.ts(97,5): error TS2322: Type 'null' is not assignable to type 'Game'.\n", @@ -74032,11 +75542,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "549", - "556", - "557", - "666", - "667" + "559", + "566", + "567", + "676", + "677" ], "location": { "end": { @@ -74050,7 +75560,7 @@ } }, { - "id": "2249", + "id": "2298", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(91,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", @@ -74058,7 +75568,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "666" + "676" ], "location": { "end": { @@ -74072,7 +75582,7 @@ } }, { - "id": "2250", + "id": "2299", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(96,38): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74080,7 +75590,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "668" + "678" ], "location": { "end": { @@ -74100,7 +75610,7 @@ "language": "typescript", "mutants": [ { - "id": "2251", + "id": "2300", "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", @@ -74108,7 +75618,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "788" + "798" ], "location": { "end": { @@ -74122,7 +75632,7 @@ } }, { - "id": "2252", + "id": "2301", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"2ee4ccaabd5b3b2fc0afe2fd\", {\"_id\": \"2fd4a9dbcef36ab42ccdd868\", \"additionalCards\": undefined, \"createdAt\": 2023-07-27T23:29:31.452Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7141610374561792}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [], \"status\": \"canceled\", \"tick\": 5915377087283200, \"turn\": 7201703029899264, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T09:51:44.619Z, \"victory\": undefined}, {\"cause\": \"eaten\", \"source\": \"big-bad-wolf\"}], but it was called with \"2ee4ccaabd5b3b2fc0afe2fd\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:43:60)", @@ -74130,10 +75640,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "788" + "798" ], "coveredBy": [ - "788" + "798" ], "location": { "end": { @@ -74147,7 +75657,7 @@ } }, { - "id": "2253", + "id": "2302", "mutatorName": "BlockStatement", "replacement": "{}", "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", @@ -74155,7 +75665,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "789" + "799" ], "location": { "end": { @@ -74169,7 +75679,7 @@ } }, { - "id": "2254", + "id": "2303", "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", @@ -74177,7 +75687,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "790" + "800" ], "location": { "end": { @@ -74191,7 +75701,7 @@ } }, { - "id": "2255", + "id": "2304", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(29,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74199,7 +75709,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "796" + "806" ], "location": { "end": { @@ -74213,7 +75723,7 @@ } }, { - "id": "2256", + "id": "2305", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(31,5): error TS2322: Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -74221,7 +75731,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "796" + "806" ], "location": { "end": { @@ -74235,7 +75745,7 @@ } }, { - "id": "2257", + "id": "2306", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(35,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74243,11 +75753,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "791", - "792", - "793", - "795", - "796" + "801", + "802", + "803", + "805", + "806" ], "location": { "end": { @@ -74261,7 +75771,7 @@ } }, { - "id": "2258", + "id": "2307", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(38,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -74269,11 +75779,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "791", - "792", - "793", - "795", - "796" + "801", + "802", + "803", + "805", + "806" ], "location": { "end": { @@ -74287,7 +75797,7 @@ } }, { - "id": "2259", + "id": "2308", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(38,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -74295,11 +75805,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "791", - "792", - "793", - "795", - "796" + "801", + "802", + "803", + "805", + "806" ], "location": { "end": { @@ -74313,7 +75823,7 @@ } }, { - "id": "2260", + "id": "2309", "mutatorName": "LogicalOperator", "replacement": "clonedAttribute.remainingPhases !== undefined || isPlayerAttributeActive(clonedAttribute, game)", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(38,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -74321,11 +75831,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "791", - "792", - "793", - "795", - "796" + "801", + "802", + "803", + "805", + "806" ], "location": { "end": { @@ -74339,7 +75849,7 @@ } }, { - "id": "2261", + "id": "2310", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(38,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -74347,11 +75857,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "791", - "792", - "793", - "795", - "796" + "801", + "802", + "803", + "805", + "806" ], "location": { "end": { @@ -74365,7 +75875,7 @@ } }, { - "id": "2262", + "id": "2311", "mutatorName": "EqualityOperator", "replacement": "clonedAttribute.remainingPhases === undefined", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(38,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -74373,11 +75883,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "791", - "792", - "793", - "795", - "796" + "801", + "802", + "803", + "805", + "806" ], "location": { "end": { @@ -74391,16 +75901,16 @@ } }, { - "id": "2263", + "id": "2312", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "793", - "795", - "796" + "803", + "805", + "806" ], "location": { "end": { @@ -74414,7 +75924,7 @@ } }, { - "id": "2264", + "id": "2313", "mutatorName": "UpdateOperator", "replacement": "clonedAttribute.remainingPhases++", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"powerless\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 4,\n \"source\": \"ancient\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:92:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74422,12 +75932,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "793" + "803" ], "coveredBy": [ - "793", - "795", - "796" + "803", + "805", + "806" ], "location": { "end": { @@ -74441,7 +75951,7 @@ } }, { - "id": "2265", + "id": "2314", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(43,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -74449,9 +75959,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "794", - "795", - "796" + "804", + "805", + "806" ], "location": { "end": { @@ -74465,7 +75975,7 @@ } }, { - "id": "2266", + "id": "2315", "mutatorName": "BooleanLiteral", "replacement": "clonedPlayer.isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -1,20 +1,13 @@\n Player {\n \"_id\": \"cdaca89b79e23a6fcb7bec16\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 1,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:106:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74473,12 +75983,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "794" + "804" ], "coveredBy": [ - "794", - "795", - "796" + "804", + "805", + "806" ], "location": { "end": { @@ -74492,7 +76002,7 @@ } }, { - "id": "2267", + "id": "2316", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -8,13 +8,20 @@\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"all\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:126:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74500,12 +76010,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "795" + "805" ], "coveredBy": [ - "794", - "795", - "796" + "804", + "805", + "806" ], "location": { "end": { @@ -74519,16 +76029,16 @@ } }, { - "id": "2268", + "id": "2317", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "794", - "795", - "796" + "804", + "805", + "806" ], "location": { "end": { @@ -74542,7 +76052,7 @@ } }, { - "id": "2269", + "id": "2318", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -1,20 +1,13 @@\n Player {\n \"_id\": \"cdbe70aef81de120963af8aa\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 1,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:106:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74550,10 +76060,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "794" + "804" ], "coveredBy": [ - "794" + "804" ], "location": { "end": { @@ -74567,7 +76077,7 @@ } }, { - "id": "2270", + "id": "2319", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(48,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(48,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", @@ -74575,8 +76085,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74590,7 +76100,7 @@ } }, { - "id": "2271", + "id": "2320", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -8,10 +8,17 @@\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n+ \"source\": \"all\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n \"source\": \"all\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:126:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74598,11 +76108,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "795" + "805" ], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74616,7 +76126,7 @@ } }, { - "id": "2272", + "id": "2321", "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\": \"9febf1c41506aa7d5087c0bd\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Bette\",\n \"position\": 6841270232154112,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:126:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74624,11 +76134,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "795" + "805" ], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74642,7 +76152,7 @@ } }, { - "id": "2273", + "id": "2322", "mutatorName": "LogicalOperator", "replacement": "decreasedAttribute.remainingPhases === undefined && decreasedAttribute.remainingPhases > 0", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(50,63): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -74650,8 +76160,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74665,7 +76175,7 @@ } }, { - "id": "2274", + "id": "2323", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(50,20): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -74673,8 +76183,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74688,7 +76198,7 @@ } }, { - "id": "2275", + "id": "2324", "mutatorName": "EqualityOperator", "replacement": "decreasedAttribute.remainingPhases !== undefined", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(50,63): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -74696,8 +76206,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74711,7 +76221,7 @@ } }, { - "id": "2276", + "id": "2325", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 0\n\n@@ -6,17 +6,10 @@\n \"doesRemainAfterDeath\": undefined,\n \"name\": \"cant-vote\",\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Shanna\",\n \"position\": 514911293669376,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:126:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74719,11 +76229,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "795" + "805" ], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74737,7 +76247,7 @@ } }, { - "id": "2277", + "id": "2326", "mutatorName": "EqualityOperator", "replacement": "decreasedAttribute.remainingPhases >= 0", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -8,10 +8,17 @@\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n+ \"source\": \"all\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n \"source\": \"all\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:126:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74745,11 +76255,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "795" + "805" ], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74763,7 +76273,7 @@ } }, { - "id": "2278", + "id": "2327", "mutatorName": "EqualityOperator", "replacement": "decreasedAttribute.remainingPhases <= 0", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 3\n\n@@ -8,13 +8,13 @@\n \"remainingPhases\": undefined,\n \"source\": \"all\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n \"source\": \"all\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:126:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74771,11 +76281,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "795" + "805" ], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74789,7 +76299,7 @@ } }, { - "id": "2279", + "id": "2328", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 1\n\n@@ -1,23 +1,8 @@\n Player {\n \"_id\": \"a7fa73ea7bce45f2ecb56bba\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Lora\",\n \"position\": 5340927954518016,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:126:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74797,11 +76307,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "795" + "805" ], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74815,7 +76325,7 @@ } }, { - "id": "2280", + "id": "2329", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 1\n\n@@ -1,23 +1,8 @@\n Player {\n \"_id\": \"2defbcfe06dbf2aa6d5bf644\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Cecelia\",\n \"position\": 5572380915138560,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:126:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74823,11 +76333,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "795" + "805" ], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74841,7 +76351,7 @@ } }, { - "id": "2281", + "id": "2330", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(48,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(54,9): error TS2322: Type 'string' is not assignable to type 'PlayerAttribute'.\n", @@ -74849,8 +76359,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "796" + "805", + "806" ], "location": { "end": { @@ -74870,7 +76380,7 @@ "language": "typescript", "mutants": [ { - "id": "2282", + "id": "2331", "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", @@ -74878,9 +76388,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "328", - "329", - "330" + "336", + "337", + "338" ], "location": { "end": { @@ -74894,16 +76404,16 @@ } }, { - "id": "2283", + "id": "2332", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "328", - "329", - "330" + "336", + "337", + "338" ], "location": { "end": { @@ -74917,16 +76427,16 @@ } }, { - "id": "2284", + "id": "2333", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "328", - "329", - "330" + "336", + "337", + "338" ], "location": { "end": { @@ -74940,14 +76450,14 @@ } }, { - "id": "2285", + "id": "2334", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329" + "337" ], "location": { "end": { @@ -74961,15 +76471,15 @@ } }, { - "id": "2286", + "id": "2335", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "328", - "330" + "336", + "338" ], "location": { "end": { @@ -74983,15 +76493,15 @@ } }, { - "id": "2287", + "id": "2336", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "328", - "330" + "336", + "338" ], "location": { "end": { @@ -75005,7 +76515,7 @@ } }, { - "id": "2288", + "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:155:58)", @@ -75013,10 +76523,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "330" + "338" ], "coveredBy": [ - "330" + "338" ], "location": { "end": { @@ -75030,7 +76540,7 @@ } }, { - "id": "2289", + "id": "2338", "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", @@ -75038,10 +76548,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "333", - "334", - "335", - "336" + "341", + "342", + "343", + "344" ], "location": { "end": { @@ -75055,7 +76565,7 @@ } }, { - "id": "2290", + "id": "2339", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:209:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75063,13 +76573,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "334" + "342" ], "coveredBy": [ - "333", - "334", - "335", - "336" + "341", + "342", + "343", + "344" ], "location": { "end": { @@ -75083,7 +76593,7 @@ } }, { - "id": "2291", + "id": "2340", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:202:102)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75091,13 +76601,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "333" + "341" ], "coveredBy": [ - "333", - "334", - "335", - "336" + "341", + "342", + "343", + "344" ], "location": { "end": { @@ -75111,7 +76621,7 @@ } }, { - "id": "2292", + "id": "2341", "mutatorName": "EqualityOperator", "replacement": "cause === PLAYER_DEATH_CAUSES.EATEN", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:202:102)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75119,13 +76629,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "333" + "341" ], "coveredBy": [ - "333", - "334", - "335", - "336" + "341", + "342", + "343", + "344" ], "location": { "end": { @@ -75139,7 +76649,7 @@ } }, { - "id": "2293", + "id": "2342", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:202:102)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75147,10 +76657,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "333" + "341" ], "coveredBy": [ - "333" + "341" ], "location": { "end": { @@ -75164,7 +76674,7 @@ } }, { - "id": "2294", + "id": "2343", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9682209/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:202:102)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75172,10 +76682,10 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "333" + "341" ], "coveredBy": [ - "333" + "341" ], "location": { "end": { @@ -75189,16 +76699,16 @@ } }, { - "id": "2295", + "id": "2344", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "334", - "335", - "336" + "342", + "343", + "344" ], "location": { "end": { @@ -75212,16 +76722,16 @@ } }, { - "id": "2296", + "id": "2345", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "334", - "335", - "336" + "342", + "343", + "344" ], "location": { "end": { @@ -75235,7 +76745,7 @@ } }, { - "id": "2297", + "id": "2346", "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:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:216:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75243,12 +76753,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "335" + "343" ], "coveredBy": [ - "334", - "335", - "336" + "342", + "343", + "344" ], "location": { "end": { @@ -75262,16 +76772,16 @@ } }, { - "id": "2298", + "id": "2347", "mutatorName": "EqualityOperator", "replacement": "ancientLivesCountAgainstWerewolves - 1 > 0", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "334", - "335", - "336" + "342", + "343", + "344" ], "location": { "end": { @@ -75285,7 +76795,7 @@ } }, { - "id": "2299", + "id": "2348", "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:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:216:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75293,12 +76803,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "335" + "343" ], "coveredBy": [ - "334", - "335", - "336" + "342", + "343", + "344" ], "location": { "end": { @@ -75312,7 +76822,7 @@ } }, { - "id": "2300", + "id": "2349", "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", @@ -75320,10 +76830,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "330", - "331", - "332", - "338" + "338", + "339", + "340", + "346" ], "location": { "end": { @@ -75337,7 +76847,7 @@ } }, { - "id": "2301", + "id": "2350", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -93,11 +93,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"e23d75e2a0df2c8e06c820fa\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"all\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Ernestine\",\n \"position\": 369318340591616,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:193:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75345,13 +76855,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "332" + "340" ], "coveredBy": [ - "330", - "331", - "332", - "338" + "338", + "339", + "340", + "346" ], "location": { "end": { @@ -75365,7 +76875,7 @@ } }, { - "id": "2302", + "id": "2351", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -76,19 +76,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"11375fa2c53afeae3fb14ea0\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Sylvia\",\n \"position\": 4738046199070720,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:181:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75373,13 +76883,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "331" + "339" ], "coveredBy": [ - "330", - "331", - "332", - "338" + "338", + "339", + "340", + "346" ], "location": { "end": { @@ -75393,17 +76903,17 @@ } }, { - "id": "2303", + "id": "2352", "mutatorName": "EqualityOperator", "replacement": "revealedPlayer.role.current !== ROLE_NAMES.IDIOT", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "330", - "331", - "332", - "338" + "338", + "339", + "340", + "346" ], "location": { "end": { @@ -75417,7 +76927,7 @@ } }, { - "id": "2304", + "id": "2353", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -76,19 +76,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"a2df1f3519aad42abfb6c6de\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"all\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Jayde\",\n \"position\": 5941914484342784,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:181:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75425,10 +76935,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "331" + "339" ], "coveredBy": [ - "331" + "339" ], "location": { "end": { @@ -75442,7 +76952,7 @@ } }, { - "id": "2305", + "id": "2354", "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", @@ -75450,9 +76960,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "330", - "337", - "338" + "338", + "345", + "346" ], "location": { "end": { @@ -75466,16 +76976,16 @@ } }, { - "id": "2306", + "id": "2355", "mutatorName": "StringLiteral", "replacement": "\"\"", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "330", - "337", - "338" + "338", + "345", + "346" ], "location": { "end": { @@ -75489,7 +76999,7 @@ } }, { - "id": "2307", + "id": "2356", "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", @@ -75497,9 +77007,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "330", - "337", - "338" + "338", + "345", + "346" ], "location": { "end": { @@ -75513,16 +77023,16 @@ } }, { - "id": "2308", + "id": "2357", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "330", - "337", - "338" + "338", + "345", + "346" ], "location": { "end": { @@ -75536,7 +77046,7 @@ } }, { - "id": "2309", + "id": "2358", "mutatorName": "BlockStatement", "replacement": "{}", "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", @@ -75544,11 +77054,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75562,7 +77072,7 @@ } }, { - "id": "2310", + "id": "2359", "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/sandbox2212490/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:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75570,14 +77080,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "339" + "347" ], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75591,18 +77101,18 @@ } }, { - "id": "2311", + "id": "2360", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75616,7 +77126,7 @@ } }, { - "id": "2312", + "id": "2361", "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/sandbox2212490/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:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75624,14 +77134,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "339" + "347" ], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75645,7 +77155,7 @@ } }, { - "id": "2313", + "id": "2362", "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/sandbox2212490/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:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75653,14 +77163,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "339" + "347" ], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75674,18 +77184,18 @@ } }, { - "id": "2314", + "id": "2363", "mutatorName": "LogicalOperator", "replacement": "!playerToReveal.role.isRevealed && playerToReveal.role.current === ROLE_NAMES.IDIOT || !doesPlayerHaveAttribute(playerToReveal, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75699,18 +77209,18 @@ } }, { - "id": "2315", + "id": "2364", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75724,7 +77234,7 @@ } }, { - "id": "2316", + "id": "2365", "mutatorName": "LogicalOperator", "replacement": "!playerToReveal.role.isRevealed || playerToReveal.role.current === ROLE_NAMES.IDIOT", "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/sandbox2212490/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:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75732,14 +77242,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "340" + "348" ], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75753,7 +77263,7 @@ } }, { - "id": "2317", + "id": "2366", "mutatorName": "BooleanLiteral", "replacement": "playerToReveal.role.isRevealed", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:303:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75761,14 +77271,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "343" + "351" ], "coveredBy": [ - "339", - "340", - "341", - "342", - "343" + "347", + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75782,17 +77292,17 @@ } }, { - "id": "2318", + "id": "2367", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "340", - "341", - "342", - "343" + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75806,7 +77316,7 @@ } }, { - "id": "2319", + "id": "2368", "mutatorName": "EqualityOperator", "replacement": "playerToReveal.role.current !== ROLE_NAMES.IDIOT", "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/sandbox2212490/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:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75814,13 +77324,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "340" + "348" ], "coveredBy": [ - "340", - "341", - "342", - "343" + "348", + "349", + "350", + "351" ], "location": { "end": { @@ -75834,16 +77344,16 @@ } }, { - "id": "2320", + "id": "2369", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(playerToReveal, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "341", - "342", - "343" + "349", + "350", + "351" ], "location": { "end": { @@ -75857,7 +77367,7 @@ } }, { - "id": "2321", + "id": "2370", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:296:84)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75865,11 +77375,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "342" + "350" ], "coveredBy": [ - "342", - "343" + "350", + "351" ], "location": { "end": { @@ -75883,15 +77393,15 @@ } }, { - "id": "2322", + "id": "2371", "mutatorName": "EqualityOperator", "replacement": "death.cause !== PLAYER_DEATH_CAUSES.VOTE", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "342", - "343" + "350", + "351" ], "location": { "end": { @@ -75905,7 +77415,7 @@ } }, { - "id": "2323", + "id": "2372", "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", @@ -75913,8 +77423,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "344" + "337", + "352" ], "location": { "end": { @@ -75928,7 +77438,7 @@ } }, { - "id": "2324", + "id": "2373", "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\": \"0c8d882ba0baacec87bcaa48\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75936,11 +77446,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "344" + "352" ], "coveredBy": [ - "329", - "344" + "337", + "352" ], "location": { "end": { @@ -75954,15 +77464,15 @@ } }, { - "id": "2325", + "id": "2374", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329", - "344" + "337", + "352" ], "location": { "end": { @@ -75976,7 +77486,7 @@ } }, { - "id": "2326", + "id": "2375", "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\": \"bfcec87f7f28e39a6489c8ae\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75984,10 +77494,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "344" + "352" ], "coveredBy": [ - "344" + "352" ], "location": { "end": { @@ -76001,7 +77511,7 @@ } }, { - "id": "2327", + "id": "2376", "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\": \"e6ed6372a3c27406ba536c34\",\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\": \"Izabella\",\n \"position\": 3584497010343936,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76009,10 +77519,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "344" + "352" ], "coveredBy": [ - "344" + "352" ], "location": { "end": { @@ -76026,14 +77536,14 @@ } }, { - "id": "2328", + "id": "2377", "mutatorName": "EqualityOperator", "replacement": "doesRemainAfterDeath !== true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "344" + "352" ], "location": { "end": { @@ -76047,14 +77557,14 @@ } }, { - "id": "2329", + "id": "2378", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "344" + "352" ], "location": { "end": { @@ -76068,7 +77578,7 @@ } }, { - "id": "2330", + "id": "2379", "mutatorName": "BlockStatement", "replacement": "{}", "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", @@ -76076,9 +77586,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "345", - "346", - "347" + "353", + "354", + "355" ], "location": { "end": { @@ -76092,7 +77602,7 @@ } }, { - "id": "2331", + "id": "2380", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(75,5): error TS2322: Type 'GameHistoryRecord' is not assignable to type 'number'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(75,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", @@ -76100,8 +77610,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76115,7 +77625,7 @@ } }, { - "id": "2332", + "id": "2381", "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:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:380:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76123,11 +77633,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "346" + "354" ], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76141,7 +77651,7 @@ } }, { - "id": "2333", + "id": "2382", "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:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:380:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76149,11 +77659,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "346" + "354" ], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76167,7 +77677,7 @@ } }, { - "id": "2334", + "id": "2383", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 0\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:380:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76175,11 +77685,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "346" + "354" ], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76193,7 +77703,7 @@ } }, { - "id": "2335", + "id": "2384", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:380:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76201,10 +77711,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "346" + "354" ], "coveredBy": [ - "346" + "354" ], "location": { "end": { @@ -76218,14 +77728,14 @@ } }, { - "id": "2336", + "id": "2385", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "346" + "354" ], "location": { "end": { @@ -76239,14 +77749,14 @@ } }, { - "id": "2337", + "id": "2386", "mutatorName": "EqualityOperator", "replacement": "turn !== werewolvesEatAncientRecord.turn", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "346" + "354" ], "location": { "end": { @@ -76260,15 +77770,15 @@ } }, { - "id": "2338", + "id": "2387", "mutatorName": "BooleanLiteral", "replacement": "wasAncientProtectedFromWerewolves", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76282,7 +77792,7 @@ } }, { - "id": "2339", + "id": "2388", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 0\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:380:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76290,11 +77800,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "346" + "354" ], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76308,15 +77818,15 @@ } }, { - "id": "2340", + "id": "2389", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76330,7 +77840,7 @@ } }, { - "id": "2341", + "id": "2390", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:380:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76338,11 +77848,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "346" + "354" ], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76356,7 +77866,7 @@ } }, { - "id": "2342", + "id": "2391", "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:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:380:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76364,11 +77874,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "346" + "354" ], "coveredBy": [ - "346", - "347" + "354", + "355" ], "location": { "end": { @@ -76382,7 +77892,7 @@ } }, { - "id": "2343", + "id": "2392", "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", @@ -76390,10 +77900,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "348", - "349", - "350", - "351" + "356", + "357", + "358", + "359" ], "location": { "end": { @@ -76407,7 +77917,7 @@ } }, { - "id": "2344", + "id": "2393", "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/sandbox9653848/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:424:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76415,13 +77925,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "351" + "359" ], "coveredBy": [ - "348", - "349", - "350", - "351" + "356", + "357", + "358", + "359" ], "location": { "end": { @@ -76435,17 +77945,17 @@ } }, { - "id": "2345", + "id": "2394", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "348", - "349", - "350", - "351" + "356", + "357", + "358", + "359" ], "location": { "end": { @@ -76459,7 +77969,7 @@ } }, { - "id": "2346", + "id": "2395", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:406:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76467,13 +77977,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "348" + "356" ], "coveredBy": [ - "348", - "349", - "350", - "351" + "356", + "357", + "358", + "359" ], "location": { "end": { @@ -76487,17 +77997,21 @@ } }, { - "id": "2347", + "id": "2396", "mutatorName": "ConditionalExpression", "replacement": "false", - "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/sandbox864757/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:406:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "356" + ], "coveredBy": [ - "348", - "349", - "350", - "351" + "356", + "357", + "358", + "359" ], "location": { "end": { @@ -76511,17 +78025,21 @@ } }, { - "id": "2348", + "id": "2397", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer.role.isRevealed && cause !== PLAYER_DEATH_CAUSES.VOTE", - "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/sandbox864757/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:406:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367: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": [ + "356" + ], "coveredBy": [ - "348", - "349", - "350", - "351" + "356", + "357", + "358", + "359" ], "location": { "end": { @@ -76535,7 +78053,7 @@ } }, { - "id": "2349", + "id": "2398", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:412:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76543,12 +78061,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "349" + "357" ], "coveredBy": [ - "349", - "350", - "351" + "357", + "358", + "359" ], "location": { "end": { @@ -76562,7 +78080,7 @@ } }, { - "id": "2350", + "id": "2399", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:412:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76570,12 +78088,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "349" + "357" ], "coveredBy": [ - "349", - "350", - "351" + "357", + "358", + "359" ], "location": { "end": { @@ -76589,7 +78107,7 @@ } }, { - "id": "2351", + "id": "2400", "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", @@ -76597,11 +78115,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "352", - "353", - "354", - "355", - "356" + "360", + "361", + "362", + "363", + "364" ], "location": { "end": { @@ -76615,18 +78133,18 @@ } }, { - "id": "2352", + "id": "2401", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "352", - "353", - "354", - "355", - "356" + "360", + "361", + "362", + "363", + "364" ], "location": { "end": { @@ -76640,18 +78158,18 @@ } }, { - "id": "2353", + "id": "2402", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "352", - "353", - "354", - "355", - "356" + "360", + "361", + "362", + "363", + "364" ], "location": { "end": { @@ -76665,18 +78183,18 @@ } }, { - "id": "2354", + "id": "2403", "mutatorName": "LogicalOperator", "replacement": "!isPlayerSavedByWitch || !isPlayerProtectedByGuard || eatenPlayer.role.current === ROLE_NAMES.LITTLE_GIRL && !isLittleGirlProtectedByGuard", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "352", - "353", - "354", - "355", - "356" + "360", + "361", + "362", + "363", + "364" ], "location": { "end": { @@ -76690,18 +78208,18 @@ } }, { - "id": "2355", + "id": "2404", "mutatorName": "BooleanLiteral", "replacement": "isPlayerSavedByWitch", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "352", - "353", - "354", - "355", - "356" + "360", + "361", + "362", + "363", + "364" ], "location": { "end": { @@ -76715,7 +78233,7 @@ } }, { - "id": "2356", + "id": "2405", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:441:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76723,13 +78241,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "353" + "361" ], "coveredBy": [ - "353", - "354", - "355", - "356" + "361", + "362", + "363", + "364" ], "location": { "end": { @@ -76743,7 +78261,7 @@ } }, { - "id": "2357", + "id": "2406", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:457:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76751,13 +78269,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "355" + "363" ], "coveredBy": [ - "353", - "354", - "355", - "356" + "361", + "362", + "363", + "364" ], "location": { "end": { @@ -76771,7 +78289,7 @@ } }, { - "id": "2358", + "id": "2407", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:441:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76779,13 +78297,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "353" + "361" ], "coveredBy": [ - "353", - "354", - "355", - "356" + "361", + "362", + "363", + "364" ], "location": { "end": { @@ -76799,16 +78317,16 @@ } }, { - "id": "2359", + "id": "2408", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "353", - "354", - "355" + "361", + "362", + "363" ], "location": { "end": { @@ -76822,7 +78340,7 @@ } }, { - "id": "2360", + "id": "2409", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:441:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76830,12 +78348,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "353" + "361" ], "coveredBy": [ - "353", - "354", - "355" + "361", + "362", + "363" ], "location": { "end": { @@ -76849,7 +78367,7 @@ } }, { - "id": "2361", + "id": "2410", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:441:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76857,12 +78375,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "353" + "361" ], "coveredBy": [ - "353", - "354", - "355" + "361", + "362", + "363" ], "location": { "end": { @@ -76876,7 +78394,7 @@ } }, { - "id": "2362", + "id": "2411", "mutatorName": "EqualityOperator", "replacement": "eatenPlayer.role.current !== ROLE_NAMES.LITTLE_GIRL", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:441:71)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76884,12 +78402,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "353" + "361" ], "coveredBy": [ - "353", - "354", - "355" + "361", + "362", + "363" ], "location": { "end": { @@ -76903,15 +78421,15 @@ } }, { - "id": "2363", + "id": "2412", "mutatorName": "BooleanLiteral", "replacement": "isLittleGirlProtectedByGuard", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "354", - "355" + "362", + "363" ], "location": { "end": { @@ -76925,7 +78443,7 @@ } }, { - "id": "2364", + "id": "2413", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(96,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -76933,13 +78451,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "357", - "358", - "359", - "360", - "361", - "362", - "363" + "365", + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -76953,7 +78471,7 @@ } }, { - "id": "2365", + "id": "2414", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:492:35)", @@ -76961,16 +78479,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "359" + "367" ], "coveredBy": [ - "357", - "358", - "359", - "360", - "361", - "362", - "363" + "365", + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -76984,7 +78502,7 @@ } }, { - "id": "2366", + "id": "2415", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:474:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76992,16 +78510,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "357" + "365" ], "coveredBy": [ - "357", - "358", - "359", - "360", - "361", - "362", - "363" + "365", + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77015,7 +78533,7 @@ } }, { - "id": "2367", + "id": "2416", "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\": \"ca5dacaa4aadc9462b84c2d7\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Cecil\", \"position\": 803784974401536, \"role\": {\"current\": \"raven\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"41ae47ddbc6bbaada1a4bc7e\", \"additionalCards\": undefined, \"createdAt\": 2023-07-29T01:09:58.286Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 5637651493289984}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [], \"status\": \"canceled\", \"tick\": 6160647362445312, \"turn\": 7761277841571840, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T04:23:16.768Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:483:40)", @@ -77023,16 +78541,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "358" + "366" ], "coveredBy": [ - "357", - "358", - "359", - "360", - "361", - "362", - "363" + "365", + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77046,20 +78564,20 @@ } }, { - "id": "2368", + "id": "2417", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "357", - "358", - "359", - "360", - "361", - "362", - "363" + "365", + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77073,20 +78591,20 @@ } }, { - "id": "2369", + "id": "2418", "mutatorName": "EqualityOperator", "replacement": "cause !== PLAYER_DEATH_CAUSES.EATEN", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "357", - "358", - "359", - "360", - "361", - "362", - "363" + "365", + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77100,14 +78618,14 @@ } }, { - "id": "2370", + "id": "2419", "mutatorName": "BooleanLiteral", "replacement": "this.canPlayerBeEaten(player, game)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "357" + "365" ], "location": { "end": { @@ -77121,7 +78639,7 @@ } }, { - "id": "2371", + "id": "2420", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:474:113)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77129,10 +78647,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "357" + "365" ], "coveredBy": [ - "357" + "365" ], "location": { "end": { @@ -77146,14 +78664,14 @@ } }, { - "id": "2372", + "id": "2421", "mutatorName": "BooleanLiteral", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "357" + "365" ], "location": { "end": { @@ -77167,19 +78685,19 @@ } }, { - "id": "2373", + "id": "2422", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "358", - "359", - "360", - "361", - "362", - "363" + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77193,19 +78711,19 @@ } }, { - "id": "2374", + "id": "2423", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "358", - "359", - "360", - "361", - "362", - "363" + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77219,7 +78737,7 @@ } }, { - "id": "2375", + "id": "2424", "mutatorName": "EqualityOperator", "replacement": "player.role.current !== ROLE_NAMES.IDIOT", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(103,9): error TS2367: This comparison appears to be unintentional because the types 'ROLE_NAMES.IDIOT' and 'ROLE_NAMES.ANCIENT' have no overlap.\n", @@ -77227,12 +78745,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "358", - "359", - "360", - "361", - "362", - "363" + "366", + "367", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77246,14 +78764,14 @@ } }, { - "id": "2376", + "id": "2425", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "359" + "367" ], "location": { "end": { @@ -77267,7 +78785,7 @@ } }, { - "id": "2377", + "id": "2426", "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\": \"cfa8c8b50ae0b9ebe6fe3fcb\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T08:04:24.656Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2766906291388416}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [], \"status\": \"over\", \"tick\": 8791575477878784, \"turn\": 7628962144452608, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T16:46:30.370Z, \"victory\": undefined}, \"vote\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:519:41)", @@ -77275,14 +78793,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "362" + "370" ], "coveredBy": [ - "358", - "360", - "361", - "362", - "363" + "366", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77296,7 +78814,7 @@ } }, { - "id": "2378", + "id": "2427", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:510:37)", @@ -77304,14 +78822,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "361" + "369" ], "coveredBy": [ - "358", - "360", - "361", - "362", - "363" + "366", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77325,7 +78843,7 @@ } }, { - "id": "2379", + "id": "2428", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:510:37)", @@ -77333,14 +78851,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "361" + "369" ], "coveredBy": [ - "358", - "360", - "361", - "362", - "363" + "366", + "368", + "369", + "370", + "371" ], "location": { "end": { @@ -77354,7 +78872,7 @@ } }, { - "id": "2380", + "id": "2429", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:510:37)", @@ -77362,10 +78880,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "361" + "369" ], "coveredBy": [ - "361" + "369" ], "location": { "end": { @@ -77379,7 +78897,7 @@ } }, { - "id": "2381", + "id": "2430", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:526:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77387,13 +78905,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "363" + "371" ], "coveredBy": [ - "358", - "360", - "362", - "363" + "366", + "368", + "370", + "371" ], "location": { "end": { @@ -77407,7 +78925,7 @@ } }, { - "id": "2382", + "id": "2431", "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", @@ -77415,11 +78933,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77433,7 +78951,7 @@ } }, { - "id": "2383", + "id": "2432", "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", @@ -77441,11 +78959,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77459,7 +78977,7 @@ } }, { - "id": "2384", + "id": "2433", "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", @@ -77467,11 +78985,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77485,7 +79003,7 @@ } }, { - "id": "2385", + "id": "2434", "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", @@ -77493,11 +79011,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77511,7 +79029,7 @@ } }, { - "id": "2386", + "id": "2435", "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", @@ -77519,11 +79037,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77537,7 +79055,7 @@ } }, { - "id": "2387", + "id": "2436", "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", @@ -77545,11 +79063,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77563,7 +79081,7 @@ } }, { - "id": "2388", + "id": "2437", "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", @@ -77571,11 +79089,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77589,7 +79107,7 @@ } }, { - "id": "2389", + "id": "2438", "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", @@ -77597,11 +79115,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77615,18 +79133,18 @@ } }, { - "id": "2390", + "id": "2439", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.WORSHIPED)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367", - "368" + "372", + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77640,7 +79158,7 @@ } }, { - "id": "2391", + "id": "2440", "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", @@ -77648,10 +79166,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "365", - "366", - "367", - "368" + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77665,7 +79183,7 @@ } }, { - "id": "2392", + "id": "2441", "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", @@ -77673,10 +79191,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "365", - "366", - "367", - "368" + "373", + "374", + "375", + "376" ], "location": { "end": { @@ -77690,7 +79208,7 @@ } }, { - "id": "2393", + "id": "2442", "mutatorName": "BooleanLiteral", "replacement": "wildChildPlayer.isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -129,11 +129,11 @@\n \"current\": \"wild-child\",\n \"isRevealed\": false,\n \"original\": \"wild-child\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"e6bd88bfdb3d1a2a5f860a35\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:564:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77698,12 +79216,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "366" + "374" ], "coveredBy": [ - "366", - "367", - "368" + "374", + "375", + "376" ], "location": { "end": { @@ -77717,7 +79235,7 @@ } }, { - "id": "2394", + "id": "2443", "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", @@ -77725,10 +79243,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "364", - "365", - "366", - "367" + "372", + "373", + "374", + "375" ], "location": { "end": { @@ -77742,7 +79260,7 @@ } }, { - "id": "2395", + "id": "2444", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(120,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -77750,10 +79268,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -77767,17 +79285,17 @@ } }, { - "id": "2396", + "id": "2445", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -77791,17 +79309,17 @@ } }, { - "id": "2397", + "id": "2446", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -77815,17 +79333,17 @@ } }, { - "id": "2398", + "id": "2447", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -77839,17 +79357,17 @@ } }, { - "id": "2399", + "id": "2448", "mutatorName": "LogicalOperator", "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) && player.isAlive || player._id !== killedPlayer._id", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -77863,17 +79381,17 @@ } }, { - "id": "2400", + "id": "2449", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -77887,17 +79405,17 @@ } }, { - "id": "2401", + "id": "2450", "mutatorName": "LogicalOperator", "replacement": "doesPlayerHaveAttribute(player, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) || player.isAlive", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -77911,7 +79429,7 @@ } }, { - "id": "2402", + "id": "2451", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 5\n\n@@ -76,26 +76,21 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"0b6d7ee9d77fb4b1bd3ba141\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": 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\": \"Reid\",\n \"position\": 7792099887939584,\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:626:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77919,12 +79437,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "370" + "378" ], "coveredBy": [ - "370", - "371", - "372" + "378", + "379", + "380" ], "location": { "end": { @@ -77938,7 +79456,7 @@ } }, { - "id": "2403", + "id": "2452", "mutatorName": "EqualityOperator", "replacement": "player._id === killedPlayer._id", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 5\n\n@@ -76,26 +76,21 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"4c85d2ba1bfd1149eb253b26\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": 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\": \"Gertrude\",\n \"position\": 363998316855296,\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:626:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77946,12 +79464,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "370" + "378" ], "coveredBy": [ - "370", - "371", - "372" + "378", + "379", + "380" ], "location": { "end": { @@ -77965,7 +79483,7 @@ } }, { - "id": "2404", + "id": "2453", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(127,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", @@ -77973,10 +79491,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -77990,7 +79508,7 @@ } }, { - "id": "2405", + "id": "2454", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(127,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", @@ -77998,10 +79516,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -78015,7 +79533,7 @@ } }, { - "id": "2406", + "id": "2455", "mutatorName": "LogicalOperator", "replacement": "!doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.IN_LOVE) && !otherPlayerInLove", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(127,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", @@ -78023,10 +79541,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -78040,7 +79558,7 @@ } }, { - "id": "2407", + "id": "2456", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:652:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78048,13 +79566,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "372" + "380" ], "coveredBy": [ - "369", - "370", - "371", - "372" + "377", + "378", + "379", + "380" ], "location": { "end": { @@ -78068,7 +79586,7 @@ } }, { - "id": "2408", + "id": "2457", "mutatorName": "BooleanLiteral", "replacement": "otherPlayerInLove", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(127,28): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -78076,9 +79594,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "370", - "371", - "372" + "378", + "379", + "380" ], "location": { "end": { @@ -78092,7 +79610,7 @@ } }, { - "id": "2409", + "id": "2458", "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", @@ -78100,9 +79618,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "369", - "370", - "371" + "377", + "378", + "379" ], "location": { "end": { @@ -78116,7 +79634,7 @@ } }, { - "id": "2410", + "id": "2459", "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", @@ -78124,10 +79642,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "373", - "374", - "375", - "376" + "381", + "382", + "383", + "384" ], "location": { "end": { @@ -78141,7 +79659,7 @@ } }, { - "id": "2411", + "id": "2460", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -171,15 +171,10 @@\n \"status\": \"over\",\n \"tick\": 8568876820332544,\n \"turn\": 1927376860610560,\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:691:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78149,13 +79667,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "375" + "383" ], "coveredBy": [ - "373", - "374", - "375", - "376" + "381", + "382", + "383", + "384" ], "location": { "end": { @@ -78169,7 +79687,7 @@ } }, { - "id": "2412", + "id": "2461", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -162,9 +162,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 4322580165033984,\n \"turn\": 1879381265874944,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"cause\": undefined,\n+ \"source\": \"sheriff\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-28T11:01:53.460Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:666:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78177,13 +79695,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "373" + "381" ], "coveredBy": [ - "373", - "374", - "375", - "376" + "381", + "382", + "383", + "384" ], "location": { "end": { @@ -78197,7 +79715,7 @@ } }, { - "id": "2413", + "id": "2462", "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@@ -162,9 +162,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7368319390711808,\n \"turn\": 8376629896151040,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"cause\": undefined,\n+ \"source\": \"sheriff\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-28T15:24:46.937Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:666:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78205,13 +79723,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "373" + "381" ], "coveredBy": [ - "373", - "374", - "375", - "376" + "381", + "382", + "383", + "384" ], "location": { "end": { @@ -78225,17 +79743,17 @@ } }, { - "id": "2414", + "id": "2463", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.SHERIFF)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "373", - "374", - "375", - "376" + "381", + "382", + "383", + "384" ], "location": { "end": { @@ -78249,16 +79767,16 @@ } }, { - "id": "2415", + "id": "2464", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "374", - "375", - "376" + "382", + "383", + "384" ], "location": { "end": { @@ -78272,7 +79790,7 @@ } }, { - "id": "2416", + "id": "2465", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current === ROLE_NAMES.IDIOT || !doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -171,15 +171,10 @@\n \"status\": \"playing\",\n \"tick\": 4825672455290880,\n \"turn\": 331732947566592,\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:691:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78280,12 +79798,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "375" + "383" ], "coveredBy": [ - "374", - "375", - "376" + "382", + "383", + "384" ], "location": { "end": { @@ -78299,16 +79817,16 @@ } }, { - "id": "2417", + "id": "2466", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "374", - "375", - "376" + "382", + "383", + "384" ], "location": { "end": { @@ -78322,16 +79840,16 @@ } }, { - "id": "2418", + "id": "2467", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.IDIOT", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "374", - "375", - "376" + "382", + "383", + "384" ], "location": { "end": { @@ -78345,15 +79863,15 @@ } }, { - "id": "2419", + "id": "2468", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "374", - "375" + "382", + "383" ], "location": { "end": { @@ -78367,15 +79885,15 @@ } }, { - "id": "2420", + "id": "2469", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "373", - "374" + "381", + "382" ], "location": { "end": { @@ -78389,7 +79907,7 @@ } }, { - "id": "2421", + "id": "2470", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(139,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -78397,9 +79915,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78413,16 +79931,16 @@ } }, { - "id": "2422", + "id": "2471", "mutatorName": "StringLiteral", "replacement": "\"\"", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78436,7 +79954,7 @@ } }, { - "id": "2423", + "id": "2472", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(142,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", @@ -78444,9 +79962,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78460,7 +79978,7 @@ } }, { - "id": "2424", + "id": "2473", "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/sandbox2212490/src/modules/game/helpers/player/player.helper.ts:52:3)\n at PlayerKillerService.applyPlayerAttributesDeathOutcomes (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/src/modules/game/providers/services/player/player-killer.service.ts:340:135)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:731:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78468,12 +79986,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "377" + "385" ], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78487,7 +80005,7 @@ } }, { - "id": "2425", + "id": "2474", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:757:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78495,12 +80013,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "378" + "386" ], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78514,7 +80032,7 @@ } }, { - "id": "2426", + "id": "2475", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:757:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78522,10 +80040,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "378" + "386" ], "coveredBy": [ - "378" + "386" ], "location": { "end": { @@ -78539,7 +80057,7 @@ } }, { - "id": "2427", + "id": "2476", "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/sandbox2212490/src/modules/game/helpers/player/player.helper.ts:52:3)\n at PlayerKillerService.applyPlayerAttributesDeathOutcomes (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/src/modules/game/providers/services/player/player-killer.service.ts:340:135)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:731:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78547,12 +80065,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "377" + "385" ], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78566,7 +80084,7 @@ } }, { - "id": "2428", + "id": "2477", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:758:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78574,12 +80092,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "378" + "386" ], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78593,7 +80111,7 @@ } }, { - "id": "2429", + "id": "2478", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:758:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78601,10 +80119,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "378" + "386" ], "coveredBy": [ - "378" + "386" ], "location": { "end": { @@ -78618,7 +80136,7 @@ } }, { - "id": "2430", + "id": "2479", "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\": \"3793c38a4abecfbaeb6ef1cf\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"powerless\", \"remainingPhases\": undefined, \"source\": \"ancient\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Kevin\", \"position\": 5456701866115072, \"role\": {\"current\": \"idiot\", \"isRevealed\": false, \"original\": \"idiot\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"7bbed33c3fcda6c5f082dfbb\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T03:52:21.364Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 25754320502784}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"3793c38a4abecfbaeb6ef1cf\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"powerless\", \"remainingPhases\": undefined, \"source\": \"ancient\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Kevin\", \"position\": 5456701866115072, \"role\": {\"current\": \"idiot\", \"isRevealed\": false, \"original\": \"idiot\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"72f1afe05ddc03c387eab51e\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"in-love\", \"remainingPhases\": undefined, \"source\": \"cupid\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Moses\", \"position\": 1052208191766528, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"7cd53aff1ce39a204aafe930\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Morris\", \"position\": 6334176296960000, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b5afa5bf8ddffdcdc5a9cdb0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Timmothy\", \"position\": 3250939913830400, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 2879004824567808, \"turn\": 7825124877139968, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T07:37:17.131Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:734:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78626,12 +80144,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "377" + "385" ], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78645,16 +80163,16 @@ } }, { - "id": "2431", + "id": "2480", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329", - "377", - "378" + "337", + "385", + "386" ], "location": { "end": { @@ -78668,14 +80186,14 @@ } }, { - "id": "2432", + "id": "2481", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "378" + "386" ], "location": { "end": { @@ -78689,7 +80207,7 @@ } }, { - "id": "2433", + "id": "2482", "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", @@ -78697,11 +80215,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78715,7 +80233,7 @@ } }, { - "id": "2434", + "id": "2483", "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", @@ -78723,11 +80241,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78741,7 +80259,7 @@ } }, { - "id": "2435", + "id": "2484", "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", @@ -78749,11 +80267,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78767,7 +80285,7 @@ } }, { - "id": "2436", + "id": "2485", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(163,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -78775,11 +80293,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78793,7 +80311,7 @@ } }, { - "id": "2437", + "id": "2486", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(163,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -78801,11 +80319,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78819,7 +80337,7 @@ } }, { - "id": "2438", + "id": "2487", "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", @@ -78827,11 +80345,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78845,18 +80363,18 @@ } }, { - "id": "2439", + "id": "2488", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78870,18 +80388,18 @@ } }, { - "id": "2440", + "id": "2489", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT || doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)) && death.cause !== PLAYER_DEATH_CAUSES.EATEN", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78895,18 +80413,18 @@ } }, { - "id": "2441", + "id": "2490", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78920,18 +80438,18 @@ } }, { - "id": "2442", + "id": "2491", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT && doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78945,18 +80463,18 @@ } }, { - "id": "2443", + "id": "2492", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78970,7 +80488,7 @@ } }, { - "id": "2444", + "id": "2493", "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 + 9\n\n@@ -110,11 +110,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"40efec80f58f18d28a875ce8\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Cathy\",\n \"position\": 6881346634907648,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:776:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78978,14 +80496,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "379" + "387" ], "coveredBy": [ - "379", - "380", - "381", - "382", - "383" + "387", + "388", + "389", + "390", + "391" ], "location": { "end": { @@ -78999,7 +80517,7 @@ } }, { - "id": "2445", + "id": "2494", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -93,11 +93,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c7780c7eef31ea6d72ad1bb9\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Virginia\",\n \"position\": 175939996614656,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:802:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79007,12 +80525,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "381" + "389" ], "coveredBy": [ - "381", - "382", - "383" + "389", + "390", + "391" ], "location": { "end": { @@ -79026,7 +80544,7 @@ } }, { - "id": "2446", + "id": "2495", "mutatorName": "EqualityOperator", "replacement": "death.cause === PLAYER_DEATH_CAUSES.EATEN", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -110,11 +110,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"f2dd244c7f1cd2419ffc6fd7\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Rasheed\",\n \"position\": 7750507395284992,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:802:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79034,12 +80552,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "381" + "389" ], "coveredBy": [ - "381", - "382", - "383" + "389", + "390", + "391" ], "location": { "end": { @@ -79053,16 +80571,16 @@ } }, { - "id": "2447", + "id": "2496", "mutatorName": "BooleanLiteral", "replacement": "leftAliveWerewolfNeighbor", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(164,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], - "coveredBy": [ - "382", - "383" + "coveredBy": [ + "390", + "391" ], "location": { "end": { @@ -79076,7 +80594,7 @@ } }, { - "id": "2448", + "id": "2497", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(162,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -79084,10 +80602,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "379", - "380", - "381", - "382" + "387", + "388", + "389", + "390" ], "location": { "end": { @@ -79101,7 +80619,7 @@ } }, { - "id": "2449", + "id": "2498", "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", @@ -79109,10 +80627,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "384", - "385", - "386", - "387" + "392", + "393", + "394", + "395" ], "location": { "end": { @@ -79126,7 +80644,7 @@ } }, { - "id": "2450", + "id": "2499", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 5\n+ Received + 0\n\n@@ -148,15 +148,10 @@\n \"status\": \"over\",\n \"tick\": 6260143207481344,\n \"turn\": 1843265447919616,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"ban-voting\",\n- \"cause\": undefined,\n- \"source\": \"scapegoat\",\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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:896:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79134,13 +80652,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "387" + "395" ], "coveredBy": [ - "384", - "385", - "386", - "387" + "392", + "393", + "394", + "395" ], "location": { "end": { @@ -79154,7 +80672,7 @@ } }, { - "id": "2451", + "id": "2500", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -146,9 +146,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 7760527147139072,\n \"turn\": 7375958443032576,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-28T09:04:50.190Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:852:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79162,13 +80680,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "384" + "392" ], "coveredBy": [ - "384", - "385", - "386", - "387" + "392", + "393", + "394", + "395" ], "location": { "end": { @@ -79182,7 +80700,7 @@ } }, { - "id": "2452", + "id": "2501", "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@@ -146,9 +146,15 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 441287744421888,\n \"turn\": 4049382087327744,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-28T19:48:04.425Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:852:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79190,13 +80708,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "384" + "392" ], "coveredBy": [ - "384", - "385", - "386", - "387" + "392", + "393", + "394", + "395" ], "location": { "end": { @@ -79210,7 +80728,7 @@ } }, { - "id": "2453", + "id": "2502", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -146,9 +146,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 1103913453355008,\n \"turn\": 4979789458833408,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"cause\": undefined,\n+ \"source\": \"scapegoat\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-28T13:44:06.444Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:852:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79218,13 +80736,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "384" + "392" ], "coveredBy": [ - "384", - "385", - "386", - "387" + "392", + "393", + "394", + "395" ], "location": { "end": { @@ -79238,17 +80756,17 @@ } }, { - "id": "2454", + "id": "2503", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.SCAPEGOAT && doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "384", - "385", - "386", - "387" + "392", + "393", + "394", + "395" ], "location": { "end": { @@ -79262,17 +80780,17 @@ } }, { - "id": "2455", + "id": "2504", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "384", - "385", - "386", - "387" + "392", + "393", + "394", + "395" ], "location": { "end": { @@ -79286,17 +80804,17 @@ } }, { - "id": "2456", + "id": "2505", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === ROLE_NAMES.SCAPEGOAT", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "384", - "385", - "386", - "387" + "392", + "393", + "394", + "395" ], "location": { "end": { @@ -79310,15 +80828,15 @@ } }, { - "id": "2457", + "id": "2506", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "386", - "387" + "394", + "395" ], "location": { "end": { @@ -79332,15 +80850,15 @@ } }, { - "id": "2458", + "id": "2507", "mutatorName": "EqualityOperator", "replacement": "death.cause === PLAYER_DEATH_CAUSES.VOTE_SCAPEGOATED", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "386", - "387" + "394", + "395" ], "location": { "end": { @@ -79354,16 +80872,16 @@ } }, { - "id": "2459", + "id": "2508", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "384", - "385", - "386" + "392", + "393", + "394" ], "location": { "end": { @@ -79377,7 +80895,7 @@ } }, { - "id": "2460", + "id": "2509", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(176,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -79385,13 +80903,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "388", - "389", - "390", - "391", - "392", - "393", - "394" + "396", + "397", + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79405,20 +80923,20 @@ } }, { - "id": "2461", + "id": "2510", "mutatorName": "ArrayDeclaration", "replacement": "[]", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "388", - "389", - "390", - "391", - "392", - "393", - "394" + "396", + "397", + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79432,7 +80950,7 @@ } }, { - "id": "2462", + "id": "2511", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(188,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79440,13 +80958,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "388", - "389", - "390", - "391", - "392", - "393", - "394" + "396", + "397", + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79460,7 +80978,7 @@ } }, { - "id": "2463", + "id": "2512", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 5\n\n@@ -94,12 +94,15 @@\n },\n },\n Player {\n \"_id\": \"de0aae9d2fd632d5dc8cbfda\",\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\": \"Kelley\",\n \"position\": 3958674223529984,\n \"role\": PlayerRole {\n \"current\": \"idiot\",\n \"isRevealed\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:914:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79468,16 +80986,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "388" + "396" ], "coveredBy": [ - "388", - "389", - "390", - "391", - "392", - "393", - "394" + "396", + "397", + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79491,7 +81009,7 @@ } }, { - "id": "2464", + "id": "2513", "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@@ -94,12 +94,15 @@\n },\n },\n Player {\n \"_id\": \"e36edbadb4f17abda4432737\",\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\": \"Kenyon\",\n \"position\": 7975600916529152,\n \"role\": PlayerRole {\n \"current\": \"idiot\",\n \"isRevealed\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:914:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79499,16 +81017,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "388" + "396" ], "coveredBy": [ - "388", - "389", - "390", - "391", - "392", - "393", - "394" + "396", + "397", + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79522,7 +81040,7 @@ } }, { - "id": "2465", + "id": "2514", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 5\n\n@@ -94,12 +94,15 @@\n },\n },\n Player {\n \"_id\": \"ce0fab0d8bd2ff330ad5fed6\",\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\": \"Taya\",\n \"position\": 6399265735704576,\n \"role\": PlayerRole {\n \"current\": \"idiot\",\n \"isRevealed\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:914:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79530,16 +81048,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "388" + "396" ], "coveredBy": [ - "388", - "389", - "390", - "391", - "392", - "393", - "394" + "396", + "397", + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79553,20 +81071,20 @@ } }, { - "id": "2466", + "id": "2515", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === ROLE_NAMES.ANCIENT", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "388", - "389", - "390", - "391", - "392", - "393", - "394" + "396", + "397", + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79580,7 +81098,7 @@ } }, { - "id": "2467", + "id": "2516", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 5\n\n@@ -94,12 +94,15 @@\n },\n },\n Player {\n \"_id\": \"27eeb6eb76e4e73cadcb293e\",\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\": \"Kaci\",\n \"position\": 1344545545519104,\n \"role\": PlayerRole {\n \"current\": \"idiot\",\n \"isRevealed\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:914:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79588,11 +81106,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "388" + "396" ], "coveredBy": [ - "388", - "389" + "396", + "397" ], "location": { "end": { @@ -79606,7 +81124,7 @@ } }, { - "id": "2468", + "id": "2517", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 27\n\n@@ -76,11 +76,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"dab5ba7f8fdc89e2f0f5ecad\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"ancient\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Noelia\",\n \"position\": 6306129873207296,\n \"role\": PlayerRole {\n@@ -93,11 +101,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"ad8c531ef2da87ddcde4cded\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"ancient\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Barney\",\n \"position\": 7098297307103232,\n \"role\": PlayerRole {\n@@ -127,11 +143,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"8d4aa1bce3dda809e6dfeebe\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"ancient\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Silas\",\n \"position\": 4163005130473472,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:943:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79614,14 +81132,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "390" + "398" ], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79635,7 +81153,7 @@ } }, { - "id": "2469", + "id": "2518", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 18\n+ Received + 2\n\n@@ -93,19 +93,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"3daee5fea3abeae3be28cc2d\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Allene\",\n \"position\": 4875469744766976,\n \"role\": PlayerRole {\n@@ -135,19 +127,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"c8c6aeddce10b9aebe9e6e33\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"ancient\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Russell\",\n \"position\": 4732049688625152,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:982:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79643,14 +81161,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "392" + "400" ], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79664,7 +81182,7 @@ } }, { - "id": "2470", + "id": "2519", "mutatorName": "LogicalOperator", "replacement": "ancientRevengeDeathCauses.includes(death.cause) || ancientOptions.doesTakeHisRevenge", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 27\n\n@@ -76,11 +76,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"b58e8c4e56ddbfe1eee8ba14\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"ancient\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Rhea\",\n \"position\": 4139078507298816,\n \"role\": PlayerRole {\n@@ -93,11 +101,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"34fafbded71804a3afdf15b5\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"ancient\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Kasandra\",\n \"position\": 5906886765314048,\n \"role\": PlayerRole {\n@@ -127,11 +143,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"f9d9baeacd25dfbaae3da834\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"ancient\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Fletcher\",\n \"position\": 5056263928938496,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:943:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79672,14 +81190,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "390" + "398" ], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79693,14 +81211,14 @@ } }, { - "id": "2471", + "id": "2520", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "392" + "400" ], "location": { "end": { @@ -79714,7 +81232,7 @@ } }, { - "id": "2472", + "id": "2521", "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", @@ -79722,7 +81240,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "392" + "400" ], "location": { "end": { @@ -79736,7 +81254,7 @@ } }, { - "id": "2473", + "id": "2522", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79744,11 +81262,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79762,7 +81280,7 @@ } }, { - "id": "2474", + "id": "2523", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79770,11 +81288,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79788,7 +81306,7 @@ } }, { - "id": "2475", + "id": "2524", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer?.isAlive === true && idiotPlayer.role.isRevealed || idiotOptions.doesDieOnAncientDeath", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79796,11 +81314,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79814,7 +81332,7 @@ } }, { - "id": "2476", + "id": "2525", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79822,11 +81340,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79840,7 +81358,7 @@ } }, { - "id": "2477", + "id": "2526", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer?.isAlive === true || idiotPlayer.role.isRevealed", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(188,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79848,11 +81366,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79866,7 +81384,7 @@ } }, { - "id": "2478", + "id": "2527", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(188,17): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79874,11 +81392,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79892,7 +81410,7 @@ } }, { - "id": "2479", + "id": "2528", "mutatorName": "EqualityOperator", "replacement": "idiotPlayer?.isAlive !== true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(188,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79900,11 +81418,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79918,7 +81436,7 @@ } }, { - "id": "2480", + "id": "2529", "mutatorName": "OptionalChaining", "replacement": "idiotPlayer.isAlive", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(188,9): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(188,41): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(189,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", @@ -79926,11 +81444,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79944,18 +81462,18 @@ } }, { - "id": "2481", + "id": "2530", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "390", - "391", - "392", - "393", - "394" + "398", + "399", + "400", + "401", + "402" ], "location": { "end": { @@ -79969,14 +81487,14 @@ } }, { - "id": "2482", + "id": "2531", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "394" + "402" ], "location": { "end": { @@ -79990,7 +81508,7 @@ } }, { - "id": "2483", + "id": "2532", "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", @@ -79998,9 +81516,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "395", - "396", - "397" + "403", + "404", + "405" ], "location": { "end": { @@ -80014,16 +81532,16 @@ } }, { - "id": "2484", + "id": "2533", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "395", - "396", - "397" + "403", + "404", + "405" ], "location": { "end": { @@ -80037,16 +81555,16 @@ } }, { - "id": "2485", + "id": "2534", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "395", - "396", - "397" + "403", + "404", + "405" ], "location": { "end": { @@ -80060,16 +81578,16 @@ } }, { - "id": "2486", + "id": "2535", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.HUNTER && doesPlayerHaveAttribute(killedPlayer, PLAYER_ATTRIBUTE_NAMES.POWERLESS)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "395", - "396", - "397" + "403", + "404", + "405" ], "location": { "end": { @@ -80083,7 +81601,7 @@ } }, { - "id": "2487", + "id": "2536", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -146,9 +146,15 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 6564747818303488,\n \"turn\": 8194176881524736,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"cause\": undefined,\n+ \"source\": \"hunter\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-28T19:18:06.771Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1034:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80091,12 +81609,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "395" + "403" ], "coveredBy": [ - "395", - "396", - "397" + "403", + "404", + "405" ], "location": { "end": { @@ -80110,7 +81628,7 @@ } }, { - "id": "2488", + "id": "2537", "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@@ -146,9 +146,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 6424511907889152,\n \"turn\": 1769250916139008,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"cause\": undefined,\n+ \"source\": \"hunter\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-28T13:24:35.150Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1034:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80118,12 +81636,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "395" + "403" ], "coveredBy": [ - "395", - "396", - "397" + "403", + "404", + "405" ], "location": { "end": { @@ -80137,7 +81655,7 @@ } }, { - "id": "2489", + "id": "2538", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 7\n\n@@ -146,9 +146,15 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7726062196752384,\n \"turn\": 6316098853011456,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"cause\": undefined,\n+ \"source\": \"hunter\",\n+ },\n+ ],\n \"updatedAt\": 2023-07-28T23:17:01.410Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1034:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80145,11 +81663,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "395" + "403" ], "coveredBy": [ - "395", - "396" + "403", + "404" ], "location": { "end": { @@ -80163,7 +81681,7 @@ } }, { - "id": "2490", + "id": "2539", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(202,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -80171,12 +81689,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "399", - "400", - "401", - "402" + "337", + "406", + "407", + "408", + "409", + "410" ], "location": { "end": { @@ -80190,7 +81708,7 @@ } }, { - "id": "2491", + "id": "2540", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"a8703a0b7a943ef8c6aff8f2\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T18:50:20.572Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2095855439970304}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"9c3a4e0bbab76cbc8ed4e7cb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Peggie\", \"position\": 7915636044857344, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"c61ed85324797e8ac97c41ab\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eveline\", \"position\": 3322024686518272, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d8fad2fd94fc6f17f1d274ea\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stuart\", \"position\": 5801757181476864, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"f1b1fffdd3d7473c4f58fbc1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brown\", \"position\": 5311552798326784, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 4274004527415296, \"turn\": 1908418428272640, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T18:39:12.365Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1085:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80198,15 +81716,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "398" + "406" ], "coveredBy": [ - "329", - "398", - "399", - "400", - "401", - "402" + "337", + "406", + "407", + "408", + "409", + "410" ], "location": { "end": { @@ -80220,7 +81738,7 @@ } }, { - "id": "2492", + "id": "2541", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1103:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80228,15 +81746,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "399" + "407" ], "coveredBy": [ - "329", - "398", - "399", - "400", - "401", - "402" + "337", + "406", + "407", + "408", + "409", + "410" ], "location": { "end": { @@ -80250,7 +81768,7 @@ } }, { - "id": "2493", + "id": "2542", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.HUNTER", "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.HUNTER' and 'ROLE_NAMES.ANCIENT' have no overlap.\nsrc/modules/game/providers/services/player/player-killer.service.ts(210,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(213,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", @@ -80258,12 +81776,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "399", - "400", - "401", - "402" + "337", + "406", + "407", + "408", + "409", + "410" ], "location": { "end": { @@ -80277,7 +81795,7 @@ } }, { - "id": "2494", + "id": "2543", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1103:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80285,10 +81803,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "399" + "407" ], "coveredBy": [ - "399" + "407" ], "location": { "end": { @@ -80302,7 +81820,7 @@ } }, { - "id": "2495", + "id": "2544", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"f3c4bbde13bd7aa619e0ed7c\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T02:27:15.072Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 8645448461975552}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"bf6a4b39694acfd4bfca8e3d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Golda\", \"position\": 2630499396747264, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1410cdc499de0d6daeca5c2e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ubaldo\", \"position\": 8045892475027456, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"7a0f4e5a0b3ddcb4e0fab60d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ocie\", \"position\": 7385937547886592, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"d2ddaa9f9b37be7f7a4badba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Carlie\", \"position\": 5809738778411008, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 4107011048341504, \"turn\": 1952780235309056, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T16:53:29.390Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1085:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80310,14 +81828,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "398" + "406" ], "coveredBy": [ - "329", - "398", - "400", - "401", - "402" + "337", + "406", + "408", + "409", + "410" ], "location": { "end": { @@ -80331,18 +81849,18 @@ } }, { - "id": "2496", + "id": "2545", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "400", - "401", - "402" + "337", + "406", + "408", + "409", + "410" ], "location": { "end": { @@ -80356,7 +81874,7 @@ } }, { - "id": "2497", + "id": "2546", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.ANCIENT", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(210,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(213,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", @@ -80364,11 +81882,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "400", - "401", - "402" + "337", + "406", + "408", + "409", + "410" ], "location": { "end": { @@ -80382,14 +81900,14 @@ } }, { - "id": "2498", + "id": "2547", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "400" + "408" ], "location": { "end": { @@ -80403,7 +81921,7 @@ } }, { - "id": "2499", + "id": "2548", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"66e79cbc9ddc945a9bba35ae\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T12:55:34.687Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6635189771960320}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"cefdfefecafef8288aa2a5e8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ayden\", \"position\": 6942917451055104, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"8fe3a7befacc7bbedbfe2e67\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marcelle\", \"position\": 6606138105659392, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d4eb5c4b1f253637ca9dea60\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Freida\", \"position\": 7588707393601536, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"e7cbf3e482dcf33dbfff7c48\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kane\", \"position\": 5502741157773312, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 5831739096170496, \"turn\": 1796499268698112, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T09:49:01.622Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1085:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80411,13 +81929,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "398" + "406" ], "coveredBy": [ - "329", - "398", - "401", - "402" + "337", + "406", + "409", + "410" ], "location": { "end": { @@ -80431,17 +81949,17 @@ } }, { - "id": "2500", + "id": "2549", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "401", - "402" + "337", + "406", + "409", + "410" ], "location": { "end": { @@ -80455,7 +81973,7 @@ } }, { - "id": "2501", + "id": "2550", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.SCAPEGOAT", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(213,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", @@ -80463,10 +81981,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "401", - "402" + "337", + "406", + "409", + "410" ], "location": { "end": { @@ -80480,14 +81998,14 @@ } }, { - "id": "2502", + "id": "2551", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "401" + "409" ], "location": { "end": { @@ -80501,16 +82019,16 @@ } }, { - "id": "2503", + "id": "2552", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "402" + "337", + "406", + "410" ], "location": { "end": { @@ -80524,16 +82042,16 @@ } }, { - "id": "2504", + "id": "2553", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "402" + "337", + "406", + "410" ], "location": { "end": { @@ -80547,16 +82065,16 @@ } }, { - "id": "2505", + "id": "2554", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== ROLE_NAMES.RUSTY_SWORD_KNIGHT", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "329", - "398", - "402" + "337", + "406", + "410" ], "location": { "end": { @@ -80570,7 +82088,7 @@ } }, { - "id": "2506", + "id": "2555", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1153:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80578,10 +82096,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "402" + "410" ], "coveredBy": [ - "402" + "410" ], "location": { "end": { @@ -80595,7 +82113,7 @@ } }, { - "id": "2507", + "id": "2556", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(219,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -80603,8 +82121,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "403" + "337", + "411" ], "location": { "end": { @@ -80618,7 +82136,7 @@ } }, { - "id": "2508", + "id": "2557", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"applyPlayerDeathOutcomes\", {\"gameId\": \"5e39d0fde19b996ff5fc5e4e\", \"playerId\": \"cc299925cbc6912bfef4a9bd\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1178:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80626,11 +82144,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "403" + "411" ], "coveredBy": [ - "329", - "403" + "337", + "411" ], "location": { "end": { @@ -80644,7 +82162,7 @@ } }, { - "id": "2509", + "id": "2558", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(222,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", @@ -80652,8 +82170,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "403" + "337", + "411" ], "location": { "end": { @@ -80667,7 +82185,7 @@ } }, { - "id": "2510", + "id": "2559", "mutatorName": "BlockStatement", "replacement": "{}", "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", @@ -80675,8 +82193,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "404" + "337", + "412" ], "location": { "end": { @@ -80690,7 +82208,7 @@ } }, { - "id": "2511", + "id": "2560", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"killPlayer\", {\"gameId\": \"eb93da0ddc2c99fb5de024ac\", \"playerId\": \"a6e53a50c3af1e2ef5772dcd\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1205:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80698,11 +82216,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "404" + "412" ], "coveredBy": [ - "329", - "404" + "337", + "412" ], "location": { "end": { @@ -80716,7 +82234,7 @@ } }, { - "id": "2512", + "id": "2561", "mutatorName": "ObjectLiteral", "replacement": "{}", "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", @@ -80724,8 +82242,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "329", - "404" + "337", + "412" ], "location": { "end": { @@ -80739,7 +82257,7 @@ } }, { - "id": "2513", + "id": "2562", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"a6699d6debcf9c332afc9ebc\", {\"_id\": \"a6699d6debcf9c332afc9ebc\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Bettie\", \"position\": 2949678173782016, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"3aefb3d95f84adbfab7a63cf\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T14:22:38.828Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 5350944699056128}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"a6699d6debcf9c332afc9ebc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bettie\", \"position\": 2949678173782016, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"de169e46de05b66a4bda3b2d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lolita\", \"position\": 3125450844930048, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"93e5c87fbeca94e30e465ac0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Grace\", \"position\": 4601343996067840, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"eccc346dcbb07f9aa24de76a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elmo\", \"position\": 6422633558048768, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 7462436512727040, \"turn\": 6289309669785600, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T20:58:32.086Z, \"victory\": undefined}\nReceived\n-> 1\n \"a6699d6debcf9c332afc9ebc\",\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\": \"Bettie\",\n \"position\": 2949678173782016,\n \"role\": PlayerRole {\n \"current\": \"rusty-sword-knight\",\n \"isRevealed\": true,,\n {\"_id\": \"3aefb3d95f84adbfab7a63cf\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T14:22:38.828Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 5350944699056128}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"a6699d6debcf9c332afc9ebc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bettie\", \"position\": 2949678173782016, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"de169e46de05b66a4bda3b2d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lolita\", \"position\": 3125450844930048, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"93e5c87fbeca94e30e465ac0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Grace\", \"position\": 4601343996067840, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"eccc346dcbb07f9aa24de76a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elmo\", \"position\": 6422633558048768, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 7462436512727040, \"turn\": 6289309669785600, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T20:58:32.086Z, \"victory\": undefined},\n 2: \"a6699d6debcf9c332afc9ebc\", {\"_id\": \"a6699d6debcf9c332afc9ebc\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Bettie\", \"position\": 2949678173782016, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"3aefb3d95f84adbfab7a63cf\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T14:22:38.828Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 5350944699056128}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"day\", \"players\": [{\"_id\": \"a6699d6debcf9c332afc9ebc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bettie\", \"position\": 2949678173782016, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"de169e46de05b66a4bda3b2d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lolita\", \"position\": 3125450844930048, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"93e5c87fbeca94e30e465ac0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Grace\", \"position\": 4601343996067840, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"eccc346dcbb07f9aa24de76a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elmo\", \"position\": 6422633558048768, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 7462436512727040, \"turn\": 6289309669785600, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T20:58:32.086Z, \"victory\": undefined}\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1206:38)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80747,11 +82265,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "404" + "412" ], "coveredBy": [ - "329", - "404" + "337", + "412" ], "location": { "end": { @@ -80765,7 +82283,7 @@ } }, { - "id": "2514", + "id": "2563", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"207293ea66697ea4cc7aa4bc\", {\"_id\": \"207293ea66697ea4cc7aa4bc\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Brook\", \"position\": 1869069095534592, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4ac4025fcb7a7c8dc366aabb\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T21:18:24.452Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"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\": \"day\", \"turn\": 4739053322764288}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"207293ea66697ea4cc7aa4bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brook\", \"position\": 1869069095534592, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f4ab4ce8f08aa48e50cce8b9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Joshua\", \"position\": 2380956642050048, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6dc52bd10e98fd0d3d622cbe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marie\", \"position\": 5208464963928064, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ef16e7ca5d1e6d1ce0379afc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Creola\", \"position\": 7544824632705024, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 39227756642304, \"turn\": 7632588317392896, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T11:48:22.635Z, \"victory\": undefined}\nReceived\n-> 1\n \"207293ea66697ea4cc7aa4bc\",\n @@ -8,11 +8,11 @@\n \"isAlive\": false,\n \"name\": \"Brook\",\n \"position\": 1869069095534592,\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\": \"4ac4025fcb7a7c8dc366aabb\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T21:18:24.452Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"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\": \"day\", \"turn\": 4739053322764288}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"207293ea66697ea4cc7aa4bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brook\", \"position\": 1869069095534592, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f4ab4ce8f08aa48e50cce8b9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Joshua\", \"position\": 2380956642050048, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6dc52bd10e98fd0d3d622cbe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marie\", \"position\": 5208464963928064, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ef16e7ca5d1e6d1ce0379afc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Creola\", \"position\": 7544824632705024, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 39227756642304, \"turn\": 7632588317392896, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T11:48:22.635Z, \"victory\": undefined},\n 2: \"207293ea66697ea4cc7aa4bc\", {\"_id\": \"207293ea66697ea4cc7aa4bc\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Brook\", \"position\": 1869069095534592, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": true, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4ac4025fcb7a7c8dc366aabb\", \"additionalCards\": undefined, \"createdAt\": 2023-07-28T21:18:24.452Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"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\": \"day\", \"turn\": 4739053322764288}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}}}, \"phase\": \"night\", \"players\": [{\"_id\": \"207293ea66697ea4cc7aa4bc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brook\", \"position\": 1869069095534592, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f4ab4ce8f08aa48e50cce8b9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Joshua\", \"position\": 2380956642050048, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6dc52bd10e98fd0d3d622cbe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marie\", \"position\": 5208464963928064, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ef16e7ca5d1e6d1ce0379afc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Creola\", \"position\": 7544824632705024, \"role\": {\"current\": \"guard\", \"isRevealed\": false, \"original\": \"guard\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 39227756642304, \"turn\": 7632588317392896, \"upcomingPlays\": [], \"updatedAt\": 2023-07-28T11:48:22.635Z, \"victory\": undefined}\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1206:38)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80773,11 +82291,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "404" + "412" ], "coveredBy": [ - "329", - "404" + "337", + "412" ], "location": { "end": { @@ -80791,7 +82309,7 @@ } }, { - "id": "2515", + "id": "2564", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(242,72): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -80799,8 +82317,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "405", - "406" + "413", + "414" ], "location": { "end": { @@ -80814,7 +82332,7 @@ } }, { - "id": "2516", + "id": "2565", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(244,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(246,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", @@ -80822,8 +82340,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "405", - "406" + "413", + "414" ], "location": { "end": { @@ -80837,7 +82355,7 @@ } }, { - "id": "2517", + "id": "2566", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"getPlayerToKillInGame\", {\"gameId\": \"aef83eddebdaac910fb5e265\", \"playerId\": \"a9e5236d362dcdaaabc0fac7\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1231:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80845,11 +82363,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "405" + "413" ], "coveredBy": [ - "405", - "406" + "413", + "414" ], "location": { "end": { @@ -80863,7 +82381,7 @@ } }, { - "id": "2518", + "id": "2567", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1230:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80871,11 +82389,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "405" + "413" ], "coveredBy": [ - "405", - "406" + "413", + "414" ], "location": { "end": { @@ -80889,7 +82407,7 @@ } }, { - "id": "2519", + "id": "2568", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "UnexpectedException: Unexpected exception in getPlayerToKillInGame\n at createPlayerIsDeadUnexpectedException (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/src/shared/exception/helpers/unexpected-exception.factory.ts:81:12)\n at PlayerKillerService.getPlayerToKillInGame (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/src/modules/game/providers/services/player/player-killer.service.ts:541:54)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1243:60)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80897,11 +82415,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "406" + "414" ], "coveredBy": [ - "405", - "406" + "413", + "414" ], "location": { "end": { @@ -80915,7 +82433,7 @@ } }, { - "id": "2520", + "id": "2569", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1230:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80923,11 +82441,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "405" + "413" ], "coveredBy": [ - "405", - "406" + "413", + "414" ], "location": { "end": { @@ -80941,7 +82459,7 @@ } }, { - "id": "2521", + "id": "2570", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1230:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80949,10 +82467,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "405" + "413" ], "coveredBy": [ - "405" + "413" ], "location": { "end": { @@ -80966,7 +82484,7 @@ } }, { - "id": "2522", + "id": "2571", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"getPlayerToKillInGame\", {\"gameId\": \"404c1e9c5aafdd009a33ef93\", \"playerId\": \"99bd4daaa2a6b669acad4759\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1232:57)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80974,10 +82492,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "405" + "413" ], "coveredBy": [ - "405" + "413" ], "location": { "end": { @@ -80997,7 +82515,7 @@ "language": "typescript", "mutants": [ { - "id": "2523", + "id": "2572", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Static mutant (and \"ignoreStatic\" was enabled)", @@ -81016,7 +82534,7 @@ } }, { - "id": "2524", + "id": "2573", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Static mutant (and \"ignoreStatic\" was enabled)", @@ -81041,7 +82559,7 @@ "language": "typescript", "mutants": [ { - "id": "2525", + "id": "2574", "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", @@ -81049,7 +82567,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "917" + "927" ], "location": { "end": { @@ -81063,7 +82581,7 @@ } }, { - "id": "2526", + "id": "2575", "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/sandbox2212490/tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts:37:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -81071,10 +82589,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "917" + "927" ], "coveredBy": [ - "917" + "927" ], "location": { "end": { @@ -81088,7 +82606,7 @@ } }, { - "id": "2527", + "id": "2576", "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", @@ -81096,7 +82614,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "917" + "927" ], "location": { "end": { @@ -81110,7 +82628,7 @@ } }, { - "id": "2528", + "id": "2577", "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/sandbox2212490/tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts:37:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -81118,10 +82636,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "917" + "927" ], "coveredBy": [ - "917" + "927" ], "location": { "end": { @@ -81141,7 +82659,7 @@ "language": "typescript", "mutants": [ { - "id": "2529", + "id": "2578", "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", @@ -81149,7 +82667,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "918" + "928" ], "location": { "end": { @@ -81169,7 +82687,7 @@ "language": "typescript", "mutants": [ { - "id": "2530", + "id": "2579", "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", @@ -81177,21 +82695,21 @@ "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", "693", - "915", - "916" + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703", + "925", + "926" ], "location": { "end": { @@ -81205,7 +82723,7 @@ } }, { - "id": "2531", + "id": "2580", "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/sandbox2212490/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:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81213,24 +82731,24 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "682" + "692" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", "693", - "915", - "916" + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703", + "925", + "926" ], "location": { "end": { @@ -81244,28 +82762,28 @@ } }, { - "id": "2532", + "id": "2581", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", + "538", "692", "693", - "915", - "916" + "694", + "695", + "696", + "697", + "698", + "699", + "700", + "701", + "702", + "703", + "925", + "926" ], "location": { "end": { @@ -81279,7 +82797,7 @@ } }, { - "id": "2533", + "id": "2582", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 12\n\n@@ -5,10 +5,22 @@\n \"side\": \"werewolves\",\n \"type\": \"werewolf\",\n },\n Object {\n \"maxInGame\": 1,\n+ \"name\": \"villager\",\n+ \"side\": \"villagers\",\n+ \"type\": \"villager\",\n+ },\n+ Object {\n+ \"maxInGame\": 1,\n+ \"name\": \"pied-piper\",\n+ \"side\": \"villagers\",\n+ \"type\": \"ambiguous\",\n+ },\n+ Object {\n+ \"maxInGame\": 1,\n \"name\": \"white-werewolf\",\n \"side\": \"werewolves\",\n \"type\": \"werewolf\",\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/role/helpers/role.helper.spec.ts:16:62)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81287,22 +82805,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "915" + "925" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", "693", - "915", - "916" + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703", + "925", + "926" ], "location": { "end": { @@ -81316,7 +82834,7 @@ } }, { - "id": "2534", + "id": "2583", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:67:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81324,22 +82842,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "689" + "699" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", "693", - "915", - "916" + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703", + "925", + "926" ], "location": { "end": { @@ -81353,7 +82871,7 @@ } }, { - "id": "2535", + "id": "2584", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:67:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81361,22 +82879,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "689" + "699" ], "coveredBy": [ - "528", - "682", - "683", - "684", - "685", - "686", - "689", - "690", - "691", + "538", "692", "693", - "915", - "916" + "694", + "695", + "696", + "699", + "700", + "701", + "702", + "703", + "925", + "926" ], "location": { "end": { @@ -81396,24 +82914,14 @@ "language": "typescript", "mutants": [ { - "id": "2536", + "id": "2585", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/server/helpers/server.helper.ts(4,44): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": true, - "killedBy": [], - "coveredBy": [ - "517", - "518", - "519", - "520", - "521", - "522", - "523", - "524", - "525", - "526", + "killedBy": [], + "coveredBy": [ "527", "528", "529", @@ -81449,10 +82957,20 @@ "559", "560", "561", - "917", - "918", - "936", - "960" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "927", + "928", + "946", + "970" ], "location": { "end": { @@ -81466,7 +82984,7 @@ } }, { - "id": "2537", + "id": "2586", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:166:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -81474,19 +82992,9 @@ "testsCompleted": 45, "static": true, "killedBy": [ - "521" + "531" ], "coveredBy": [ - "517", - "518", - "519", - "520", - "521", - "522", - "523", - "524", - "525", - "526", "527", "528", "529", @@ -81522,10 +83030,20 @@ "559", "560", "561", - "917", - "918", - "936", - "960" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "927", + "928", + "946", + "970" ], "location": { "end": { @@ -81545,7 +83063,7 @@ "language": "typescript", "mutants": [ { - "id": "2538", + "id": "2587", "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", @@ -81553,12 +83071,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81572,7 +83090,7 @@ } }, { - "id": "2539", + "id": "2588", "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/sandbox2212490/tests/unit/specs/server/server.spec.ts:110:42)", @@ -81580,15 +83098,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "847" + "857" ], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81602,7 +83120,7 @@ } }, { - "id": "2540", + "id": "2589", "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", @@ -81610,12 +83128,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81629,7 +83147,7 @@ } }, { - "id": "2541", + "id": "2590", "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/sandbox2212490/public\"}], but it was called with {\"prefix\": \"/public/\", \"root\": \"\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/server/server.spec.ts:98:70)", @@ -81637,15 +83155,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "846" + "856" ], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81659,7 +83177,7 @@ } }, { - "id": "2542", + "id": "2591", "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/sandbox2212490/public\"}], but it was called with {\"prefix\": \"\", \"root\": \"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/public\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/server/server.spec.ts:98:70)", @@ -81667,15 +83185,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "846" + "856" ], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81689,7 +83207,7 @@ } }, { - "id": "2543", + "id": "2592", "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/sandbox2212490/tests/unit/specs/server/server.spec.ts:73:61)", @@ -81697,15 +83215,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "843" + "853" ], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81719,7 +83237,7 @@ } }, { - "id": "2544", + "id": "2593", "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/sandbox2212490/tests/unit/specs/server/server.spec.ts:109:42)", @@ -81727,15 +83245,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "847" + "857" ], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81749,7 +83267,7 @@ } }, { - "id": "2545", + "id": "2594", "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/sandbox2212490/tests/unit/specs/server/server.spec.ts:109:42)", @@ -81757,15 +83275,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "847" + "857" ], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81779,7 +83297,7 @@ } }, { - "id": "2546", + "id": "2595", "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/sandbox2212490/tests/unit/specs/server/server.spec.ts:110:42)", @@ -81787,15 +83305,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "847" + "857" ], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81809,7 +83327,7 @@ } }, { - "id": "2547", + "id": "2596", "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/sandbox2212490/tests/unit/specs/server/server.spec.ts:110:42)", @@ -81817,15 +83335,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "847" + "857" ], "coveredBy": [ - "842", - "843", - "844", - "845", - "846", - "847" + "852", + "853", + "854", + "855", + "856", + "857" ], "location": { "end": { @@ -81845,7 +83363,7 @@ "language": "typescript", "mutants": [ { - "id": "2548", + "id": "2597", "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/sandbox2212490/tests/unit/specs/server/swagger/swagger.spec.ts:49:46)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81853,12 +83371,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "848" + "858" ], "coveredBy": [ - "848", - "849", - "850" + "858", + "859", + "860" ], "location": { "end": { @@ -81872,7 +83390,7 @@ } }, { - "id": "2549", + "id": "2598", "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/sandbox2212490/tests/unit/specs/server/swagger/swagger.spec.ts:49:46)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81880,12 +83398,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "848" + "858" ], "coveredBy": [ - "848", - "849", - "850" + "858", + "859", + "860" ], "location": { "end": { @@ -81899,7 +83417,7 @@ } }, { - "id": "2550", + "id": "2599", "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", @@ -81907,9 +83425,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "848", - "849", - "850" + "858", + "859", + "860" ], "location": { "end": { @@ -81923,7 +83441,7 @@ } }, { - "id": "2551", + "id": "2600", "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/sandbox2212490/tests/unit/specs/server/swagger/swagger.spec.ts:62:48)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81931,10 +83449,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "849" + "859" ], "coveredBy": [ - "849" + "859" ], "location": { "end": { @@ -81948,7 +83466,7 @@ } }, { - "id": "2552", + "id": "2601", "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/sandbox2212490/tests/unit/specs/server/swagger/swagger.spec.ts:50:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81956,12 +83474,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "848" + "858" ], "coveredBy": [ - "848", - "849", - "850" + "858", + "859", + "860" ], "location": { "end": { @@ -81975,7 +83493,7 @@ } }, { - "id": "2553", + "id": "2602", "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/sandbox2212490/tests/unit/specs/server/swagger/swagger.spec.ts:77:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81983,12 +83501,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "850" + "860" ], "coveredBy": [ - "848", - "849", - "850" + "858", + "859", + "860" ], "location": { "end": { @@ -82002,7 +83520,7 @@ } }, { - "id": "2554", + "id": "2603", "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/sandbox2212490/tests/unit/specs/server/swagger/swagger.spec.ts:77:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82010,12 +83528,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "850" + "860" ], "coveredBy": [ - "848", - "849", - "850" + "858", + "859", + "860" ], "location": { "end": { @@ -82029,7 +83547,7 @@ } }, { - "id": "2555", + "id": "2604", "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/sandbox2212490/tests/unit/specs/server/swagger/swagger.spec.ts:77:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82037,12 +83555,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "850" + "860" ], "coveredBy": [ - "848", - "849", - "850" + "858", + "859", + "860" ], "location": { "end": { @@ -82062,7 +83580,83 @@ "language": "typescript", "mutants": [ { - "id": "2558", + "id": "2605", + "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": [ + "540", + "557", + "558", + "561", + "563", + "564", + "569", + "912", + "935", + "936", + "937", + "938", + "948", + "949", + "950", + "951", + "952" + ], + "location": { + "end": { + "column": 2, + "line": 12 + }, + "start": { + "column": 67, + "line": 3 + } + } + }, + { + "id": "2606", + "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": [ + "540", + "557", + "558", + "561", + "563", + "564", + "569", + "912", + "935", + "936", + "937", + "938", + "948", + "949", + "950", + "951", + "952" + ], + "location": { + "end": { + "column": 4, + "line": 10 + }, + "start": { + "column": 64, + "line": 4 + } + } + }, + { + "id": "2607", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"Game with id \\\"31cd0556db0793bfc81a271e\\\" not found\"\nReceived: \" with id \\\"31cd0556db0793bfc81a271e\\\" not found\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:256:58)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -82070,27 +83664,26 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "530" + "540" ], "coveredBy": [ - "530", - "547", - "548", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926", - "927", - "928", + "540", + "557", + "558", + "561", + "563", + "564", + "569", + "912", + "935", + "936", + "937", "938", - "939", - "940", - "941", - "942" + "948", + "949", + "950", + "951", + "952" ], "location": { "end": { @@ -82104,7 +83697,7 @@ } }, { - "id": "2559", + "id": "2608", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\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 \\\"402aeb18a9dcbc35adafad23\\\" not found\",\n+ \"message\": \" with id \\\"402aeb18a9dcbc35adafad23\\\" not found\",\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7614833/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:630:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -82112,27 +83705,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "554" + "564" ], "coveredBy": [ - "530", - "547", - "548", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926", - "927", - "928", + "540", + "557", + "558", + "561", + "563", + "564", + "569", + "912", + "935", + "936", + "937", "938", - "939", - "940", - "941", - "942" + "948", + "949", + "950", + "951", + "952" ], "location": { "end": { @@ -82146,7 +83738,7 @@ } }, { - "id": "2560", + "id": "2609", "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/sandbox7614833/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:14:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82154,27 +83746,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "940" + "950" ], "coveredBy": [ - "530", - "547", - "548", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926", - "927", - "928", + "540", + "557", + "558", + "561", + "563", + "564", + "569", + "912", + "935", + "936", + "937", "938", - "939", - "940", - "941", - "942" + "948", + "949", + "950", + "951", + "952" ], "location": { "end": { @@ -82188,7 +83779,7 @@ } }, { - "id": "2561", + "id": "2610", "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/sandbox7614833/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:14:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82196,27 +83787,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "941" + "951" ], "coveredBy": [ - "530", - "547", - "548", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926", - "927", - "928", + "540", + "557", + "558", + "561", + "563", + "564", + "569", + "912", + "935", + "936", + "937", "938", - "939", - "940", - "941", - "942" + "948", + "949", + "950", + "951", + "952" ], "location": { "end": { @@ -82230,7 +83820,7 @@ } }, { - "id": "2562", + "id": "2611", "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/sandbox3680037/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:14:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82238,112 +83828,35 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "942" - ], - "coveredBy": [ - "530", - "547", - "548", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926", - "927", - "928", - "938", - "939", - "940", - "941", - "942" - ], - "location": { - "end": { - "column": 37, - "line": 9 - }, - "start": { - "column": 29, - "line": 9 - } - } - }, - { - "id": "2556", - "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": [ - "530", - "547", - "548", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926", - "927", - "928", - "938", - "939", - "940", - "941", - "942" - ], - "location": { - "end": { - "column": 2, - "line": 12 - }, - "start": { - "column": 67, - "line": 3 - } - } - }, - { - "id": "2557", - "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, + "952" + ], "coveredBy": [ - "530", - "547", - "548", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926", - "927", - "928", + "540", + "557", + "558", + "561", + "563", + "564", + "569", + "912", + "935", + "936", + "937", "938", - "939", - "940", - "941", - "942" + "948", + "949", + "950", + "951", + "952" ], "location": { "end": { - "column": 4, - "line": 10 + "column": 37, + "line": 9 }, "start": { - "column": 64, - "line": 4 + "column": 29, + "line": 9 } } } @@ -82354,7 +83867,7 @@ "language": "typescript", "mutants": [ { - "id": "2563", + "id": "2612", "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", @@ -82362,32 +83875,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82401,7 +83914,7 @@ } }, { - "id": "2564", + "id": "2613", "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", @@ -82409,32 +83922,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82448,7 +83961,7 @@ } }, { - "id": "2565", + "id": "2614", "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", @@ -82456,32 +83969,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82495,40 +84008,40 @@ } }, { - "id": "2566", + "id": "2615", "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 | 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", + "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(8,96): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | Uint8Array | ObjectIdLike'.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | Uint8Array | ObjectIdLike | undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82542,7 +84055,7 @@ } }, { - "id": "2567", + "id": "2616", "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", @@ -82550,32 +84063,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82589,7 +84102,7 @@ } }, { - "id": "2568", + "id": "2617", "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", @@ -82597,32 +84110,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82636,7 +84149,7 @@ } }, { - "id": "2569", + "id": "2618", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toThrow(expected)\n\nExpected message: \"Game with id \\\"5b9c0f1ec76e3ad13c770e3f\\\" not found\"\nReceived message: \"Validation failed (Mongo ObjectId is expected)\"\n\n 64 | }\n 65 | }\n > 66 | throw new BadRequestException(stryMutAct_9fa48(\"2438\") ? \"\" : (stryCov_9fa48(\"2438\"), \"Validation failed (Mongo ObjectId is expected)\"));\n | ^\n 67 | }\n 68 | }\n 69 | }\n\n at ValidateMongoId.transform (src/shared/api/pipes/validate-mongo-id.pipe.ts:66:13)\n at GetGameByIdPipe.transform (src/modules/game/controllers/pipes/get-game-by-id.pipe.ts:64:44)\n at Object. (tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:48:36)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:218:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:48:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82644,35 +84157,35 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "902" + "912" ], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82686,7 +84199,7 @@ } }, { - "id": "2570", + "id": "2619", "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", @@ -82694,32 +84207,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82733,7 +84246,7 @@ } }, { - "id": "2571", + "id": "2620", "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", @@ -82741,32 +84254,32 @@ "static": false, "killedBy": [], "coveredBy": [ - "529", - "530", - "531", - "546", - "547", - "548", - "549", - "550", - "551", - "552", - "553", - "554", - "555", + "539", + "540", + "541", "556", "557", "558", "559", "560", "561", - "901", - "902", - "903", - "919", - "920", - "921", - "922" + "562", + "563", + "564", + "565", + "566", + "567", + "568", + "569", + "570", + "571", + "911", + "912", + "913", + "929", + "930", + "931", + "932" ], "location": { "end": { @@ -82780,7 +84293,7 @@ } }, { - "id": "2572", + "id": "2621", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toThrow(expected)\n\nExpected message: \"Game with id \\\"b6a938f6bd54dd3c59dadcfb\\\" not found\"\nReceived message: \"Validation failed (Mongo ObjectId is expected)\"\n\n 64 | }\n 65 | }\n > 66 | throw new BadRequestException(stryMutAct_9fa48(\"2438\") ? \"\" : (stryCov_9fa48(\"2438\"), \"Validation failed (Mongo ObjectId is expected)\"));\n | ^\n 67 | }\n 68 | }\n 69 | }\n\n at ValidateMongoId.transform (src/shared/api/pipes/validate-mongo-id.pipe.ts:66:13)\n at GetGameByIdPipe.transform (src/modules/game/controllers/pipes/get-game-by-id.pipe.ts:64:44)\n at Object. (tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:48:36)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:218:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:48:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82788,28 +84301,28 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "902" + "912" ], "coveredBy": [ - "530", - "531", - "547", - "548", - "549", - "551", - "552", - "553", - "554", - "555", - "556", + "540", + "541", "557", + "558", "559", - "560", "561", - "902", - "903", - "919", - "920" + "562", + "563", + "564", + "565", + "566", + "567", + "569", + "570", + "571", + "912", + "913", + "929", + "930" ], "location": { "end": { @@ -82823,7 +84336,7 @@ } }, { - "id": "2573", + "id": "2622", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).rejects.toThrow(expected)\n\nExpected message: \"Validation failed (Mongo ObjectId is expected)\"\nReceived message: \"Bad Request\"\n\n 64 | }\n 65 | }\n > 66 | throw new BadRequestException(stryMutAct_9fa48(\"2438\") ? \"\" : (stryCov_9fa48(\"2438\"), \"Validation failed (Mongo ObjectId is expected)\"));\n | ^\n 67 | }\n 68 | }\n 69 | }\n\n at ValidateMongoId.transform (src/shared/api/pipes/validate-mongo-id.pipe.ts:66:13)\n at GetGameByIdPipe.transform (src/modules/game/controllers/pipes/get-game-by-id.pipe.ts:64:44)\n at Object. (tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:41:36)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:218:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:41:65)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82831,16 +84344,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "901" + "911" ], "coveredBy": [ - "529", - "546", - "550", - "558", - "901", - "921", - "922" + "539", + "556", + "560", + "568", + "911", + "931", + "932" ], "location": { "end": { @@ -82860,7 +84373,7 @@ "language": "typescript", "mutants": [ { - "id": "2574", + "id": "2623", "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", @@ -82868,31 +84381,31 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", + "337", "338", - "379", - "380", - "381", - "382", - "383", - "406", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "346", + "387", + "388", + "389", + "390", + "391", + "414", "508", "509", - "883" + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "893" ], "location": { "end": { @@ -82906,38 +84419,38 @@ } }, { - "id": "2575", + "id": "2624", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", + "337", "338", - "379", - "380", - "381", - "382", - "383", - "406", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "346", + "387", + "388", + "389", + "390", + "391", + "414", "508", "509", - "883" + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "893" ], "location": { "end": { @@ -82951,7 +84464,7 @@ } }, { - "id": "2576", + "id": "2625", "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", @@ -82959,7 +84472,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "884" + "894" ], "location": { "end": { @@ -82973,14 +84486,14 @@ } }, { - "id": "2577", + "id": "2626", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "884" + "894" ], "location": { "end": { @@ -82994,7 +84507,7 @@ } }, { - "id": "2578", + "id": "2627", "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", @@ -83002,8 +84515,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "648", - "885" + "658", + "895" ], "location": { "end": { @@ -83017,7 +84530,7 @@ } }, { - "id": "2579", + "id": "2628", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(19,113): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -83025,7 +84538,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "886" + "896" ], "location": { "end": { @@ -83039,14 +84552,14 @@ } }, { - "id": "2580", + "id": "2629", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "886" + "896" ], "location": { "end": { @@ -83066,7 +84579,7 @@ "language": "typescript", "mutants": [ { - "id": "2581", + "id": "2630", "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", @@ -83074,8 +84587,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "555", - "937" + "565", + "947" ], "location": { "end": { @@ -83089,19 +84602,15 @@ } }, { - "id": "2582", + "id": "2631", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:650:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 2, + "status": "Timeout", "static": false, - "killedBy": [ - "555" - ], + "killedBy": [], "coveredBy": [ - "555", - "937" + "565", + "947" ], "location": { "end": { @@ -83115,19 +84624,19 @@ } }, { - "id": "2583", + "id": "2632", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:650:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "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/sandbox864757/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", "testsCompleted": 2, "static": false, "killedBy": [ - "555" + "565" ], "coveredBy": [ - "555", - "937" + "565", + "947" ], "location": { "end": { @@ -83147,7 +84656,7 @@ "language": "typescript", "mutants": [ { - "id": "2584", + "id": "2633", "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", @@ -83155,9 +84664,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "548", - "927", - "928" + "558", + "937", + "938" ], "location": { "end": { @@ -83171,7 +84680,7 @@ } }, { - "id": "2585", + "id": "2634", "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 \\\"350abef717d2302c09e19ccf\\\"\",\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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:523:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83179,12 +84688,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "548" + "558" ], "coveredBy": [ - "548", - "927", - "928" + "558", + "937", + "938" ], "location": { "end": { @@ -83198,7 +84707,7 @@ } }, { - "id": "2586", + "id": "2635", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"Game doesn't have status with value \\\"playing\\\"\",\n+ \"error\": undefined,\n \"message\": \"Bad mutation for Game with id \\\"123\\\"\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/unit/specs/shared/exception/types/bad-resource-mutation-exception.type.spec.ts:24:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83206,12 +84715,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "928" + "938" ], "coveredBy": [ - "548", - "927", - "928" + "558", + "937", + "938" ], "location": { "end": { @@ -83231,7 +84740,37 @@ "language": "typescript", "mutants": [ { - "id": "2588", + "id": "2636", + "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": [ + "540", + "557", + "561", + "563", + "564", + "569", + "912", + "935", + "936" + ], + "location": { + "end": { + "column": 4, + "line": 12 + }, + "start": { + "column": 96, + "line": 8 + } + } + }, + { + "id": "2637", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"Game with id \\\"cfe2d79ae0f89d06eabc9265\\\" not found\"\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1537359/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:256:58)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83239,19 +84778,18 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "530" + "540" ], "coveredBy": [ - "530", - "547", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926" + "540", + "557", + "561", + "563", + "564", + "569", + "912", + "935", + "936" ], "location": { "end": { @@ -83265,7 +84803,7 @@ } }, { - "id": "2589", + "id": "2638", "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 \\\"cd1aec738c6fbe47ca5ff2cf\\\" not found\",\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1737994/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:622:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83273,19 +84811,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "554" + "564" ], "coveredBy": [ - "530", - "547", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926" + "540", + "557", + "561", + "563", + "564", + "569", + "912", + "935", + "936" ], "location": { "end": { @@ -83297,36 +84834,6 @@ "line": 11 } } - }, - { - "id": "2587", - "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": [ - "530", - "547", - "551", - "552", - "553", - "554", - "559", - "902", - "925", - "926" - ], - "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 };" @@ -83335,7 +84842,7 @@ "language": "typescript", "mutants": [ { - "id": "2590", + "id": "2639", "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", @@ -83343,44 +84850,44 @@ "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", "337", "338", - "378", - "379", - "380", - "381", - "382", - "383", - "403", - "404", - "405", - "406", - "461", - "462", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "345", + "346", + "386", + "387", + "388", + "389", + "390", + "391", + "411", + "412", + "413", + "414", + "471", + "472", "508", "509", - "648", - "883", - "884", - "885", - "886", - "923", - "924" + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "658", + "893", + "894", + "895", + "896", + "933", + "934" ], "location": { "end": { @@ -83394,51 +84901,51 @@ } }, { - "id": "2591", + "id": "2640", "mutatorName": "StringLiteral", "replacement": "``", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", "337", "338", - "378", - "379", - "380", - "381", - "382", - "383", - "403", - "404", - "405", - "406", - "461", - "462", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "345", + "346", + "386", + "387", + "388", + "389", + "390", + "391", + "411", + "412", + "413", + "414", + "471", + "472", "508", "509", - "648", - "883", - "884", - "885", - "886", - "923", - "924" + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "658", + "893", + "894", + "895", + "896", + "933", + "934" ], "location": { "end": { @@ -83452,51 +84959,51 @@ } }, { - "id": "2592", + "id": "2641", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "191", - "192", - "193", - "329", - "330", + "199", + "200", + "201", "337", "338", - "378", - "379", - "380", - "381", - "382", - "383", - "403", - "404", - "405", - "406", - "461", - "462", - "498", - "499", - "500", - "501", - "502", - "503", - "504", - "505", - "506", - "507", + "345", + "346", + "386", + "387", + "388", + "389", + "390", + "391", + "411", + "412", + "413", + "414", + "471", + "472", "508", "509", - "648", - "883", - "884", - "885", - "886", - "923", - "924" + "510", + "511", + "512", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "658", + "893", + "894", + "895", + "896", + "933", + "934" ], "location": { "end": { @@ -83516,7 +85023,7 @@ "language": "typescript", "mutants": [ { - "id": "2593", + "id": "2642", "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", @@ -83524,20 +85031,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", "567", - "568", - "569", "570", "571", - "572", "573", "574", "575", @@ -83559,10 +85056,20 @@ "591", "592", "593", - "950", - "951", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "961", + "962", + "963" ], "location": { "end": { @@ -83576,27 +85083,17 @@ } }, { - "id": "2594", + "id": "2643", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", "567", - "568", - "569", "570", "571", - "572", "573", "574", "575", @@ -83618,10 +85115,20 @@ "591", "592", "593", - "950", - "951", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "961", + "962", + "963" ], "location": { "end": { @@ -83635,27 +85142,17 @@ } }, { - "id": "2595", + "id": "2644", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", "567", - "568", - "569", "570", "571", - "572", "573", "574", "575", @@ -83677,10 +85174,20 @@ "591", "592", "593", - "950", - "951", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "961", + "962", + "963" ], "location": { "end": { @@ -83694,27 +85201,17 @@ } }, { - "id": "2596", + "id": "2645", "mutatorName": "LogicalOperator", "replacement": "minItems === undefined || arrayMinSize(array, minItems) || maxItems === undefined || arrayMaxSize(array, maxItems)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", "567", - "568", - "569", "570", "571", - "572", "573", "574", "575", @@ -83736,10 +85233,20 @@ "591", "592", "593", - "950", - "951", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "961", + "962", + "963" ], "location": { "end": { @@ -83753,7 +85260,7 @@ } }, { - "id": "2597", + "id": "2646", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).rejects.toThrow()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"64c7a0bf2ad8d71caa7fd611\", \"createdAt\": 2023-07-31T11:53:35.370Z, \"gameId\": \"5f32a39aa0c5c76cce82db77\", \"phase\": \"day\", \"play\": {\"action\": \"look\", \"source\": {\"name\": \"sheriff\", \"players\": []}}, \"tick\": 3194753980039168, \"turn\": 4136696576737280, \"updatedAt\": 2023-07-31T11:53:35.370Z}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7361449/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:97:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315: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:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83761,23 +85268,13 @@ "testsCompleted": 36, "static": false, "killedBy": [ - "567" + "577" ], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", "567", - "568", - "569", "570", "571", - "572", "573", "574", "575", @@ -83799,10 +85296,20 @@ "591", "592", "593", - "950", - "951", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "961", + "962", + "963" ], "location": { "end": { @@ -83816,7 +85323,7 @@ } }, { - "id": "2598", + "id": "2647", "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", @@ -83824,20 +85331,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", "567", - "568", - "569", "570", "571", - "572", "573", "574", "575", @@ -83859,10 +85356,20 @@ "591", "592", "593", - "950", - "951", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "961", + "962", + "963" ], "location": { "end": { @@ -83876,7 +85383,7 @@ } }, { - "id": "2599", + "id": "2648", "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", @@ -83884,20 +85391,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", "567", - "568", - "569", "570", "571", - "572", "573", "574", "575", @@ -83919,10 +85416,20 @@ "591", "592", "593", - "950", - "951", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "961", + "962", + "963" ], "location": { "end": { @@ -83936,7 +85443,7 @@ } }, { - "id": "2600", + "id": "2649", "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", @@ -83944,20 +85451,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", "567", - "568", - "569", "570", "571", - "572", "573", "574", "575", @@ -83979,10 +85476,20 @@ "591", "592", "593", - "950", - "951", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "961", + "962", + "963" ], "location": { "end": { @@ -83996,7 +85503,7 @@ } }, { - "id": "2601", + "id": "2650", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox7361449/tests/unit/specs/shared/validation/helpers/validation.helper.spec.ts:15:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:315:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:251:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84004,27 +85511,17 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "952" + "962" ], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", - "568", - "569", + "567", "570", "571", - "572", "573", "574", "575", "576", - "577", "578", "579", "580", @@ -84041,9 +85538,19 @@ "591", "592", "593", - "950", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "962", + "963" ], "location": { "end": { @@ -84057,7 +85564,7 @@ } }, { - "id": "2602", + "id": "2651", "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", @@ -84065,24 +85572,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", - "568", - "569", + "567", "570", "571", - "572", "573", "574", "575", "576", - "577", "578", "579", "580", @@ -84099,9 +85596,19 @@ "591", "592", "593", - "950", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "962", + "963" ], "location": { "end": { @@ -84115,7 +85622,7 @@ } }, { - "id": "2603", + "id": "2652", "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", @@ -84123,24 +85630,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", - "568", - "569", + "567", "570", "571", - "572", "573", "574", "575", "576", - "577", "578", "579", "580", @@ -84157,9 +85654,19 @@ "591", "592", "593", - "950", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "962", + "963" ], "location": { "end": { @@ -84173,7 +85680,7 @@ } }, { - "id": "2604", + "id": "2653", "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", @@ -84181,24 +85688,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "556", - "557", - "560", - "561", - "563", - "564", - "565", "566", - "568", - "569", + "567", "570", "571", - "572", "573", "574", "575", "576", - "577", "578", "579", "580", @@ -84215,9 +85712,19 @@ "591", "592", "593", - "950", - "952", - "953" + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "960", + "962", + "963" ], "location": { "end": { @@ -84237,7 +85744,7 @@ "language": "typescript", "mutants": [ { - "id": "2605", + "id": "2654", "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", @@ -84245,21 +85752,21 @@ "static": true, "killedBy": [], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "943", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "953", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84273,7 +85780,7 @@ } }, { - "id": "2606", + "id": "2655", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:168:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84281,24 +85788,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "701" + "711" ], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "943", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "953", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84312,7 +85819,7 @@ } }, { - "id": "2607", + "id": "2656", "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/sandbox2212490/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:16:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84320,24 +85827,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "943" + "953" ], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "943", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "953", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84351,7 +85858,7 @@ } }, { - "id": "2608", + "id": "2657", "mutatorName": "EqualityOperator", "replacement": "value !== \"true\"", "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/sandbox2212490/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:16:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84359,24 +85866,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "943" + "953" ], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "943", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "953", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84390,7 +85897,7 @@ } }, { - "id": "2609", + "id": "2658", "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/sandbox2212490/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:16:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84398,24 +85905,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "943" + "953" ], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "943", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "953", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84429,7 +85936,7 @@ } }, { - "id": "2610", + "id": "2659", "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/sandbox2212490/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:16:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84437,10 +85944,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "943" + "953" ], "coveredBy": [ - "943" + "953" ], "location": { "end": { @@ -84454,7 +85961,7 @@ } }, { - "id": "2611", + "id": "2660", "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/sandbox2212490/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:16:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84462,10 +85969,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "943" + "953" ], "coveredBy": [ - "943" + "953" ], "location": { "end": { @@ -84479,7 +85986,7 @@ } }, { - "id": "2612", + "id": "2661", "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/sandbox2212490/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:175:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84487,23 +85994,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "702" + "712" ], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84517,7 +86024,7 @@ } }, { - "id": "2613", + "id": "2662", "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/sandbox2212490/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:16:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84525,23 +86032,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "944" + "954" ], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84555,7 +86062,7 @@ } }, { - "id": "2614", + "id": "2663", "mutatorName": "EqualityOperator", "replacement": "value !== \"false\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:221:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84563,23 +86070,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "528" + "538" ], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84593,7 +86100,7 @@ } }, { - "id": "2615", + "id": "2664", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:221:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84601,23 +86108,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "528" + "538" ], "coveredBy": [ - "528", - "700", - "701", - "702", - "703", - "704", - "705", - "706", - "944", - "945", - "946", - "947", - "948", - "949" + "538", + "710", + "711", + "712", + "713", + "714", + "715", + "716", + "954", + "955", + "956", + "957", + "958", + "959" ], "location": { "end": { @@ -84631,7 +86138,7 @@ } }, { - "id": "2616", + "id": "2665", "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/sandbox2212490/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:221:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84639,11 +86146,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "528" + "538" ], "coveredBy": [ - "528", - "944" + "538", + "954" ], "location": { "end": { @@ -84657,7 +86164,7 @@ } }, { - "id": "2617", + "id": "2666", "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/sandbox2212490/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:16:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:300:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:233:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:314:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:250:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:125:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:120:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:70:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84665,11 +86172,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "944" + "954" ], "coveredBy": [ - "528", - "944" + "538", + "954" ], "location": { "end": { @@ -84701,7 +86208,7 @@ "location": { "start": { "column": 6, - "line": 111 + "line": 120 } } }, @@ -84711,7 +86218,7 @@ "location": { "start": { "column": 6, - "line": 120 + "line": 129 } } }, @@ -84721,7 +86228,7 @@ "location": { "start": { "column": 6, - "line": 134 + "line": 143 } } }, @@ -84731,7 +86238,7 @@ "location": { "start": { "column": 6, - "line": 142 + "line": 151 } } }, @@ -84741,7 +86248,7 @@ "location": { "start": { "column": 6, - "line": 149 + "line": 158 } } }, @@ -84751,7 +86258,7 @@ "location": { "start": { "column": 6, - "line": 157 + "line": 166 } } }, @@ -84761,7 +86268,7 @@ "location": { "start": { "column": 6, - "line": 166 + "line": 175 } } }, @@ -84771,7 +86278,7 @@ "location": { "start": { "column": 6, - "line": 176 + "line": 185 } } }, @@ -84781,7 +86288,7 @@ "location": { "start": { "column": 6, - "line": 184 + "line": 193 } } }, @@ -84791,7 +86298,7 @@ "location": { "start": { "column": 6, - "line": 192 + "line": 201 } } }, @@ -84801,7 +86308,7 @@ "location": { "start": { "column": 6, - "line": 196 + "line": 205 } } }, @@ -84811,7 +86318,7 @@ "location": { "start": { "column": 6, - "line": 205 + "line": 214 } } }, @@ -84821,7 +86328,7 @@ "location": { "start": { "column": 6, - "line": 215 + "line": 224 } } }, @@ -84831,7 +86338,7 @@ "location": { "start": { "column": 6, - "line": 223 + "line": 232 } } }, @@ -84841,7 +86348,7 @@ "location": { "start": { "column": 6, - "line": 227 + "line": 236 } } }, @@ -84851,7 +86358,7 @@ "location": { "start": { "column": 6, - "line": 236 + "line": 261 } } }, @@ -84861,7 +86368,7 @@ "location": { "start": { "column": 6, - "line": 257 + "line": 282 } } }, @@ -84871,7 +86378,7 @@ "location": { "start": { "column": 6, - "line": 275 + "line": 300 } } }, @@ -84881,7 +86388,7 @@ "location": { "start": { "column": 6, - "line": 296 + "line": 321 } } }, @@ -84891,7 +86398,7 @@ "location": { "start": { "column": 6, - "line": 314 + "line": 339 } } }, @@ -84901,7 +86408,7 @@ "location": { "start": { "column": 6, - "line": 327 + "line": 350 } } }, @@ -84911,7 +86418,7 @@ "location": { "start": { "column": 6, - "line": 343 + "line": 364 } } }, @@ -84921,7 +86428,7 @@ "location": { "start": { "column": 6, - "line": 358 + "line": 377 } } }, @@ -84931,7 +86438,7 @@ "location": { "start": { "column": 6, - "line": 375 + "line": 392 } } }, @@ -84941,7 +86448,7 @@ "location": { "start": { "column": 6, - "line": 391 + "line": 408 } } }, @@ -84951,7 +86458,7 @@ "location": { "start": { "column": 6, - "line": 408 + "line": 425 } } }, @@ -84961,7 +86468,7 @@ "location": { "start": { "column": 6, - "line": 428 + "line": 445 } } }, @@ -84971,7 +86478,7 @@ "location": { "start": { "column": 6, - "line": 435 + "line": 452 } } }, @@ -84981,7 +86488,7 @@ "location": { "start": { "column": 6, - "line": 469 + "line": 486 } } }, @@ -84991,7 +86498,7 @@ "location": { "start": { "column": 6, - "line": 477 + "line": 494 } } }, @@ -85001,7 +86508,7 @@ "location": { "start": { "column": 6, - "line": 485 + "line": 502 } } }, @@ -85011,7 +86518,7 @@ "location": { "start": { "column": 6, - "line": 494 + "line": 511 } } }, @@ -85021,7 +86528,7 @@ "location": { "start": { "column": 6, - "line": 503 + "line": 520 } } }, @@ -85031,7 +86538,7 @@ "location": { "start": { "column": 6, - "line": 512 + "line": 529 } } }, @@ -85041,7 +86548,7 @@ "location": { "start": { "column": 6, - "line": 527 + "line": 544 } } }, @@ -85051,7 +86558,7 @@ "location": { "start": { "column": 6, - "line": 533 + "line": 550 } } }, @@ -85061,7 +86568,7 @@ "location": { "start": { "column": 6, - "line": 541 + "line": 558 } } }, @@ -85071,7 +86578,7 @@ "location": { "start": { "column": 6, - "line": 549 + "line": 566 } } }, @@ -85081,7 +86588,7 @@ "location": { "start": { "column": 6, - "line": 557 + "line": 574 } } }, @@ -85091,7 +86598,7 @@ "location": { "start": { "column": 6, - "line": 565 + "line": 582 } } }, @@ -85101,7 +86608,7 @@ "location": { "start": { "column": 6, - "line": 573 + "line": 590 } } }, @@ -85111,7 +86618,7 @@ "location": { "start": { "column": 6, - "line": 581 + "line": 598 } } }, @@ -85121,7 +86628,7 @@ "location": { "start": { "column": 6, - "line": 589 + "line": 606 } } }, @@ -85131,7 +86638,7 @@ "location": { "start": { "column": 6, - "line": 599 + "line": 616 } } }, @@ -85141,7 +86648,7 @@ "location": { "start": { "column": 6, - "line": 607 + "line": 624 } } }, @@ -85151,7 +86658,7 @@ "location": { "start": { "column": 6, - "line": 615 + "line": 632 } } }, @@ -85161,7 +86668,7 @@ "location": { "start": { "column": 6, - "line": 625 + "line": 642 } } }, @@ -85171,7 +86678,7 @@ "location": { "start": { "column": 6, - "line": 632 + "line": 649 } } }, @@ -85181,7 +86688,7 @@ "location": { "start": { "column": 6, - "line": 640 + "line": 657 } } }, @@ -85191,7 +86698,7 @@ "location": { "start": { "column": 6, - "line": 658 + "line": 675 } } }, @@ -85201,7 +86708,7 @@ "location": { "start": { "column": 6, - "line": 677 + "line": 694 } } }, @@ -85211,7 +86718,7 @@ "location": { "start": { "column": 6, - "line": 687 + "line": 704 } } }, @@ -85221,7 +86728,7 @@ "location": { "start": { "column": 6, - "line": 698 + "line": 715 } } }, @@ -85231,7 +86738,7 @@ "location": { "start": { "column": 6, - "line": 705 + "line": 722 } } }, @@ -85241,7 +86748,7 @@ "location": { "start": { "column": 6, - "line": 713 + "line": 730 } } }, @@ -85251,7 +86758,7 @@ "location": { "start": { "column": 6, - "line": 721 + "line": 738 } } }, @@ -85261,7 +86768,7 @@ "location": { "start": { "column": 6, - "line": 731 + "line": 748 } } }, @@ -85271,7 +86778,7 @@ "location": { "start": { "column": 6, - "line": 740 + "line": 757 } } }, @@ -85281,7 +86788,7 @@ "location": { "start": { "column": 6, - "line": 747 + "line": 764 } } }, @@ -85291,7 +86798,7 @@ "location": { "start": { "column": 6, - "line": 753 + "line": 770 } } }, @@ -85301,7 +86808,7 @@ "location": { "start": { "column": 6, - "line": 761 + "line": 778 } } }, @@ -85311,7 +86818,7 @@ "location": { "start": { "column": 6, - "line": 769 + "line": 786 } } }, @@ -85321,7 +86828,7 @@ "location": { "start": { "column": 6, - "line": 779 + "line": 796 } } }, @@ -85331,7 +86838,7 @@ "location": { "start": { "column": 6, - "line": 794 + "line": 811 } } }, @@ -85341,7 +86848,7 @@ "location": { "start": { "column": 6, - "line": 813 + "line": 830 } } }, @@ -85351,7 +86858,7 @@ "location": { "start": { "column": 6, - "line": 831 + "line": 848 } } }, @@ -85361,7 +86868,7 @@ "location": { "start": { "column": 6, - "line": 844 + "line": 861 } } }, @@ -85371,7 +86878,7 @@ "location": { "start": { "column": 6, - "line": 853 + "line": 870 } } }, @@ -85381,7 +86888,7 @@ "location": { "start": { "column": 6, - "line": 864 + "line": 881 } } }, @@ -85391,7 +86898,7 @@ "location": { "start": { "column": 6, - "line": 874 + "line": 891 } } }, @@ -85401,7 +86908,7 @@ "location": { "start": { "column": 6, - "line": 886 + "line": 903 } } }, @@ -85411,7 +86918,7 @@ "location": { "start": { "column": 6, - "line": 892 + "line": 909 } } }, @@ -85421,7 +86928,7 @@ "location": { "start": { "column": 6, - "line": 900 + "line": 917 } } }, @@ -85431,7 +86938,7 @@ "location": { "start": { "column": 6, - "line": 907 + "line": 924 } } }, @@ -85441,7 +86948,7 @@ "location": { "start": { "column": 6, - "line": 917 + "line": 934 } } }, @@ -85451,7 +86958,7 @@ "location": { "start": { "column": 6, - "line": 928 + "line": 945 } } }, @@ -85461,7 +86968,7 @@ "location": { "start": { "column": 6, - "line": 939 + "line": 956 } } }, @@ -85471,7 +86978,7 @@ "location": { "start": { "column": 6, - "line": 950 + "line": 967 } } }, @@ -85481,7 +86988,7 @@ "location": { "start": { "column": 6, - "line": 960 + "line": 977 } } }, @@ -85491,7 +86998,7 @@ "location": { "start": { "column": 6, - "line": 1008 + "line": 1025 } } }, @@ -85501,7 +87008,7 @@ "location": { "start": { "column": 6, - "line": 1026 + "line": 1043 } } }, @@ -85511,7 +87018,7 @@ "location": { "start": { "column": 6, - "line": 1043 + "line": 1060 } } }, @@ -85521,7 +87028,7 @@ "location": { "start": { "column": 6, - "line": 1061 + "line": 1078 } } }, @@ -85531,7 +87038,7 @@ "location": { "start": { "column": 6, - "line": 1079 + "line": 1096 } } }, @@ -85541,7 +87048,7 @@ "location": { "start": { "column": 6, - "line": 1097 + "line": 1114 } } }, @@ -85551,7 +87058,7 @@ "location": { "start": { "column": 6, - "line": 1115 + "line": 1132 } } }, @@ -85561,7 +87068,7 @@ "location": { "start": { "column": 6, - "line": 1133 + "line": 1150 } } }, @@ -85571,7 +87078,7 @@ "location": { "start": { "column": 6, - "line": 1151 + "line": 1168 } } }, @@ -85581,7 +87088,7 @@ "location": { "start": { "column": 6, - "line": 1169 + "line": 1186 } } }, @@ -85591,7 +87098,7 @@ "location": { "start": { "column": 6, - "line": 1187 + "line": 1204 } } }, @@ -85601,7 +87108,7 @@ "location": { "start": { "column": 6, - "line": 1205 + "line": 1222 } } }, @@ -85611,7 +87118,7 @@ "location": { "start": { "column": 6, - "line": 1223 + "line": 1240 } } }, @@ -85621,7 +87128,7 @@ "location": { "start": { "column": 6, - "line": 1241 + "line": 1258 } } }, @@ -85631,7 +87138,7 @@ "location": { "start": { "column": 6, - "line": 1259 + "line": 1276 } } }, @@ -85641,7 +87148,7 @@ "location": { "start": { "column": 6, - "line": 1279 + "line": 1296 } } }, @@ -85651,7 +87158,7 @@ "location": { "start": { "column": 6, - "line": 1296 + "line": 1313 } } }, @@ -85661,7 +87168,7 @@ "location": { "start": { "column": 6, - "line": 1310 + "line": 1327 } } }, @@ -85671,7 +87178,7 @@ "location": { "start": { "column": 6, - "line": 1323 + "line": 1340 } } }, @@ -85681,7 +87188,7 @@ "location": { "start": { "column": 6, - "line": 1335 + "line": 1352 } } }, @@ -85691,7 +87198,7 @@ "location": { "start": { "column": 6, - "line": 1347 + "line": 1364 } } }, @@ -85701,7 +87208,7 @@ "location": { "start": { "column": 6, - "line": 1370 + "line": 1393 } } }, @@ -85711,7 +87218,7 @@ "location": { "start": { "column": 6, - "line": 1378 + "line": 1400 } } }, @@ -85721,7 +87228,7 @@ "location": { "start": { "column": 6, - "line": 1386 + "line": 1407 } } }, @@ -85731,7 +87238,7 @@ "location": { "start": { "column": 6, - "line": 1393 + "line": 1414 } } }, @@ -85741,7 +87248,7 @@ "location": { "start": { "column": 6, - "line": 1401 + "line": 1422 } } }, @@ -85751,7 +87258,7 @@ "location": { "start": { "column": 6, - "line": 1411 + "line": 1433 } } }, @@ -85761,7 +87268,7 @@ "location": { "start": { "column": 6, - "line": 1426 + "line": 1448 } } }, @@ -85771,187 +87278,267 @@ "location": { "start": { "column": 6, - "line": 1443 + "line": 1465 } } }, { "id": "108", - "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should do nothing when there are no votes defined and upcoming action doesn't require votes anyway.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDtoSourceAndTarget should throw error when one vote source is not alive.", "location": { "start": { "column": 6, - "line": 1468 + "line": 1482 } } }, { "id": "109", - "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should do nothing when there are no votes (empty array) and upcoming action doesn't require votes anyway.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDtoSourceAndTarget should throw error when one vote source doesn't have the ability to vote.", "location": { "start": { "column": 6, - "line": 1474 + "line": 1498 } } }, { "id": "110", - "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should throw error when there is no votes but they are required.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDtoSourceAndTarget should throw error when one vote target is dead.", "location": { "start": { "column": 6, - "line": 1480 + "line": 1514 } } }, { "id": "111", - "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should throw error when there are votes but they are expected.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDtoSourceAndTarget should throw error when there are votes with the same source and target.", "location": { "start": { "column": 6, - "line": 1487 + "line": 1530 } } }, { "id": "112", - "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should throw error when there are votes with the same source and target.", + "name": "Game Play Validator Service validateUnsetGamePlayVotesWithRelationsDto should do nothing when there is no vote but nobody can votes.", "location": { "start": { "column": 6, - "line": 1495 + "line": 1548 } } }, { "id": "113", - "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should call validateGamePlayVotesTieBreakerWithRelationsDto when current play is because of previous votes were in ties.", + "name": "Game Play Validator Service validateUnsetGamePlayVotesWithRelationsDto should do nothing when there is no vote but votes can be skipped.", "location": { "start": { "column": 6, - "line": 1506 + "line": 1561 } } }, { "id": "114", - "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should do nothing when votes are valid.", + "name": "Game Play Validator Service validateUnsetGamePlayVotesWithRelationsDto should throw error when there is no vote but they are required.", "location": { "start": { "column": 6, - "line": 1514 + "line": 1574 } } }, { "id": "115", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoChosenSide should throw error when chosenSide is not defined and game play action is CHOOSE_SIDE.", + "name": "Game Play Validator Service validateUnsetGamePlayVotesWithRelationsDto should throw error when there is no vote but it's sheriff election time.", "location": { "start": { "column": 6, - "line": 1523 + "line": 1588 } } }, { "id": "116", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoChosenSide should throw error when chosenSide is defined and game play action is not CHOOSE_SIDE.", + "name": "Game Play Validator Service validateUnsetGamePlayVotesWithRelationsDto should throw error when there is no vote but votes are because of angel presence.", "location": { "start": { "column": 6, - "line": 1531 + "line": 1602 } } }, { "id": "117", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoChosenSide should do nothing when chosenSide is not defined and game play action is not CHOOSE_SIDE.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should resolve when there are no votes defined.", "location": { "start": { "column": 6, - "line": 1539 + "line": 1636 } } }, { "id": "118", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoChosenSide should do nothing when chosenSide is defined and game play action is CHOOSE_SIDE.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should call validateGamePlayVotesWithRelationsDto method when there are no votes defined.", "location": { "start": { "column": 6, - "line": 1546 + "line": 1642 } } }, { "id": "119", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should do nothing when doesJudgeRequestAnotherVote is undefined.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should call validateGamePlayVotesWithRelationsDto method when there are no votes (empty array).", "location": { "start": { "column": 6, - "line": 1555 + "line": 1649 } } }, { "id": "120", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should throw error when judge request another vote but upcoming action is not vote.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should throw error when there are votes but they are not expected.", "location": { "start": { "column": 6, - "line": 1562 + "line": 1656 } } }, { "id": "121", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should throw error when judge request another vote but there is no judge in the game.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should call validateGamePlayVotesTieBreakerWithRelationsDto when current play is because of previous votes were in ties.", "location": { "start": { "column": 6, - "line": 1570 + "line": 1664 } } }, { "id": "122", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should throw error when judge request another vote but he is dead.", + "name": "Game Play Validator Service validateGamePlayVotesWithRelationsDto should do nothing when votes are valid.", "location": { "start": { "column": 6, - "line": 1584 + "line": 1672 } } }, { "id": "123", - "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should throw error when judge request another vote but he has reach the request limit.", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoChosenSide should throw error when chosenSide is not defined and game play action is CHOOSE_SIDE.", "location": { "start": { "column": 6, - "line": 1598 + "line": 1681 } } }, { "id": "124", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoChosenSide should throw error when chosenSide is defined and game play action is not CHOOSE_SIDE.", + "location": { + "start": { + "column": 6, + "line": 1689 + } + } + }, + { + "id": "125", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoChosenSide should do nothing when chosenSide is not defined and game play action is not CHOOSE_SIDE.", + "location": { + "start": { + "column": 6, + "line": 1697 + } + } + }, + { + "id": "126", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoChosenSide should do nothing when chosenSide is defined and game play action is CHOOSE_SIDE.", + "location": { + "start": { + "column": 6, + "line": 1704 + } + } + }, + { + "id": "127", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should do nothing when doesJudgeRequestAnotherVote is undefined.", + "location": { + "start": { + "column": 6, + "line": 1713 + } + } + }, + { + "id": "128", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should throw error when judge request another vote but upcoming action is not vote.", + "location": { + "start": { + "column": 6, + "line": 1720 + } + } + }, + { + "id": "129", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should throw error when judge request another vote but there is no judge in the game.", + "location": { + "start": { + "column": 6, + "line": 1728 + } + } + }, + { + "id": "130", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should throw error when judge request another vote but he is dead.", + "location": { + "start": { + "column": 6, + "line": 1742 + } + } + }, + { + "id": "131", + "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should throw error when judge request another vote but he has reach the request limit.", + "location": { + "start": { + "column": 6, + "line": 1756 + } + } + }, + { + "id": "132", "name": "Game Play Validator Service validateGamePlayWithRelationsDtoJudgeRequest should do nothing when judge request another vote and he can.", "location": { "start": { "column": 6, - "line": 1617 + "line": 1775 } } } ], - "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport { when } from \"jest-when\";\nimport { GAME_HISTORY_RECORD_VOTING_RESULTS } from \"../../../../../../../../src/modules/game/enums/game-history-record.enum\";\nimport { GAME_PLAY_ACTIONS, GAME_PLAY_CAUSES, WITCH_POTIONS } from \"../../../../../../../../src/modules/game/enums/game-play.enum\";\nimport { PLAYER_GROUPS } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport * as GameHelper from \"../../../../../../../../src/modules/game/helpers/game.helper\";\nimport { GameHistoryRecordRepository } from \"../../../../../../../../src/modules/game/providers/repositories/game-history-record.repository\";\nimport { GameRepository } from \"../../../../../../../../src/modules/game/providers/repositories/game.repository\";\nimport { GameHistoryRecordService } from \"../../../../../../../../src/modules/game/providers/services/game-history/game-history-record.service\";\nimport { GamePlayValidatorService } from \"../../../../../../../../src/modules/game/providers/services/game-play/game-play-validator.service\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport * as UnexpectedExceptionFactory from \"../../../../../../../../src/shared/exception/helpers/unexpected-exception.factory\";\nimport { BadGamePlayPayloadException } from \"../../../../../../../../src/shared/exception/types/bad-game-play-payload-exception.type\";\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 { createFakeGameAdditionalCard } from \"../../../../../../../factories/game/schemas/game-additional-card/game-additional-card.schema.factory\";\nimport { createFakeGameHistoryRecord, createFakeGameHistoryRecordAllVotePlay, createFakeGameHistoryRecordGuardProtectPlay, createFakeGameHistoryRecordPlay, createFakeGameHistoryRecordPlayVoting, 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 { createFakePiedPiperGameOptions, createFakeRolesGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-roles-options.schema.factory\";\nimport { createFakeGamePlay, createFakeGamePlayAllVote, createFakeGamePlayBigBadWolfEats, createFakeGamePlayCupidCharms, createFakeGamePlayDogWolfChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayGuardProtects, createFakeGamePlayHunterShoots, createFakeGamePlayPiedPiperCharms, createFakeGamePlayRavenMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayThiefChoosesCard, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from \"../../../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeEatenByWerewolvesPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakeDogWolfAlivePlayer, createFakeSeerAlivePlayer, createFakeStutteringJudgeAlivePlayer, createFakeVileFatherOfWolvesAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer, createFakeWhiteWerewolfAlivePlayer, createFakeWildChildAlivePlayer, createFakeWitchAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\n\njest.mock(\"../../../../../../../../src/shared/exception/types/bad-game-play-payload-exception.type\");\n\ndescribe(\"Game Play Validator Service\", () => {\n let mocks: {\n gameRepository: {\n find: jest.SpyInstance;\n findOne: jest.SpyInstance;\n create: jest.SpyInstance;\n updateOne: jest.SpyInstance;\n };\n gameHistoryRecordRepository: {\n find: jest.SpyInstance;\n create: jest.SpyInstance;\n };\n gameHistoryRecordService: {\n getLastGameHistoryGuardProtectsRecord: jest.SpyInstance;\n getLastGameHistoryTieInVotesRecord: jest.SpyInstance;\n getGameHistoryWitchUsesSpecificPotionRecords: jest.SpyInstance;\n getGameHistoryVileFatherOfWolvesInfectedRecords: jest.SpyInstance;\n getGameHistoryJudgeRequestRecords: jest.SpyInstance;\n };\n };\n let services: { gamePlayValidator: GamePlayValidatorService };\n\n beforeEach(async() => {\n mocks = {\n gameRepository: {\n find: jest.fn(),\n findOne: jest.fn(),\n create: jest.fn(),\n updateOne: jest.fn(),\n },\n gameHistoryRecordRepository: {\n find: jest.fn(),\n create: jest.fn(),\n },\n gameHistoryRecordService: {\n getLastGameHistoryGuardProtectsRecord: jest.fn(),\n getLastGameHistoryTieInVotesRecord: jest.fn(),\n getGameHistoryWitchUsesSpecificPotionRecords: jest.fn(),\n getGameHistoryVileFatherOfWolvesInfectedRecords: jest.fn(),\n getGameHistoryJudgeRequestRecords: jest.fn(),\n },\n };\n \n const module: TestingModule = await Test.createTestingModule({\n providers: [\n GamePlayValidatorService,\n {\n provide: GameHistoryRecordService,\n useValue: mocks.gameHistoryRecordService,\n },\n {\n provide: GameRepository,\n useValue: mocks.gameRepository,\n },\n {\n provide: GameHistoryRecordRepository,\n useValue: mocks.gameHistoryRecordRepository,\n },\n ],\n }).compile();\n \n services = { gamePlayValidator: module.get(GamePlayValidatorService) };\n });\n \n describe(\"validateGamePlayWithRelationsDto\", () => {\n let validateGamePlayWithRelationsDtoJudgeRequestSpy: jest.SpyInstance;\n let validateGamePlayWithRelationsDtoChosenSideSpy: jest.SpyInstance;\n let validateGamePlayVotesWithRelationsDtoSpy: jest.SpyInstance;\n let validateGamePlayTargetsWithRelationsDtoSpy: jest.SpyInstance;\n let validateGamePlayWithRelationsDtoChosenCardSpy: jest.SpyInstance;\n let createNoCurrentGamePlayUnexpectedExceptionSpy: jest.SpyInstance;\n\n beforeEach(() => {\n validateGamePlayWithRelationsDtoJudgeRequestSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoJudgeRequest }, \"validateGamePlayWithRelationsDtoJudgeRequest\").mockImplementation();\n validateGamePlayWithRelationsDtoChosenSideSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoChosenSide }, \"validateGamePlayWithRelationsDtoChosenSide\").mockImplementation();\n validateGamePlayVotesWithRelationsDtoSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesWithRelationsDto }, \"validateGamePlayVotesWithRelationsDto\").mockImplementation();\n validateGamePlayTargetsWithRelationsDtoSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayTargetsWithRelationsDto }, \"validateGamePlayTargetsWithRelationsDto\").mockImplementation();\n validateGamePlayWithRelationsDtoChosenCardSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoChosenCard }, \"validateGamePlayWithRelationsDtoChosenCard\").mockImplementation();\n createNoCurrentGamePlayUnexpectedExceptionSpy = jest.spyOn(UnexpectedExceptionFactory, \"createNoCurrentGamePlayUnexpectedException\").mockImplementation();\n });\n \n it(\"should throw error when game's current play is not set.\", async() => {\n const game = createFakeGame();\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n const interpolations = { gameId: game._id };\n \n await expect(services.gamePlayValidator.validateGamePlayWithRelationsDto(makeGamePlayWithRelationsDto, game)).toReject();\n expect(createNoCurrentGamePlayUnexpectedExceptionSpy).toHaveBeenCalledExactlyOnceWith(\"validateGamePlayWithRelationsDto\", interpolations);\n });\n\n it(\"should call validators when called.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n await services.gamePlayValidator.validateGamePlayWithRelationsDto(makeGamePlayWithRelationsDto, game);\n \n expect(validateGamePlayWithRelationsDtoJudgeRequestSpy).toHaveBeenCalledOnce();\n expect(validateGamePlayWithRelationsDtoChosenSideSpy).toHaveBeenCalledOnce();\n expect(validateGamePlayVotesWithRelationsDtoSpy).toHaveBeenCalledOnce();\n expect(validateGamePlayTargetsWithRelationsDtoSpy).toHaveBeenCalledOnce();\n expect(validateGamePlayWithRelationsDtoChosenCardSpy).toHaveBeenCalledOnce();\n });\n });\n\n describe(\"validateGamePlayWithRelationsDtoChosenCard\", () => {\n it(\"should throw error when chosen card is not defined but expected.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayThiefChoosesCard() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n \n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenCard\"](makeGamePlayWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`chosenCard` is required on this current game's state\");\n });\n\n it(\"should do nothing when chosen card is not defined and not expected.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n \n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenCard\"](makeGamePlayWithRelationsDto, game)).not.toThrow();\n });\n\n it(\"should throw error when chosen card is defined but not expected.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ chosenCard: createFakeGameAdditionalCard() });\n \n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenCard\"](makeGamePlayWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`chosenCard` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when chosen card is defined but expected.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayThiefChoosesCard() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ chosenCard: createFakeGameAdditionalCard() });\n \n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenCard\"](makeGamePlayWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateDrankLifePotionTargets\", () => {\n it(\"should throw error when there are too much targets for life potion.\", () => {\n const drankLifePotionTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n ];\n \n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"](drankLifePotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"There are too much targets which drank life potion (`targets.drankPotion`)\");\n });\n\n it(\"should throw error when life potion target is not alive.\", () => {\n const targetedPlayer = createFakePlayer({ isAlive: false, attributes: [createFakeEatenByWerewolvesPlayerAttribute()] });\n const drankLifePotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.LIFE })];\n \n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"](drankLifePotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Life potion can't be applied to this target (`targets.drankPotion`)\");\n });\n\n it(\"should throw error when life potion target is not eaten by werewolves.\", () => {\n const targetedPlayer = createFakePlayer({ isAlive: true, attributes: [] });\n const drankLifePotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.LIFE })];\n \n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"](drankLifePotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Life potion can't be applied to this target (`targets.drankPotion`)\");\n });\n\n it(\"should do nothing when there is no life potion target.\", () => {\n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"]([])).not.toThrow();\n });\n\n it(\"should do nothing when life potion target is applied on valid target.\", () => {\n const targetedPlayer = createFakePlayer({ attributes: [createFakeEatenByWerewolvesPlayerAttribute()], isAlive: true });\n const drankLifePotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.LIFE })];\n \n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"](drankLifePotionTargets)).not.toThrow();\n });\n });\n\n describe(\"validateDrankDeathPotionTargets\", () => {\n it(\"should throw error when there are too much targets for death potion.\", () => {\n const drankDeathPotionTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n ];\n \n expect(() => services.gamePlayValidator[\"validateDrankDeathPotionTargets\"](drankDeathPotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"There are too much targets which drank death potion (`targets.drankPotion`)\");\n });\n\n it(\"should throw error when death potion target is not alive.\", () => {\n const targetedPlayer = createFakePlayer({ isAlive: false });\n const drankDeathPotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.DEATH })];\n \n expect(() => services.gamePlayValidator[\"validateDrankDeathPotionTargets\"](drankDeathPotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Death potion can't be applied to this target (`targets.drankPotion`)\");\n });\n\n it(\"should do nothing when there is no death potion target.\", () => {\n expect(() => services.gamePlayValidator[\"validateDrankDeathPotionTargets\"]([])).not.toThrow();\n });\n\n it(\"should do nothing when death potion target is applied on valid target.\", () => {\n const targetedPlayer = createFakePlayer({ isAlive: true });\n const drankDeathPotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.DEATH })];\n \n expect(() => services.gamePlayValidator[\"validateDrankDeathPotionTargets\"](drankDeathPotionTargets)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayWitchTargets\", () => {\n it(\"should throw error when witch targeted someone with life potion but already used it with death potion before.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n const gameHistoryRecordTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n ];\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue(gameHistoryRecords);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should throw error when witch targeted someone with life potion but already used it alone before.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({}),\n ];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE })];\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue(gameHistoryRecords);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should throw error when witch targeted someone with death potion but already used it with life potion before.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n const gameHistoryRecordTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n ];\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue(gameHistoryRecords);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should throw error when witch targeted someone with death potion but already used it alone before.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[1], drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[2] }),\n ];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH })];\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue([]);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should call potions validators without players when called with valid data but no target drank potions.\", async() => {\n const validateDrankLifePotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, \"validateDrankLifePotionTargets\").mockImplementation();\n const validateDrankDeathPotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, \"validateDrankDeathPotionTargets\").mockImplementation();\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() })];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue([]);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(validateDrankLifePotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([]);\n expect(validateDrankDeathPotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([]);\n });\n\n it(\"should call potions validators with players when called without bad data and without witch history.\", async() => {\n const validateDrankLifePotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, \"validateDrankLifePotionTargets\").mockImplementation();\n const validateDrankDeathPotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, \"validateDrankDeathPotionTargets\").mockImplementation();\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue([]);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(validateDrankLifePotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]);\n expect(validateDrankDeathPotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[1]]);\n });\n\n it(\"should call potions validators with players when called for valid life potion data and some witch history.\", async() => {\n const validateDrankLifePotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, \"validateDrankLifePotionTargets\").mockImplementation();\n const validateDrankDeathPotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, \"validateDrankDeathPotionTargets\").mockImplementation();\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE })];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH })];\n const gameHistoryRecords = [createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) })];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockReturnValue([]);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(validateDrankLifePotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]);\n expect(validateDrankDeathPotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([]);\n });\n\n it(\"should call potions validators with players when called for valid death potion data and some witch history.\", async() => {\n const validateDrankLifePotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, \"validateDrankLifePotionTargets\").mockImplementation();\n const validateDrankDeathPotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, \"validateDrankDeathPotionTargets\").mockImplementation();\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH })];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE })];\n const gameHistoryRecords = [createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) })];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue(gameHistoryRecords);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(validateDrankLifePotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([]);\n expect(validateDrankDeathPotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]);\n });\n });\n\n describe(\"validateGamePlayInfectedTargets\", () => {\n it(\"should throw error when vile father of wolves is not in the game.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[0], isInfected: true })];\n const gameHistoryRecords = [];\n mocks.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords.mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should throw error when vile father of wolves is dead.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer({ isAlive: false }),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[0], isInfected: true })];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true })];\n const gameHistoryRecords = [createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: gameHistoryRecordTargets }) })];\n mocks.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords.mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should throw error when vile father of wolves has already infected and some targets are infected.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true })];\n const gameHistoryRecordTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true }),\n createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: false }),\n ];\n const gameHistoryRecords = [createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: gameHistoryRecordTargets }) })];\n mocks.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords.mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when there is no infected target.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should do nothing when infected target data is valid.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[0], isInfected: true })];\n mocks.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords.mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateWerewolvesTargetsBoundaries\", () => {\n let localMocks: {\n gamePlayValidatorService: { validateGamePlayTargetsBoundaries: jest.SpyInstance };\n gameHelper: {\n getLeftToEatByWerewolvesPlayers: jest.SpyInstance;\n getLeftToEatByWhiteWerewolfPlayers: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = {\n gamePlayValidatorService: { validateGamePlayTargetsBoundaries: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayTargetsBoundaries }, \"validateGamePlayTargetsBoundaries\").mockImplementation() },\n gameHelper: {\n getLeftToEatByWerewolvesPlayers: jest.spyOn(GameHelper, \"getLeftToEatByWerewolvesPlayers\").mockReturnValue([]),\n getLeftToEatByWhiteWerewolfPlayers: jest.spyOn(GameHelper, \"getLeftToEatByWhiteWerewolfPlayers\").mockReturnValue([]),\n },\n };\n });\n\n it(\"should do nothing when game play source is not from available methods.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayThiefChoosesCard() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).not.toHaveBeenCalled();\n });\n\n it(\"should validate targets boundaries when game play source are werewolves.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 1, max: 1 });\n });\n\n it(\"should validate targets boundaries when game play source is big bad wolf and targets are available.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n localMocks.gameHelper.getLeftToEatByWerewolvesPlayers.mockReturnValue([createFakeVillagerAlivePlayer(), createFakeVillagerAlivePlayer()]);\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 1, max: 1 });\n });\n\n it(\"should validate targets boundaries when game play source is big bad wolf but targets are not available.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n localMocks.gameHelper.getLeftToEatByWerewolvesPlayers.mockReturnValue([]);\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 0, max: 0 });\n });\n\n it(\"should validate targets boundaries when game play source is white werewolf and targets are available.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n localMocks.gameHelper.getLeftToEatByWhiteWerewolfPlayers.mockReturnValue([createFakeVillagerAlivePlayer(), createFakeVillagerAlivePlayer()]);\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 0, max: 1 });\n });\n\n it(\"should validate targets boundaries when game play source is white werewolf but targets are not available.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n localMocks.gameHelper.getLeftToEatByWhiteWerewolfPlayers.mockReturnValue([]);\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 0, max: 0 });\n });\n });\n\n describe(\"validateGamePlayWerewolvesTargets\", () => {\n beforeEach(() => {\n jest.spyOn(services.gamePlayValidator as unknown as { validateWerewolvesTargetsBoundaries }, \"validateWerewolvesTargetsBoundaries\").mockImplementation();\n });\n\n it(\"should do nothing when there is no target.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [];\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should throw error when source is WEREWOLVES and targeted player is dead.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Werewolves can't eat this target\");\n });\n\n it(\"should throw error when source is WEREWOLVES and targeted player is from werewolves side.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Werewolves can't eat this target\");\n });\n\n it(\"should throw error when source is BIG_BAD_WOLF and targeted player is dead.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Big bad wolf can't eat this target\");\n });\n\n it(\"should throw error when source is BIG_BAD_WOLF and targeted player is from werewolves side.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Big bad wolf can't eat this target\");\n });\n\n it(\"should throw error when source is BIG_BAD_WOLF and targeted player is already eaten.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ attributes: [createFakeEatenByWerewolvesPlayerAttribute()] }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Big bad wolf can't eat this target\");\n });\n\n it(\"should throw error when source is WHITE_WEREWOLF and targeted player is dead.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer({ isAlive: false }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"White werewolf can't eat this target\");\n });\n\n it(\"should throw error when source is WHITE_WEREWOLF and targeted player is from villagers side.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"White werewolf can't eat this target\");\n });\n\n it(\"should throw error when source is WHITE_WEREWOLF and targeted player is white werewolf himself.\", async() => {\n const whiteWerewolfPlayer = createFakeWhiteWerewolfAlivePlayer();\n const players = bulkCreateFakePlayers(4, [whiteWerewolfPlayer]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: whiteWerewolfPlayer })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"White werewolf can't eat this target\");\n });\n\n it(\"should do nothing when white werewolf eaten target is valid.\", async() => {\n const players = [createFakeWerewolfAlivePlayer()];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[0] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should do nothing when big bad wolf eaten target is valid.\", async() => {\n const players = [createFakeVillagerAlivePlayer()];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[0] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should do nothing when werewolves eaten target is valid.\", async() => {\n const players = [createFakeVillagerAlivePlayer()];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[0] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlayHunterTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayHunterTargets\"](makeGamePlayTargetsWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Hunter can't shoot this target\");\n });\n\n it(\"should do nothing when targeted player for hunter is valid.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayHunterTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayScapeGoatTargets\", () => {\n it(\"should throw error when one of the targeted player is dead.\", () => {\n const players = [\n createFakeWitchAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayScapegoatBansVoting(), players });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayScapegoatTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"At least one of the scapegoat targets can't be banned from voting\");\n });\n\n it(\"should do nothing when all scapegoat's targets are valid.\", () => {\n const players = [\n createFakeWitchAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayScapegoatBansVoting(), players });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayScapegoatTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayCupidTargets\", () => {\n it(\"should throw error when one of the targeted player is dead.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayCupidTargets\"](makeGamePlayTargetsWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"At least one of the cupid targets can't be charmed\");\n });\n\n it(\"should do nothing when all cupid's targets are valid.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayCupidTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayFoxTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayFoxTargets\"](makeGamePlayTargetsWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Fox can't sniff this target\");\n });\n\n it(\"should do nothing when targeted player for fox is valid.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayFoxTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlaySeerTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlaySeerTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Seer can't look at this target\");\n });\n\n it(\"should throw error when targeted player is seer herself.\", () => {\n const seerPlayer = createFakeSeerAlivePlayer();\n const players = bulkCreateFakePlayers(4, [seerPlayer]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: seerPlayer })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlaySeerTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Seer can't look at this target\");\n });\n\n it(\"should do nothing when seer's targeted player is valid.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlaySeerTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayRavenTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayRavenTargets\"](makeGamePlayTargetsWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Raven can't mark this target\");\n });\n\n it(\"should do nothing when there are no targets.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayRavenTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n\n it(\"should do nothing when raven's target is valid.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayRavenTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayWildChildTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWildChildChoosesModel() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWildChildTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Wild child can't choose this target as a model\");\n });\n\n it(\"should throw error when targeted player is wild child himself.\", () => {\n const wildChildPlayer = createFakeWildChildAlivePlayer();\n const players = bulkCreateFakePlayers(4, [wildChildPlayer]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWildChildChoosesModel(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: wildChildPlayer })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWildChildTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Wild child can't choose this target as a model\");\n });\n\n it(\"should do nothing when wild child's targeted player is valid.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWildChildChoosesModel() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWildChildTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayPiedPiperTargets\", () => {\n let validateGamePlayTargetsBoundariesMock: jest.SpyInstance;\n\n beforeEach(() => {\n validateGamePlayTargetsBoundariesMock = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayTargetsBoundaries }, \"validateGamePlayTargetsBoundaries\").mockImplementation();\n });\n\n it(\"should throw error when one of the targeted player is not in the last to charm.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayPiedPiperCharms() });\n const leftToCharmPlayers = [\n createFakeWildChildAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[0] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[1] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[2] }),\n ];\n jest.spyOn(GameHelper, \"getLeftToCharmByPiedPiperPlayers\").mockReturnValue(leftToCharmPlayers);\n\n expect(() => services.gamePlayValidator[\"validateGamePlayPiedPiperTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"At least one of the pied piper targets can't be charmed\");\n });\n\n it(\"should do nothing when pied piper targets are valid and limited to game options.\", () => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ piedPiper: createFakePiedPiperGameOptions({ charmedPeopleCountPerNight: 2 }) }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayPiedPiperCharms(), options });\n const leftToCharmPlayers = [\n createFakeWildChildAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[0] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[1] }),\n ];\n jest.spyOn(GameHelper, \"getLeftToCharmByPiedPiperPlayers\").mockReturnValue(leftToCharmPlayers);\n\n expect(() => services.gamePlayValidator[\"validateGamePlayPiedPiperTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n expect(validateGamePlayTargetsBoundariesMock).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 2, max: 2 });\n });\n\n it(\"should do nothing when pied piper targets are valid and limited to left players to charm count.\", () => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ piedPiper: createFakePiedPiperGameOptions({ charmedPeopleCountPerNight: 5 }) }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayPiedPiperCharms(), options });\n const leftToCharmPlayers = [createFakeWildChildAlivePlayer()];\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[0] })];\n jest.spyOn(GameHelper, \"getLeftToCharmByPiedPiperPlayers\").mockReturnValue(leftToCharmPlayers);\n\n expect(() => services.gamePlayValidator[\"validateGamePlayPiedPiperTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n expect(validateGamePlayTargetsBoundariesMock).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 1, max: 1 });\n });\n });\n\n describe(\"validateGamePlayGuardTargets\", () => {\n it(\"should throw error when targeted player is dead.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects() });\n const targetedPlayer = createFakeVillagerAlivePlayer({ isAlive: false });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayGuardTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Guard can't protect this target\");\n });\n\n it(\"should throw error when targeted player is the same as previous guard play and game option doesn't allow this.\", async() => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ guard: { canProtectTwice: false } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects(), options });\n const targetedPlayer = createFakeVillagerAlivePlayer();\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })];\n mocks.gameHistoryRecordService.getLastGameHistoryGuardProtectsRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [{ player: targetedPlayer }] }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlayGuardTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Guard can't protect this target\");\n });\n\n it(\"should do nothing when targeted player is the same as previous guard play and game option allow this.\", async() => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ guard: { canProtectTwice: true } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects(), options });\n const targetedPlayer = createFakeVillagerAlivePlayer();\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })];\n mocks.gameHistoryRecordService.getLastGameHistoryGuardProtectsRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [{ player: targetedPlayer }] }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlayGuardTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should do nothing when targeted player is not the same as previous guard play.\", async() => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ guard: { canProtectTwice: false } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects(), options });\n const targetedPlayer = createFakeVillagerAlivePlayer();\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })];\n mocks.gameHistoryRecordService.getLastGameHistoryGuardProtectsRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [{ player: createFakeSeerAlivePlayer() }] }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlayGuardTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlaySheriffTargets\", () => {\n it(\"should do nothing when game play action is not DELEGATE nor SETTLE_VOTES.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates({ action: GAME_PLAY_ACTIONS.USE_POTIONS }) });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should throw error when targeted player is dead and upcoming action is DELEGATE.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Sheriff can't delegate his role to this target\");\n });\n\n it(\"should do nothing when targeted player for sheriff delegation is valid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() })];\n\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should throw error when targeted player is not in last tie in votes and upcoming action is SETTLE_VOTES.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n const gameHistoryRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({ result: GAME_HISTORY_RECORD_VOTING_RESULTS.TIE, nominatedPlayers: [createFakeSeerAlivePlayer()] });\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ voting: gameHistoryRecordPlayVoting }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Sheriff can't break the tie in votes with this target\");\n });\n\n it(\"should do nothing when targeted player for sheriff settling votes is valid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[0] })];\n const gameHistoryRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({ result: GAME_HISTORY_RECORD_VOTING_RESULTS.TIE, nominatedPlayers: [game.players[0]] });\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ voting: gameHistoryRecordPlayVoting }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlayTargetsBoundaries\", () => {\n it(\"should throw error when min boundary is not respected.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, { min: 4, max: 4 })).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"There are too less targets for this current game's state\");\n });\n\n it(\"should throw error when max boundary is not respected.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, { min: 2, max: 2 })).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"There are too much targets for this current game's state\");\n });\n\n it(\"should do nothing when boundaries are respected, even equal to max.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, { min: 1, max: 3 })).not.toThrow();\n });\n\n it(\"should do nothing when boundaries are respected, even equal to min.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, { min: 3, max: 4 })).not.toThrow();\n });\n });\n\n describe(\"validateGamePlaySourceTargets\", () => {\n let localMocks: {\n gamePlayValidatorService: {\n validateGamePlaySheriffTargets: jest.SpyInstance;\n validateGamePlayGuardTargets: jest.SpyInstance;\n validateGamePlayPiedPiperTargets: jest.SpyInstance;\n validateGamePlayWildChildTargets: jest.SpyInstance;\n validateGamePlayRavenTargets: jest.SpyInstance;\n validateGamePlaySeerTargets: jest.SpyInstance;\n validateGamePlayFoxTargets: jest.SpyInstance;\n validateGamePlayCupidTargets: jest.SpyInstance;\n validateGamePlayScapegoatTargets: jest.SpyInstance;\n validateGamePlayHunterTargets: jest.SpyInstance;\n validateGamePlayWerewolvesTargets: jest.SpyInstance;\n validateGamePlayWitchTargets: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlayValidatorService: {\n validateGamePlaySheriffTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlaySheriffTargets }, \"validateGamePlaySheriffTargets\").mockImplementation(),\n validateGamePlayGuardTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayGuardTargets }, \"validateGamePlayGuardTargets\").mockImplementation(),\n validateGamePlayPiedPiperTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayPiedPiperTargets }, \"validateGamePlayPiedPiperTargets\").mockImplementation(),\n validateGamePlayWildChildTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWildChildTargets }, \"validateGamePlayWildChildTargets\").mockImplementation(),\n validateGamePlayRavenTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayRavenTargets }, \"validateGamePlayRavenTargets\").mockImplementation(),\n validateGamePlaySeerTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlaySeerTargets }, \"validateGamePlaySeerTargets\").mockImplementation(),\n validateGamePlayFoxTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayFoxTargets }, \"validateGamePlayFoxTargets\").mockImplementation(),\n validateGamePlayCupidTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayCupidTargets }, \"validateGamePlayCupidTargets\").mockImplementation(),\n validateGamePlayScapegoatTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayScapegoatTargets }, \"validateGamePlayScapegoatTargets\").mockImplementation(),\n validateGamePlayHunterTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayHunterTargets }, \"validateGamePlayHunterTargets\").mockImplementation(),\n validateGamePlayWerewolvesTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWerewolvesTargets }, \"validateGamePlayWerewolvesTargets\").mockImplementation(),\n validateGamePlayWitchTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWitchTargets }, \"validateGamePlayWitchTargets\").mockImplementation(),\n },\n };\n });\n\n it(\"should do nothing when game source doesn't have a validation method.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlay({ source: ROLE_NAMES.IDIOT }) });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call sheriff validator when game current play is for the sheriff.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call werewolves validator when game current play is for the werewolves.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call werewolves validator when game current play is for the big bad wolf.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call werewolves validator when game current play is for the white werewolf.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call guard validator when game current play is for the guard.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n \n it(\"should call pied piper validator when game current play is for the pied piper.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayPiedPiperCharms() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n \n it(\"should call wild child validator when game current play is for the wild child.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWildChildChoosesModel() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n \n it(\"should call raven validator when game current play is for the raven.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayRavenMarks() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n \n it(\"should call seer validator when game current play is for the seer.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call fox validator when game current play is for the fox.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayFoxSniffs() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call cupid validator when game current play is for the cupid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayCupidCharms() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call scapegoat validator when game current play is for the scapegoat.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayScapegoatBansVoting() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call hunter validator when game current play is for the hunter.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayHunterShoots() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call witch validator when game current play is for the witch.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).toHaveBeenCalledExactlyOnceWith([], game);\n });\n });\n\n describe(\"validateInfectedTargetsAndPotionUsage\", () => {\n it(\"should throw error when expected action is not EAT and some targets are infected.\", () => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat({ action: GAME_PLAY_ACTIONS.CHOOSE_CARD }), players });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n \n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should throw error when expected source is not WEREWOLVES and some targets are infected.\", () => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat({ source: PLAYER_GROUPS.ALL }), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true })];\n \n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when there are infected targets and expected expected play is valid.\", () => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true })];\n\n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n \n it(\"should throw error when expected action is not USE_POTIONS but targets drank potions.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions({ action: GAME_PLAY_ACTIONS.CHOOSE_CARD }) });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n \n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should throw error when expected source is not WITCH but targets drank potions.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions({ source: ROLE_NAMES.THIEF }) });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n \n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when expected some players drank potions and game play is valid.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n\n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayTargetsWithRelationsDto\", () => {\n let validateGamePlayInfectedTargetsSpy: jest.SpyInstance;\n let validateGamePlayWitchTargetsSpy: jest.SpyInstance;\n let validateGamePlaySourceTargetsSpy: jest.SpyInstance;\n\n beforeEach(() => {\n validateGamePlayInfectedTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayInfectedTargets }, \"validateGamePlayInfectedTargets\").mockImplementation();\n validateGamePlayWitchTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWitchTargets }, \"validateGamePlayWitchTargets\").mockImplementation();\n validateGamePlaySourceTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlaySourceTargets }, \"validateGamePlaySourceTargets\").mockImplementation();\n });\n\n it(\"should do nothing when there are no targets defined and upcoming action doesn't require targets anyway.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"](undefined, game)).toResolve();\n expect(validateGamePlayInfectedTargetsSpy).not.toHaveBeenCalled();\n expect(validateGamePlayWitchTargetsSpy).not.toHaveBeenCalled();\n });\n\n it(\"should do nothing when there are no targets (empty array) and upcoming action doesn't require targets anyway.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"]([], game)).toResolve();\n expect(validateGamePlayInfectedTargetsSpy).not.toHaveBeenCalled();\n expect(validateGamePlayWitchTargetsSpy).not.toHaveBeenCalled();\n });\n\n it(\"should throw error when there is no targets but they are required.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"]([], game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets` is required on this current game's state\");\n });\n\n it(\"should throw error when there are targets but they are not expected.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets` can't be set on this current game's state\");\n });\n\n it(\"should call targets validators when targets data is valid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(validateGamePlaySourceTargetsSpy).toHaveBeenCalledOnce();\n });\n });\n\n describe(\"validateGamePlayVotesTieBreakerWithRelationsDto\", () => {\n it(\"should throw error when there is no previous tie in votes record.\", async() => {\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGameWithCurrentPlay({ players });\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto(),\n createFakeMakeGamePlayVoteWithRelationsDto(),\n createFakeMakeGamePlayVoteWithRelationsDto(),\n ];\n\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(null);\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesTieBreakerWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"One vote's target is not in the previous tie in votes\");\n });\n\n it(\"should throw error when one voted player is not in the previous tie.\", async() => {\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGameWithCurrentPlay({ players });\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[2] }),\n ];\n\n const lastTieInVotesRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({ nominatedPlayers: [players[0], players[1]] });\n const lastTieInVotesRecord = createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordPlay({ voting: lastTieInVotesRecordPlayVoting }) });\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(lastTieInVotesRecord);\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesTieBreakerWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"One vote's target is not in the previous tie in votes\");\n });\n\n it(\"should do nothing when all voted players were in previous tie.\", async() => {\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGameWithCurrentPlay({ players });\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[1] }),\n ];\n\n const lastTieInVotesRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({ nominatedPlayers: [players[0], players[1]] });\n const lastTieInVotesRecord = createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordPlay({ voting: lastTieInVotesRecordPlayVoting }) });\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(lastTieInVotesRecord);\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesTieBreakerWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlayVotesWithRelationsDto\", () => {\n let localMocks: {\n gamePlayValidatorService: { validateGamePlayVotesTieBreakerWithRelationsDto: jest.SpyInstance };\n };\n\n beforeEach(() => {\n localMocks = { gamePlayValidatorService: { validateGamePlayVotesTieBreakerWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesTieBreakerWithRelationsDto }, \"validateGamePlayVotesTieBreakerWithRelationsDto\").mockImplementation() } };\n });\n\n it(\"should do nothing when there are no votes defined and upcoming action doesn't require votes anyway.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](undefined, game)).toResolve();\n });\n\n it(\"should do nothing when there are no votes (empty array) and upcoming action doesn't require votes anyway.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"]([], game)).toResolve();\n });\n\n it(\"should throw error when there is no votes but they are required.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"]([], game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`votes` is required on this current game's state\");\n });\n\n it(\"should throw error when there are votes but they are expected.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayVotesWithRelationsDto = [createFakeMakeGamePlayVoteWithRelationsDto()];\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`votes` can't be set on this current game's state\");\n });\n\n it(\"should throw error when there are votes with the same source and target.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[0], target: game.players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[2], target: game.players[1] }),\n ];\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"One vote has the same source and target\");\n });\n\n it(\"should call validateGamePlayVotesTieBreakerWithRelationsDto when current play is because of previous votes were in ties.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES }) });\n const makeGamePlayVotesWithRelationsDto = [createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[0], target: game.players[1] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateGamePlayVotesTieBreakerWithRelationsDto).toHaveBeenCalledExactlyOnceWith(makeGamePlayVotesWithRelationsDto, game);\n });\n\n it(\"should do nothing when votes are valid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayVotesWithRelationsDto = [createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[0], target: game.players[1] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlayWithRelationsDtoChosenSide\", () => {\n it(\"should throw error when chosenSide is not defined and game play action is CHOOSE_SIDE.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenSide\"](makeGamePlayWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`chosenSide` is required on this current game's state\");\n });\n\n it(\"should throw error when chosenSide is defined and game play action is not CHOOSE_SIDE.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ chosenSide: ROLE_SIDES.WEREWOLVES });\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenSide\"](makeGamePlayWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`chosenSide` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when chosenSide is not defined and game play action is not CHOOSE_SIDE.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenSide\"](makeGamePlayWithRelationsDto, game)).not.toThrow();\n });\n\n it(\"should do nothing when chosenSide is defined and game play action is CHOOSE_SIDE.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ chosenSide: ROLE_SIDES.WEREWOLVES });\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenSide\"](makeGamePlayWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayWithRelationsDtoJudgeRequest\", () => {\n it(\"should do nothing when doesJudgeRequestAnotherVote is undefined.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toResolve();\n });\n\n it(\"should throw error when judge request another vote but upcoming action is not vote.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`doesJudgeRequestAnotherVote` can't be set on this current game's state\");\n });\n\n it(\"should throw error when judge request another vote but there is no judge in the game.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote(), players });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`doesJudgeRequestAnotherVote` can't be set on this current game's state\");\n });\n\n it(\"should throw error when judge request another vote but he is dead.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeStutteringJudgeAlivePlayer({ isAlive: false }),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote(), players });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`doesJudgeRequestAnotherVote` can't be set on this current game's state\");\n });\n\n it(\"should throw error when judge request another vote but he has reach the request limit.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeStutteringJudgeAlivePlayer(),\n ]);\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ stutteringJudge: { voteRequestsCount: 2 } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote(), players, options });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n mocks.gameHistoryRecordService.getGameHistoryJudgeRequestRecords.mockResolvedValue([\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ didJudgeRequestAnotherVote: true }) }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ didJudgeRequestAnotherVote: true }) }),\n ]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`doesJudgeRequestAnotherVote` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when judge request another vote and he can.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeStutteringJudgeAlivePlayer(),\n ]);\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ stutteringJudge: { voteRequestsCount: 2 } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote(), players, options });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n mocks.gameHistoryRecordService.getGameHistoryJudgeRequestRecords.mockResolvedValue([createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ didJudgeRequestAnotherVote: true }) })]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toResolve();\n });\n });\n});" + "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport { when } from \"jest-when\";\nimport { GAME_HISTORY_RECORD_VOTING_RESULTS } from \"../../../../../../../../src/modules/game/enums/game-history-record.enum\";\nimport { GAME_PLAY_ACTIONS, GAME_PLAY_CAUSES, WITCH_POTIONS } from \"../../../../../../../../src/modules/game/enums/game-play.enum\";\nimport { PLAYER_GROUPS } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport * as GameHelper from \"../../../../../../../../src/modules/game/helpers/game.helper\";\nimport { GameHistoryRecordRepository } from \"../../../../../../../../src/modules/game/providers/repositories/game-history-record.repository\";\nimport { GameRepository } from \"../../../../../../../../src/modules/game/providers/repositories/game.repository\";\nimport { GameHistoryRecordService } from \"../../../../../../../../src/modules/game/providers/services/game-history/game-history-record.service\";\nimport { GamePlayValidatorService } from \"../../../../../../../../src/modules/game/providers/services/game-play/game-play-validator.service\";\nimport { ROLE_NAMES, ROLE_SIDES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport * as UnexpectedExceptionFactory from \"../../../../../../../../src/shared/exception/helpers/unexpected-exception.factory\";\nimport { BadGamePlayPayloadException } from \"../../../../../../../../src/shared/exception/types/bad-game-play-payload-exception.type\";\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 { createFakeGameAdditionalCard } from \"../../../../../../../factories/game/schemas/game-additional-card/game-additional-card.schema.factory\";\nimport { createFakeGameHistoryRecord, createFakeGameHistoryRecordAllVotePlay, createFakeGameHistoryRecordGuardProtectPlay, createFakeGameHistoryRecordPlay, createFakeGameHistoryRecordPlayVoting, 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 { createFakePiedPiperGameOptions, createFakeRolesGameOptions } from \"../../../../../../../factories/game/schemas/game-options/game-roles-options.schema.factory\";\nimport { createFakeVotesGameOptions } from \"../../../../../../../factories/game/schemas/game-options/votes-game-options.schema.factory\";\nimport { createFakeGamePlay, createFakeGamePlayAllElectSheriff, createFakeGamePlayAllVote, createFakeGamePlayBigBadWolfEats, createFakeGamePlayCupidCharms, createFakeGamePlayDogWolfChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayGuardProtects, createFakeGamePlayHunterShoots, createFakeGamePlayPiedPiperCharms, createFakeGamePlayRavenMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayThiefChoosesCard, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from \"../../../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeCantVoteByAllPlayerAttribute, createFakeEatenByWerewolvesPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakeDogWolfAlivePlayer, createFakeIdiotAlivePlayer, createFakeSeerAlivePlayer, createFakeStutteringJudgeAlivePlayer, createFakeVileFatherOfWolvesAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer, createFakeWhiteWerewolfAlivePlayer, createFakeWildChildAlivePlayer, createFakeWitchAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\n\njest.mock(\"../../../../../../../../src/shared/exception/types/bad-game-play-payload-exception.type\");\n\ndescribe(\"Game Play Validator Service\", () => {\n let mocks: {\n gameRepository: {\n find: jest.SpyInstance;\n findOne: jest.SpyInstance;\n create: jest.SpyInstance;\n updateOne: jest.SpyInstance;\n };\n gameHistoryRecordRepository: {\n find: jest.SpyInstance;\n create: jest.SpyInstance;\n };\n gameHistoryRecordService: {\n getLastGameHistoryGuardProtectsRecord: jest.SpyInstance;\n getLastGameHistoryTieInVotesRecord: jest.SpyInstance;\n getGameHistoryWitchUsesSpecificPotionRecords: jest.SpyInstance;\n getGameHistoryVileFatherOfWolvesInfectedRecords: jest.SpyInstance;\n getGameHistoryJudgeRequestRecords: jest.SpyInstance;\n };\n };\n let services: { gamePlayValidator: GamePlayValidatorService };\n\n beforeEach(async() => {\n mocks = {\n gameRepository: {\n find: jest.fn(),\n findOne: jest.fn(),\n create: jest.fn(),\n updateOne: jest.fn(),\n },\n gameHistoryRecordRepository: {\n find: jest.fn(),\n create: jest.fn(),\n },\n gameHistoryRecordService: {\n getLastGameHistoryGuardProtectsRecord: jest.fn(),\n getLastGameHistoryTieInVotesRecord: jest.fn(),\n getGameHistoryWitchUsesSpecificPotionRecords: jest.fn(),\n getGameHistoryVileFatherOfWolvesInfectedRecords: jest.fn(),\n getGameHistoryJudgeRequestRecords: jest.fn(),\n },\n };\n \n const module: TestingModule = await Test.createTestingModule({\n providers: [\n GamePlayValidatorService,\n {\n provide: GameHistoryRecordService,\n useValue: mocks.gameHistoryRecordService,\n },\n {\n provide: GameRepository,\n useValue: mocks.gameRepository,\n },\n {\n provide: GameHistoryRecordRepository,\n useValue: mocks.gameHistoryRecordRepository,\n },\n ],\n }).compile();\n \n services = { gamePlayValidator: module.get(GamePlayValidatorService) };\n });\n \n describe(\"validateGamePlayWithRelationsDto\", () => {\n let localMocks: {\n gamePlayValidatorService: {\n validateGamePlayWithRelationsDtoJudgeRequest: jest.SpyInstance;\n validateGamePlayWithRelationsDtoChosenSide: jest.SpyInstance;\n validateGamePlayVotesWithRelationsDto: jest.SpyInstance;\n validateGamePlayTargetsWithRelationsDto: jest.SpyInstance;\n validateGamePlayWithRelationsDtoChosenCard: jest.SpyInstance;\n };\n unexpectedExceptionFactory: { createNoCurrentGamePlayUnexpectedException: jest.SpyInstance };\n };\n\n beforeEach(() => {\n localMocks = {\n gamePlayValidatorService: {\n validateGamePlayWithRelationsDtoJudgeRequest: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoJudgeRequest }, \"validateGamePlayWithRelationsDtoJudgeRequest\").mockImplementation(),\n validateGamePlayWithRelationsDtoChosenSide: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoChosenSide }, \"validateGamePlayWithRelationsDtoChosenSide\").mockImplementation(),\n validateGamePlayVotesWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesWithRelationsDto }, \"validateGamePlayVotesWithRelationsDto\").mockImplementation(),\n validateGamePlayTargetsWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayTargetsWithRelationsDto }, \"validateGamePlayTargetsWithRelationsDto\").mockImplementation(),\n validateGamePlayWithRelationsDtoChosenCard: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoChosenCard }, \"validateGamePlayWithRelationsDtoChosenCard\").mockImplementation(),\n },\n unexpectedExceptionFactory: { createNoCurrentGamePlayUnexpectedException: jest.spyOn(UnexpectedExceptionFactory, \"createNoCurrentGamePlayUnexpectedException\").mockImplementation() },\n };\n });\n \n it(\"should throw error when game's current play is not set.\", async() => {\n const game = createFakeGame();\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n const interpolations = { gameId: game._id };\n \n await expect(services.gamePlayValidator.validateGamePlayWithRelationsDto(makeGamePlayWithRelationsDto, game)).toReject();\n expect(localMocks.unexpectedExceptionFactory.createNoCurrentGamePlayUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"validateGamePlayWithRelationsDto\", interpolations);\n });\n\n it(\"should call validators when called.\", async() => {\n const game = createFakeGame({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n await services.gamePlayValidator.validateGamePlayWithRelationsDto(makeGamePlayWithRelationsDto, game);\n \n expect(localMocks.gamePlayValidatorService.validateGamePlayWithRelationsDtoJudgeRequest).toHaveBeenCalledOnce();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWithRelationsDtoChosenSide).toHaveBeenCalledOnce();\n expect(localMocks.gamePlayValidatorService.validateGamePlayVotesWithRelationsDto).toHaveBeenCalledOnce();\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsWithRelationsDto).toHaveBeenCalledOnce();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWithRelationsDtoChosenCard).toHaveBeenCalledOnce();\n });\n });\n\n describe(\"validateGamePlayWithRelationsDtoChosenCard\", () => {\n it(\"should throw error when chosen card is not defined but expected.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayThiefChoosesCard() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n \n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenCard\"](makeGamePlayWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`chosenCard` is required on this current game's state\");\n });\n\n it(\"should do nothing when chosen card is not defined and not expected.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n \n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenCard\"](makeGamePlayWithRelationsDto, game)).not.toThrow();\n });\n\n it(\"should throw error when chosen card is defined but not expected.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ chosenCard: createFakeGameAdditionalCard() });\n \n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenCard\"](makeGamePlayWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`chosenCard` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when chosen card is defined but expected.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayThiefChoosesCard() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ chosenCard: createFakeGameAdditionalCard() });\n \n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenCard\"](makeGamePlayWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateDrankLifePotionTargets\", () => {\n it(\"should throw error when there are too much targets for life potion.\", () => {\n const drankLifePotionTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n ];\n \n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"](drankLifePotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"There are too much targets which drank life potion (`targets.drankPotion`)\");\n });\n\n it(\"should throw error when life potion target is not alive.\", () => {\n const targetedPlayer = createFakePlayer({ isAlive: false, attributes: [createFakeEatenByWerewolvesPlayerAttribute()] });\n const drankLifePotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.LIFE })];\n \n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"](drankLifePotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Life potion can't be applied to this target (`targets.drankPotion`)\");\n });\n\n it(\"should throw error when life potion target is not eaten by werewolves.\", () => {\n const targetedPlayer = createFakePlayer({ isAlive: true, attributes: [] });\n const drankLifePotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.LIFE })];\n \n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"](drankLifePotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Life potion can't be applied to this target (`targets.drankPotion`)\");\n });\n\n it(\"should do nothing when there is no life potion target.\", () => {\n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"]([])).not.toThrow();\n });\n\n it(\"should do nothing when life potion target is applied on valid target.\", () => {\n const targetedPlayer = createFakePlayer({ attributes: [createFakeEatenByWerewolvesPlayerAttribute()], isAlive: true });\n const drankLifePotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.LIFE })];\n \n expect(() => services.gamePlayValidator[\"validateDrankLifePotionTargets\"](drankLifePotionTargets)).not.toThrow();\n });\n });\n\n describe(\"validateDrankDeathPotionTargets\", () => {\n it(\"should throw error when there are too much targets for death potion.\", () => {\n const drankDeathPotionTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n ];\n \n expect(() => services.gamePlayValidator[\"validateDrankDeathPotionTargets\"](drankDeathPotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"There are too much targets which drank death potion (`targets.drankPotion`)\");\n });\n\n it(\"should throw error when death potion target is not alive.\", () => {\n const targetedPlayer = createFakePlayer({ isAlive: false });\n const drankDeathPotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.DEATH })];\n \n expect(() => services.gamePlayValidator[\"validateDrankDeathPotionTargets\"](drankDeathPotionTargets)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Death potion can't be applied to this target (`targets.drankPotion`)\");\n });\n\n it(\"should do nothing when there is no death potion target.\", () => {\n expect(() => services.gamePlayValidator[\"validateDrankDeathPotionTargets\"]([])).not.toThrow();\n });\n\n it(\"should do nothing when death potion target is applied on valid target.\", () => {\n const targetedPlayer = createFakePlayer({ isAlive: true });\n const drankDeathPotionTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer, drankPotion: WITCH_POTIONS.DEATH })];\n \n expect(() => services.gamePlayValidator[\"validateDrankDeathPotionTargets\"](drankDeathPotionTargets)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayWitchTargets\", () => {\n let localMocks: {\n gamePlayValidatorService: {\n validateDrankLifePotionTargets: jest.SpyInstance;\n validateDrankDeathPotionTargets: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlayValidatorService: {\n validateDrankLifePotionTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, \"validateDrankLifePotionTargets\").mockImplementation(),\n validateDrankDeathPotionTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, \"validateDrankDeathPotionTargets\").mockImplementation(),\n },\n };\n });\n \n it(\"should throw error when witch targeted someone with life potion but already used it with death potion before.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n const gameHistoryRecordTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n ];\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue(gameHistoryRecords);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should throw error when witch targeted someone with life potion but already used it alone before.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({}),\n ];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE })];\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue(gameHistoryRecords);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should throw error when witch targeted someone with death potion but already used it with life potion before.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n const gameHistoryRecordTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n ];\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue(gameHistoryRecords);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should throw error when witch targeted someone with death potion but already used it alone before.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[1], drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[2] }),\n ];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH })];\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay() }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue([]);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should call potions validators without players when called with valid data but no target drank potions.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() })];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue([]);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateDrankLifePotionTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateDrankDeathPotionTargets).toHaveBeenCalledExactlyOnceWith([]);\n });\n\n it(\"should call potions validators with players when called without bad data and without witch history.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n ];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue([]);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateDrankLifePotionTargets).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]);\n expect(localMocks.gamePlayValidatorService.validateDrankDeathPotionTargets).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[1]]);\n });\n\n it(\"should call potions validators with players when called for valid life potion data and some witch history.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE })];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH })];\n const gameHistoryRecords = [createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) })];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockReturnValue([]);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateDrankLifePotionTargets).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]);\n expect(localMocks.gamePlayValidatorService.validateDrankDeathPotionTargets).toHaveBeenCalledExactlyOnceWith([]);\n });\n\n it(\"should call potions validators with players when called for valid death potion data and some witch history.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH })];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE })];\n const gameHistoryRecords = [createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWitchUsePotionsPlay({ targets: gameHistoryRecordTargets }) })];\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue(gameHistoryRecords);\n when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWitchTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateDrankLifePotionTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateDrankDeathPotionTargets).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]);\n });\n });\n\n describe(\"validateGamePlayInfectedTargets\", () => {\n it(\"should throw error when vile father of wolves is not in the game.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[0], isInfected: true })];\n const gameHistoryRecords = [];\n mocks.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords.mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should throw error when vile father of wolves is dead.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer({ isAlive: false }),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[0], isInfected: true })];\n const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true })];\n const gameHistoryRecords = [createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: gameHistoryRecordTargets }) })];\n mocks.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords.mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should throw error when vile father of wolves has already infected and some targets are infected.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true })];\n const gameHistoryRecordTargets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true }),\n createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: false }),\n ];\n const gameHistoryRecords = [createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordWerewolvesEatPlay({ targets: gameHistoryRecordTargets }) })];\n mocks.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords.mockResolvedValue(gameHistoryRecords);\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when there is no infected target.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should do nothing when infected target data is valid.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[0], isInfected: true })];\n mocks.gameHistoryRecordService.getGameHistoryVileFatherOfWolvesInfectedRecords.mockResolvedValue([]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayInfectedTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateWerewolvesTargetsBoundaries\", () => {\n let localMocks: {\n gamePlayValidatorService: { validateGamePlayTargetsBoundaries: jest.SpyInstance };\n gameHelper: {\n getLeftToEatByWerewolvesPlayers: jest.SpyInstance;\n getLeftToEatByWhiteWerewolfPlayers: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = {\n gamePlayValidatorService: { validateGamePlayTargetsBoundaries: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayTargetsBoundaries }, \"validateGamePlayTargetsBoundaries\").mockImplementation() },\n gameHelper: {\n getLeftToEatByWerewolvesPlayers: jest.spyOn(GameHelper, \"getLeftToEatByWerewolvesPlayers\").mockReturnValue([]),\n getLeftToEatByWhiteWerewolfPlayers: jest.spyOn(GameHelper, \"getLeftToEatByWhiteWerewolfPlayers\").mockReturnValue([]),\n },\n };\n });\n\n it(\"should do nothing when game play source is not from available methods.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayThiefChoosesCard() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).not.toHaveBeenCalled();\n });\n\n it(\"should validate targets boundaries when game play source are werewolves.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 1, max: 1 });\n });\n\n it(\"should validate targets boundaries when game play source is big bad wolf and targets are available.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n localMocks.gameHelper.getLeftToEatByWerewolvesPlayers.mockReturnValue([createFakeVillagerAlivePlayer(), createFakeVillagerAlivePlayer()]);\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 1, max: 1 });\n });\n\n it(\"should validate targets boundaries when game play source is big bad wolf but targets are not available.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n localMocks.gameHelper.getLeftToEatByWerewolvesPlayers.mockReturnValue([]);\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 0, max: 0 });\n });\n\n it(\"should validate targets boundaries when game play source is white werewolf and targets are available.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n localMocks.gameHelper.getLeftToEatByWhiteWerewolfPlayers.mockReturnValue([createFakeVillagerAlivePlayer(), createFakeVillagerAlivePlayer()]);\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 0, max: 1 });\n });\n\n it(\"should validate targets boundaries when game play source is white werewolf but targets are not available.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n localMocks.gameHelper.getLeftToEatByWhiteWerewolfPlayers.mockReturnValue([]);\n services.gamePlayValidator[\"validateWerewolvesTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsBoundaries).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 0, max: 0 });\n });\n });\n\n describe(\"validateGamePlayWerewolvesTargets\", () => {\n beforeEach(() => {\n jest.spyOn(services.gamePlayValidator as unknown as { validateWerewolvesTargetsBoundaries }, \"validateWerewolvesTargetsBoundaries\").mockImplementation();\n });\n\n it(\"should do nothing when there is no target.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [];\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should throw error when source is WEREWOLVES and targeted player is dead.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Werewolves can't eat this target\");\n });\n\n it(\"should throw error when source is WEREWOLVES and targeted player is from werewolves side.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Werewolves can't eat this target\");\n });\n\n it(\"should throw error when source is BIG_BAD_WOLF and targeted player is dead.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Big bad wolf can't eat this target\");\n });\n\n it(\"should throw error when source is BIG_BAD_WOLF and targeted player is from werewolves side.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Big bad wolf can't eat this target\");\n });\n\n it(\"should throw error when source is BIG_BAD_WOLF and targeted player is already eaten.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ attributes: [createFakeEatenByWerewolvesPlayerAttribute()] }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Big bad wolf can't eat this target\");\n });\n\n it(\"should throw error when source is WHITE_WEREWOLF and targeted player is dead.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer({ isAlive: false }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"White werewolf can't eat this target\");\n });\n\n it(\"should throw error when source is WHITE_WEREWOLF and targeted player is from villagers side.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"White werewolf can't eat this target\");\n });\n\n it(\"should throw error when source is WHITE_WEREWOLF and targeted player is white werewolf himself.\", async() => {\n const whiteWerewolfPlayer = createFakeWhiteWerewolfAlivePlayer();\n const players = bulkCreateFakePlayers(4, [whiteWerewolfPlayer]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: whiteWerewolfPlayer })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"White werewolf can't eat this target\");\n });\n\n it(\"should do nothing when white werewolf eaten target is valid.\", async() => {\n const players = [createFakeWerewolfAlivePlayer()];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[0] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should do nothing when big bad wolf eaten target is valid.\", async() => {\n const players = [createFakeVillagerAlivePlayer()];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[0] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should do nothing when werewolves eaten target is valid.\", async() => {\n const players = [createFakeVillagerAlivePlayer()];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[0] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayWerewolvesTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlayHunterTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayHunterTargets\"](makeGamePlayTargetsWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Hunter can't shoot this target\");\n });\n\n it(\"should do nothing when targeted player for hunter is valid.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayHunterTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayScapeGoatTargets\", () => {\n it(\"should throw error when one of the targeted player is dead.\", () => {\n const players = [\n createFakeWitchAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayScapegoatBansVoting(), players });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayScapegoatTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"At least one of the scapegoat targets can't be banned from voting\");\n });\n\n it(\"should do nothing when all scapegoat's targets are valid.\", () => {\n const players = [\n createFakeWitchAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayScapegoatBansVoting(), players });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayScapegoatTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayCupidTargets\", () => {\n it(\"should throw error when one of the targeted player is dead.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayCupidTargets\"](makeGamePlayTargetsWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"At least one of the cupid targets can't be charmed\");\n });\n\n it(\"should do nothing when all cupid's targets are valid.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayCupidTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayFoxTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayFoxTargets\"](makeGamePlayTargetsWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Fox can't sniff this target\");\n });\n\n it(\"should do nothing when targeted player for fox is valid.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayFoxTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlaySeerTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlaySeerTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Seer can't look at this target\");\n });\n\n it(\"should throw error when targeted player is seer herself.\", () => {\n const seerPlayer = createFakeSeerAlivePlayer();\n const players = bulkCreateFakePlayers(4, [seerPlayer]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: seerPlayer })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlaySeerTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Seer can't look at this target\");\n });\n\n it(\"should do nothing when seer's targeted player is valid.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlaySeerTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayRavenTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayRavenTargets\"](makeGamePlayTargetsWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Raven can't mark this target\");\n });\n\n it(\"should do nothing when there are no targets.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayRavenTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n\n it(\"should do nothing when raven's target is valid.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayRavenTargets\"](makeGamePlayTargetsWithRelationsDto)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayWildChildTargets\", () => {\n it(\"should throw error when targeted player is dead.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWildChildChoosesModel() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWildChildTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Wild child can't choose this target as a model\");\n });\n\n it(\"should throw error when targeted player is wild child himself.\", () => {\n const wildChildPlayer = createFakeWildChildAlivePlayer();\n const players = bulkCreateFakePlayers(4, [wildChildPlayer]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWildChildChoosesModel(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: wildChildPlayer })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWildChildTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Wild child can't choose this target as a model\");\n });\n\n it(\"should do nothing when wild child's targeted player is valid.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWildChildChoosesModel() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() })];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWildChildTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayPiedPiperTargets\", () => {\n let validateGamePlayTargetsBoundariesMock: jest.SpyInstance;\n\n beforeEach(() => {\n validateGamePlayTargetsBoundariesMock = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayTargetsBoundaries }, \"validateGamePlayTargetsBoundaries\").mockImplementation();\n });\n\n it(\"should throw error when one of the targeted player is not in the last to charm.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayPiedPiperCharms() });\n const leftToCharmPlayers = [\n createFakeWildChildAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[0] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[1] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[2] }),\n ];\n jest.spyOn(GameHelper, \"getLeftToCharmByPiedPiperPlayers\").mockReturnValue(leftToCharmPlayers);\n\n expect(() => services.gamePlayValidator[\"validateGamePlayPiedPiperTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"At least one of the pied piper targets can't be charmed\");\n });\n\n it(\"should do nothing when pied piper targets are valid and limited to game options.\", () => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ piedPiper: createFakePiedPiperGameOptions({ charmedPeopleCountPerNight: 2 }) }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayPiedPiperCharms(), options });\n const leftToCharmPlayers = [\n createFakeWildChildAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[0] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[1] }),\n ];\n jest.spyOn(GameHelper, \"getLeftToCharmByPiedPiperPlayers\").mockReturnValue(leftToCharmPlayers);\n\n expect(() => services.gamePlayValidator[\"validateGamePlayPiedPiperTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n expect(validateGamePlayTargetsBoundariesMock).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 2, max: 2 });\n });\n\n it(\"should do nothing when pied piper targets are valid and limited to left players to charm count.\", () => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ piedPiper: createFakePiedPiperGameOptions({ charmedPeopleCountPerNight: 5 }) }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayPiedPiperCharms(), options });\n const leftToCharmPlayers = [createFakeWildChildAlivePlayer()];\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: leftToCharmPlayers[0] })];\n jest.spyOn(GameHelper, \"getLeftToCharmByPiedPiperPlayers\").mockReturnValue(leftToCharmPlayers);\n\n expect(() => services.gamePlayValidator[\"validateGamePlayPiedPiperTargets\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n expect(validateGamePlayTargetsBoundariesMock).toHaveBeenCalledExactlyOnceWith(makeGamePlayTargetsWithRelationsDto, { min: 1, max: 1 });\n });\n });\n\n describe(\"validateGamePlayGuardTargets\", () => {\n it(\"should throw error when targeted player is dead.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects() });\n const targetedPlayer = createFakeVillagerAlivePlayer({ isAlive: false });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayGuardTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Guard can't protect this target\");\n });\n\n it(\"should throw error when targeted player is the same as previous guard play and game option doesn't allow this.\", async() => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ guard: { canProtectTwice: false } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects(), options });\n const targetedPlayer = createFakeVillagerAlivePlayer();\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })];\n mocks.gameHistoryRecordService.getLastGameHistoryGuardProtectsRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [{ player: targetedPlayer }] }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlayGuardTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Guard can't protect this target\");\n });\n\n it(\"should do nothing when targeted player is the same as previous guard play and game option allow this.\", async() => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ guard: { canProtectTwice: true } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects(), options });\n const targetedPlayer = createFakeVillagerAlivePlayer();\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })];\n mocks.gameHistoryRecordService.getLastGameHistoryGuardProtectsRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [{ player: targetedPlayer }] }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlayGuardTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should do nothing when targeted player is not the same as previous guard play.\", async() => {\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ guard: { canProtectTwice: false } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects(), options });\n const targetedPlayer = createFakeVillagerAlivePlayer();\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })];\n mocks.gameHistoryRecordService.getLastGameHistoryGuardProtectsRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordGuardProtectPlay({ targets: [{ player: createFakeSeerAlivePlayer() }] }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlayGuardTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlaySheriffTargets\", () => {\n it(\"should do nothing when game play action is not DELEGATE nor SETTLE_VOTES.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates({ action: GAME_PLAY_ACTIONS.USE_POTIONS }) });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should throw error when targeted player is dead and upcoming action is DELEGATE.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Sheriff can't delegate his role to this target\");\n });\n\n it(\"should do nothing when targeted player for sheriff delegation is valid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() })];\n\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n\n it(\"should throw error when targeted player is not in last tie in votes and upcoming action is SETTLE_VOTES.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer({ isAlive: false }) })];\n const gameHistoryRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({ result: GAME_HISTORY_RECORD_VOTING_RESULTS.TIE, nominatedPlayers: [createFakeSeerAlivePlayer()] });\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ voting: gameHistoryRecordPlayVoting }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"Sheriff can't break the tie in votes with this target\");\n });\n\n it(\"should do nothing when targeted player for sheriff settling votes is valid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: game.players[0] })];\n const gameHistoryRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({ result: GAME_HISTORY_RECORD_VOTING_RESULTS.TIE, nominatedPlayers: [game.players[0]] });\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ voting: gameHistoryRecordPlayVoting }) }));\n\n await expect(services.gamePlayValidator[\"validateGamePlaySheriffTargets\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlayTargetsBoundaries\", () => {\n it(\"should throw error when min boundary is not respected.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, { min: 4, max: 4 })).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"There are too less targets for this current game's state\");\n });\n\n it(\"should throw error when max boundary is not respected.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, { min: 2, max: 2 })).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"There are too much targets for this current game's state\");\n });\n\n it(\"should do nothing when boundaries are respected, even equal to max.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, { min: 1, max: 3 })).not.toThrow();\n });\n\n it(\"should do nothing when boundaries are respected, even equal to min.\", () => {\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeVillagerAlivePlayer() }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeWerewolfAlivePlayer() }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayTargetsBoundaries\"](makeGamePlayTargetsWithRelationsDto, { min: 3, max: 4 })).not.toThrow();\n });\n });\n\n describe(\"validateGamePlaySourceTargets\", () => {\n let localMocks: {\n gamePlayValidatorService: {\n validateGamePlaySheriffTargets: jest.SpyInstance;\n validateGamePlayGuardTargets: jest.SpyInstance;\n validateGamePlayPiedPiperTargets: jest.SpyInstance;\n validateGamePlayWildChildTargets: jest.SpyInstance;\n validateGamePlayRavenTargets: jest.SpyInstance;\n validateGamePlaySeerTargets: jest.SpyInstance;\n validateGamePlayFoxTargets: jest.SpyInstance;\n validateGamePlayCupidTargets: jest.SpyInstance;\n validateGamePlayScapegoatTargets: jest.SpyInstance;\n validateGamePlayHunterTargets: jest.SpyInstance;\n validateGamePlayWerewolvesTargets: jest.SpyInstance;\n validateGamePlayWitchTargets: jest.SpyInstance;\n };\n };\n \n beforeEach(() => {\n localMocks = {\n gamePlayValidatorService: {\n validateGamePlaySheriffTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlaySheriffTargets }, \"validateGamePlaySheriffTargets\").mockImplementation(),\n validateGamePlayGuardTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayGuardTargets }, \"validateGamePlayGuardTargets\").mockImplementation(),\n validateGamePlayPiedPiperTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayPiedPiperTargets }, \"validateGamePlayPiedPiperTargets\").mockImplementation(),\n validateGamePlayWildChildTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWildChildTargets }, \"validateGamePlayWildChildTargets\").mockImplementation(),\n validateGamePlayRavenTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayRavenTargets }, \"validateGamePlayRavenTargets\").mockImplementation(),\n validateGamePlaySeerTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlaySeerTargets }, \"validateGamePlaySeerTargets\").mockImplementation(),\n validateGamePlayFoxTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayFoxTargets }, \"validateGamePlayFoxTargets\").mockImplementation(),\n validateGamePlayCupidTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayCupidTargets }, \"validateGamePlayCupidTargets\").mockImplementation(),\n validateGamePlayScapegoatTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayScapegoatTargets }, \"validateGamePlayScapegoatTargets\").mockImplementation(),\n validateGamePlayHunterTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayHunterTargets }, \"validateGamePlayHunterTargets\").mockImplementation(),\n validateGamePlayWerewolvesTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWerewolvesTargets }, \"validateGamePlayWerewolvesTargets\").mockImplementation(),\n validateGamePlayWitchTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWitchTargets }, \"validateGamePlayWitchTargets\").mockImplementation(),\n },\n };\n });\n\n it(\"should do nothing when game source doesn't have a validation method.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlay({ source: ROLE_NAMES.IDIOT }) });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call sheriff validator when game current play is for the sheriff.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call werewolves validator when game current play is for the werewolves.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call werewolves validator when game current play is for the big bad wolf.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call werewolves validator when game current play is for the white werewolf.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call guard validator when game current play is for the guard.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayGuardProtects() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n \n it(\"should call pied piper validator when game current play is for the pied piper.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayPiedPiperCharms() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n \n it(\"should call wild child validator when game current play is for the wild child.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWildChildChoosesModel() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n \n it(\"should call raven validator when game current play is for the raven.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayRavenMarks() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n \n it(\"should call seer validator when game current play is for the seer.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call fox validator when game current play is for the fox.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayFoxSniffs() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call cupid validator when game current play is for the cupid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayCupidCharms() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call scapegoat validator when game current play is for the scapegoat.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayScapegoatBansVoting() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).toHaveBeenCalledExactlyOnceWith([], game);\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call hunter validator when game current play is for the hunter.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayHunterShoots() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).toHaveBeenCalledExactlyOnceWith([]);\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).not.toHaveBeenCalled();\n });\n\n it(\"should call witch validator when game current play is for the witch.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n await services.gamePlayValidator[\"validateGamePlaySourceTargets\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateGamePlaySheriffTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWerewolvesTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayGuardTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayPiedPiperTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWildChildTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayRavenTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySeerTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayFoxTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayCupidTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayScapegoatTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayHunterTargets).not.toHaveBeenCalled();\n expect(localMocks.gamePlayValidatorService.validateGamePlayWitchTargets).toHaveBeenCalledExactlyOnceWith([], game);\n });\n });\n\n describe(\"validateInfectedTargetsAndPotionUsage\", () => {\n it(\"should throw error when expected action is not EAT and some targets are infected.\", () => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat({ action: GAME_PLAY_ACTIONS.CHOOSE_CARD }), players });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n \n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should throw error when expected source is not WEREWOLVES and some targets are infected.\", () => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat({ source: PLAYER_GROUPS.ALL }), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true })];\n \n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.isInfected` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when there are infected targets and expected expected play is valid.\", () => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVileFatherOfWolvesAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat(), players });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ isInfected: true })];\n\n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n \n it(\"should throw error when expected action is not USE_POTIONS but targets drank potions.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions({ action: GAME_PLAY_ACTIONS.CHOOSE_CARD }) });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n \n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should throw error when expected source is not WITCH but targets drank potions.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions({ source: ROLE_NAMES.THIEF }) });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n \n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets.drankPotion` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when expected some players drank potions and game play is valid.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayTargetsWithRelationsDto = [\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH }),\n createFakeMakeGamePlayTargetWithRelationsDto(),\n ];\n\n expect(() => services.gamePlayValidator[\"validateInfectedTargetsAndPotionUsage\"](makeGamePlayTargetsWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayTargetsWithRelationsDto\", () => {\n let localMocks: {\n gamePlayValidatorService: {\n validateInfectedTargetsAndPotionUsage: jest.SpyInstance;\n validateGamePlaySourceTargets: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = {\n gamePlayValidatorService: {\n validateInfectedTargetsAndPotionUsage: jest.spyOn(services.gamePlayValidator as unknown as { validateInfectedTargetsAndPotionUsage }, \"validateInfectedTargetsAndPotionUsage\").mockImplementation(),\n validateGamePlaySourceTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlaySourceTargets }, \"validateGamePlaySourceTargets\").mockImplementation(),\n },\n };\n });\n\n it(\"should do nothing when there are no targets defined and upcoming action doesn't require targets anyway.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"](undefined, game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateInfectedTargetsAndPotionUsage).not.toHaveBeenCalled();\n });\n\n it(\"should do nothing when there are no targets (empty array) and upcoming action doesn't require targets anyway.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"]([], game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateInfectedTargetsAndPotionUsage).not.toHaveBeenCalled();\n });\n\n it(\"should throw error when there is no targets but they are required.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySeerLooks() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"]([], game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets` is required on this current game's state\");\n });\n\n it(\"should throw error when there are targets but they are not expected.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"](makeGamePlayTargetsWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`targets` can't be set on this current game's state\");\n });\n\n it(\"should call targets validators when targets data is valid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()];\n\n await expect(services.gamePlayValidator[\"validateGamePlayTargetsWithRelationsDto\"](makeGamePlayTargetsWithRelationsDto, game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateGamePlaySourceTargets).toHaveBeenCalledOnce();\n expect(localMocks.gamePlayValidatorService.validateInfectedTargetsAndPotionUsage).toHaveBeenCalledOnce();\n });\n });\n\n describe(\"validateGamePlayVotesTieBreakerWithRelationsDto\", () => {\n it(\"should throw error when there is no previous tie in votes record.\", async() => {\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGameWithCurrentPlay({ players });\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto(),\n createFakeMakeGamePlayVoteWithRelationsDto(),\n createFakeMakeGamePlayVoteWithRelationsDto(),\n ];\n\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(null);\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesTieBreakerWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"One vote's target is not in the previous tie in votes\");\n });\n\n it(\"should throw error when one voted player is not in the previous tie.\", async() => {\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGameWithCurrentPlay({ players });\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[2] }),\n ];\n\n const lastTieInVotesRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({ nominatedPlayers: [players[0], players[1]] });\n const lastTieInVotesRecord = createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordPlay({ voting: lastTieInVotesRecordPlayVoting }) });\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(lastTieInVotesRecord);\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesTieBreakerWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"One vote's target is not in the previous tie in votes\");\n });\n\n it(\"should do nothing when all voted players were in previous tie.\", async() => {\n const players = bulkCreateFakePlayers(4);\n const game = createFakeGameWithCurrentPlay({ players });\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ target: players[1] }),\n ];\n\n const lastTieInVotesRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({ nominatedPlayers: [players[0], players[1]] });\n const lastTieInVotesRecord = createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordPlay({ voting: lastTieInVotesRecordPlayVoting }) });\n mocks.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord.mockResolvedValue(lastTieInVotesRecord);\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesTieBreakerWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlayVotesWithRelationsDtoSourceAndTarget\", () => {\n it(\"should throw error when one vote source is not alive.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ isAlive: false }),\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[1] }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDtoSourceAndTarget\"](makeGamePlayVotesWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"One source is not able to vote because he's dead or doesn't have the ability to do so\");\n });\n\n it(\"should throw error when one vote source doesn't have the ability to vote.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeCantVoteByAllPlayerAttribute()] }),\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[1] }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDtoSourceAndTarget\"](makeGamePlayVotesWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"One source is not able to vote because he's dead or doesn't have the ability to do so\");\n });\n\n it(\"should throw error when one vote target is dead.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer({ isAlive: false }),\n createFakeIdiotAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[1] }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDtoSourceAndTarget\"](makeGamePlayVotesWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"One target can't be voted because he's dead\");\n });\n\n it(\"should throw error when there are votes with the same source and target.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const makeGamePlayVotesWithRelationsDto = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[0] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[1] }),\n ];\n\n expect(() => services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDtoSourceAndTarget\"](makeGamePlayVotesWithRelationsDto)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"One vote has the same source and target\");\n });\n });\n\n describe(\"validateUnsetGamePlayVotesWithRelationsDto\", () => {\n it(\"should do nothing when there is no vote but nobody can votes.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ isAlive: false }),\n createFakeWerewolfAlivePlayer({ attributes: [createFakeCantVoteByAllPlayerAttribute()] }),\n createFakeIdiotAlivePlayer({ isAlive: false }),\n createFakeVillagerAlivePlayer({ attributes: [createFakeCantVoteByAllPlayerAttribute()] }),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) });\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote(), options });\n\n expect(() => services.gamePlayValidator[\"validateUnsetGamePlayVotesWithRelationsDto\"](game)).not.toThrow();\n });\n\n it(\"should do nothing when there is no vote but votes can be skipped.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer({ isAlive: false }),\n createFakeVillagerAlivePlayer({ attributes: [createFakeCantVoteByAllPlayerAttribute()] }),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: true }) });\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote(), options });\n\n expect(() => services.gamePlayValidator[\"validateUnsetGamePlayVotesWithRelationsDto\"](game)).not.toThrow();\n });\n\n it(\"should throw error when there is no vote but they are required.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) });\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote(), options });\n\n expect(() => services.gamePlayValidator[\"validateUnsetGamePlayVotesWithRelationsDto\"](game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`votes` is required on this current game's state\");\n });\n\n it(\"should throw error when there is no vote but it's sheriff election time.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: true }) });\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllElectSheriff(), options });\n\n expect(() => services.gamePlayValidator[\"validateUnsetGamePlayVotesWithRelationsDto\"](game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`votes` is required on this current game's state\");\n });\n\n it(\"should throw error when there is no vote but votes are because of angel presence.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeIdiotAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: true }) });\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.ANGEL_PRESENCE }), options });\n\n expect(() => services.gamePlayValidator[\"validateUnsetGamePlayVotesWithRelationsDto\"](game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith(\"`votes` is required on this current game's state\");\n });\n });\n\n describe(\"validateGamePlayVotesWithRelationsDto\", () => {\n let localMocks: {\n gamePlayValidatorService: {\n validateGamePlayVotesTieBreakerWithRelationsDto: jest.SpyInstance;\n validateUnsetGamePlayVotesWithRelationsDto: jest.SpyInstance;\n validateGamePlayVotesWithRelationsDtoSourceAndTarget: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = {\n gamePlayValidatorService: {\n validateGamePlayVotesTieBreakerWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesTieBreakerWithRelationsDto }, \"validateGamePlayVotesTieBreakerWithRelationsDto\").mockImplementation(),\n validateUnsetGamePlayVotesWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateUnsetGamePlayVotesWithRelationsDto }, \"validateUnsetGamePlayVotesWithRelationsDto\").mockImplementation(),\n validateGamePlayVotesWithRelationsDtoSourceAndTarget: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesWithRelationsDtoSourceAndTarget }, \"validateGamePlayVotesWithRelationsDtoSourceAndTarget\").mockImplementation(),\n },\n };\n });\n\n it(\"should resolve when there are no votes defined.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](undefined, game)).toResolve();\n });\n\n it(\"should call validateGamePlayVotesWithRelationsDto method when there are no votes defined.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n await services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](undefined, game);\n\n expect(localMocks.gamePlayValidatorService.validateUnsetGamePlayVotesWithRelationsDto).toHaveBeenCalledExactlyOnceWith(game);\n });\n\n it(\"should call validateGamePlayVotesWithRelationsDto method when there are no votes (empty array).\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() });\n await services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"]([], game);\n\n expect(localMocks.gamePlayValidatorService.validateUnsetGamePlayVotesWithRelationsDto).toHaveBeenCalledExactlyOnceWith(game);\n });\n\n it(\"should throw error when there are votes but they are not expected.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayWerewolvesEat() });\n const makeGamePlayVotesWithRelationsDto = [createFakeMakeGamePlayVoteWithRelationsDto()];\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`votes` can't be set on this current game's state\");\n });\n\n it(\"should call validateGamePlayVotesTieBreakerWithRelationsDto when current play is because of previous votes were in ties.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES }) });\n const makeGamePlayVotesWithRelationsDto = [createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[0], target: game.players[1] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toResolve();\n expect(localMocks.gamePlayValidatorService.validateGamePlayVotesTieBreakerWithRelationsDto).toHaveBeenCalledExactlyOnceWith(makeGamePlayVotesWithRelationsDto, game);\n });\n\n it(\"should do nothing when votes are valid.\", async() => {\n const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayVotesWithRelationsDto = [createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[0], target: game.players[1] })];\n\n await expect(services.gamePlayValidator[\"validateGamePlayVotesWithRelationsDto\"](makeGamePlayVotesWithRelationsDto, game)).toResolve();\n });\n });\n\n describe(\"validateGamePlayWithRelationsDtoChosenSide\", () => {\n it(\"should throw error when chosenSide is not defined and game play action is CHOOSE_SIDE.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenSide\"](makeGamePlayWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`chosenSide` is required on this current game's state\");\n });\n\n it(\"should throw error when chosenSide is defined and game play action is not CHOOSE_SIDE.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ chosenSide: ROLE_SIDES.WEREWOLVES });\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenSide\"](makeGamePlayWithRelationsDto, game)).toThrow(BadGamePlayPayloadException);\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`chosenSide` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when chosenSide is not defined and game play action is not CHOOSE_SIDE.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenSide\"](makeGamePlayWithRelationsDto, game)).not.toThrow();\n });\n\n it(\"should do nothing when chosenSide is defined and game play action is CHOOSE_SIDE.\", () => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayDogWolfChoosesSide() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ chosenSide: ROLE_SIDES.WEREWOLVES });\n\n expect(() => services.gamePlayValidator[\"validateGamePlayWithRelationsDtoChosenSide\"](makeGamePlayWithRelationsDto, game)).not.toThrow();\n });\n });\n\n describe(\"validateGamePlayWithRelationsDtoJudgeRequest\", () => {\n it(\"should do nothing when doesJudgeRequestAnotherVote is undefined.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto();\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toResolve();\n });\n\n it(\"should throw error when judge request another vote but upcoming action is not vote.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`doesJudgeRequestAnotherVote` can't be set on this current game's state\");\n });\n\n it(\"should throw error when judge request another vote but there is no judge in the game.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote(), players });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`doesJudgeRequestAnotherVote` can't be set on this current game's state\");\n });\n\n it(\"should throw error when judge request another vote but he is dead.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeStutteringJudgeAlivePlayer({ isAlive: false }),\n ]);\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote(), players });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`doesJudgeRequestAnotherVote` can't be set on this current game's state\");\n });\n\n it(\"should throw error when judge request another vote but he has reach the request limit.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeStutteringJudgeAlivePlayer(),\n ]);\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ stutteringJudge: { voteRequestsCount: 2 } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote(), players, options });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n mocks.gameHistoryRecordService.getGameHistoryJudgeRequestRecords.mockResolvedValue([\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ didJudgeRequestAnotherVote: true }) }),\n createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ didJudgeRequestAnotherVote: true }) }),\n ]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toReject();\n expect(BadGamePlayPayloadException).toHaveBeenCalledWith(\"`doesJudgeRequestAnotherVote` can't be set on this current game's state\");\n });\n\n it(\"should do nothing when judge request another vote and he can.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWitchAlivePlayer(),\n createFakeDogWolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeStutteringJudgeAlivePlayer(),\n ]);\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ stutteringJudge: { voteRequestsCount: 2 } }) });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote(), players, options });\n const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true });\n mocks.gameHistoryRecordService.getGameHistoryJudgeRequestRecords.mockResolvedValue([createFakeGameHistoryRecord({ play: createFakeGameHistoryRecordAllVotePlay({ didJudgeRequestAnotherVote: true }) })]);\n\n await expect(services.gamePlayValidator[\"validateGamePlayWithRelationsDtoJudgeRequest\"](makeGamePlayWithRelationsDto, game)).toResolve();\n });\n });\n});" }, "tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts": { "tests": [ { - "id": "125", + "id": "133", "name": "Game Play Maker Service gameSourcePlayMethods should contain play methods from game play sources when accessed.", "location": { "start": { @@ -85961,7 +87548,7 @@ } }, { - "id": "126", + "id": "134", "name": "Game Play Maker Service makeGamePlay should throw error when game's current play is not set.", "location": { "start": { @@ -85971,7 +87558,7 @@ } }, { - "id": "127", + "id": "135", "name": "Game Play Maker Service makeGamePlay should call no play method when source is not in available methods.", "location": { "start": { @@ -85981,7 +87568,7 @@ } }, { - "id": "128", + "id": "136", "name": "Game Play Maker Service makeGamePlay should return game as is when source is not in available methods.", "location": { "start": { @@ -85991,7 +87578,7 @@ } }, { - "id": "129", + "id": "137", "name": "Game Play Maker Service makeGamePlay should call werewolvesEat method when it's werewolves turn.", "location": { "start": { @@ -86001,7 +87588,7 @@ } }, { - "id": "130", + "id": "138", "name": "Game Play Maker Service makeGamePlay should call bigBadWolfEats method when it's big bad wolf's turn.", "location": { "start": { @@ -86011,7 +87598,7 @@ } }, { - "id": "131", + "id": "139", "name": "Game Play Maker Service makeGamePlay should call whiteWerewolfEats method when it's white werewolf's turn.", "location": { "start": { @@ -86021,7 +87608,7 @@ } }, { - "id": "132", + "id": "140", "name": "Game Play Maker Service makeGamePlay should call seerLooks method when it's seer's turn.", "location": { "start": { @@ -86031,7 +87618,7 @@ } }, { - "id": "133", + "id": "141", "name": "Game Play Maker Service makeGamePlay should call cupidCharms method when it's cupid's turn.", "location": { "start": { @@ -86041,7 +87628,7 @@ } }, { - "id": "134", + "id": "142", "name": "Game Play Maker Service makeGamePlay should call piedPiperCharms method when it's pied piper's turn.", "location": { "start": { @@ -86051,7 +87638,7 @@ } }, { - "id": "135", + "id": "143", "name": "Game Play Maker Service makeGamePlay should call witchUsesPotions method when it's witch's turn.", "location": { "start": { @@ -86061,7 +87648,7 @@ } }, { - "id": "136", + "id": "144", "name": "Game Play Maker Service makeGamePlay should call hunterShoots method when it's hunter's turn.", "location": { "start": { @@ -86071,7 +87658,7 @@ } }, { - "id": "137", + "id": "145", "name": "Game Play Maker Service makeGamePlay should call guardProtects method when it's guard's turn.", "location": { "start": { @@ -86081,7 +87668,7 @@ } }, { - "id": "138", + "id": "146", "name": "Game Play Maker Service makeGamePlay should call foxSniffs method when it's fox's turn.", "location": { "start": { @@ -86091,7 +87678,7 @@ } }, { - "id": "139", + "id": "147", "name": "Game Play Maker Service makeGamePlay should call wildChildChoosesModel method when it's wild child's turn.", "location": { "start": { @@ -86101,7 +87688,7 @@ } }, { - "id": "140", + "id": "148", "name": "Game Play Maker Service makeGamePlay should call dogWolfChoosesSide method when it's dog wolf's turn.", "location": { "start": { @@ -86111,7 +87698,7 @@ } }, { - "id": "141", + "id": "149", "name": "Game Play Maker Service makeGamePlay should call scapegoatBansVoting method when it's scapegoat's turn.", "location": { "start": { @@ -86121,7 +87708,7 @@ } }, { - "id": "142", + "id": "150", "name": "Game Play Maker Service makeGamePlay should call thiefChoosesCard method when it's thief's turn.", "location": { "start": { @@ -86131,7 +87718,7 @@ } }, { - "id": "143", + "id": "151", "name": "Game Play Maker Service makeGamePlay should call allPlay method when it's all's turn.", "location": { "start": { @@ -86141,7 +87728,7 @@ } }, { - "id": "144", + "id": "152", "name": "Game Play Maker Service makeGamePlay should call ravenMarks method when it's raven's turn.", "location": { "start": { @@ -86151,7 +87738,7 @@ } }, { - "id": "145", + "id": "153", "name": "Game Play Maker Service makeGamePlay should call sheriffPlays method when it's sheriff's turn.", "location": { "start": { @@ -86161,7 +87748,7 @@ } }, { - "id": "146", + "id": "154", "name": "Game Play Maker Service sheriffSettlesVotes should return game as is when target count is not the one expected.", "location": { "start": { @@ -86171,7 +87758,7 @@ } }, { - "id": "147", + "id": "155", "name": "Game Play Maker Service sheriffSettlesVotes should call killOrRevealPlayer method when sheriff delegates to a target.", "location": { "start": { @@ -86181,7 +87768,7 @@ } }, { - "id": "148", + "id": "156", "name": "Game Play Maker Service sheriffDelegates should return game as is when target count is not the one expected.", "location": { "start": { @@ -86191,7 +87778,7 @@ } }, { - "id": "149", + "id": "157", "name": "Game Play Maker Service sheriffDelegates should remove previous sheriff attribute and add it to the target when called.", "location": { "start": { @@ -86201,7 +87788,7 @@ } }, { - "id": "150", + "id": "158", "name": "Game Play Maker Service sheriffPlays should return game as is when upcoming play is not for sheriff.", "location": { "start": { @@ -86211,7 +87798,7 @@ } }, { - "id": "151", + "id": "159", "name": "Game Play Maker Service sheriffPlays should call sheriffDelegates method when upcoming play is sheriff role delegation.", "location": { "start": { @@ -86221,7 +87808,7 @@ } }, { - "id": "152", + "id": "160", "name": "Game Play Maker Service sheriffPlays should call sheriffSettlesVotes method when upcoming play is sheriff settling vote.", "location": { "start": { @@ -86231,7 +87818,7 @@ } }, { - "id": "153", + "id": "161", "name": "Game Play Maker Service handleTieInVotes should not kill scapegoat when he's not the game.", "location": { "start": { @@ -86241,7 +87828,7 @@ } }, { - "id": "154", + "id": "162", "name": "Game Play Maker Service handleTieInVotes should not kill scapegoat when he's dead.", "location": { "start": { @@ -86251,7 +87838,7 @@ } }, { - "id": "155", + "id": "163", "name": "Game Play Maker Service handleTieInVotes should not kill scapegoat when he's powerless.", "location": { "start": { @@ -86261,7 +87848,7 @@ } }, { - "id": "156", + "id": "164", "name": "Game Play Maker Service handleTieInVotes should kill scapegoat when he's in the game and alive.", "location": { "start": { @@ -86271,7 +87858,7 @@ } }, { - "id": "157", + "id": "165", "name": "Game Play Maker Service handleTieInVotes should not prepend sheriff delegation game play when sheriff is not in the game.", "location": { "start": { @@ -86281,7 +87868,7 @@ } }, { - "id": "158", + "id": "166", "name": "Game Play Maker Service handleTieInVotes should not prepend sheriff delegation game play when sheriff is dead.", "location": { "start": { @@ -86291,7 +87878,7 @@ } }, { - "id": "159", + "id": "167", "name": "Game Play Maker Service handleTieInVotes should prepend sheriff delegation game play when sheriff is in the game.", "location": { "start": { @@ -86301,7 +87888,7 @@ } }, { - "id": "160", + "id": "168", "name": "Game Play Maker Service handleTieInVotes should prepend vote game play when previous play is not a tie.", "location": { "start": { @@ -86311,7 +87898,7 @@ } }, { - "id": "161", + "id": "169", "name": "Game Play Maker Service handleTieInVotes should prepend vote game play when there is no game history records.", "location": { "start": { @@ -86321,7 +87908,7 @@ } }, { - "id": "162", + "id": "170", "name": "Game Play Maker Service handleTieInVotes should not prepend vote game play when current play is due to a tie.", "location": { "start": { @@ -86331,7 +87918,7 @@ } }, { - "id": "163", + "id": "171", "name": "Game Play Maker Service allVote should return game as is when there is no vote.", "location": { "start": { @@ -86341,7 +87928,7 @@ } }, { - "id": "164", + "id": "172", "name": "Game Play Maker Service allVote should return game as is when there is no nominated players.", "location": { "start": { @@ -86351,7 +87938,7 @@ } }, { - "id": "165", + "id": "173", "name": "Game Play Maker Service allVote should call handleTieInVotes method when there are several nominated players.", "location": { "start": { @@ -86361,7 +87948,7 @@ } }, { - "id": "166", + "id": "174", "name": "Game Play Maker Service allVote should call handleTieInVotes method with prepended all vote game play from judge when there are several nominated players and judge requested it.", "location": { "start": { @@ -86371,7 +87958,7 @@ } }, { - "id": "167", + "id": "175", "name": "Game Play Maker Service allVote should call killOrRevealPlayer method when there is one nominated player.", "location": { "start": { @@ -86381,7 +87968,7 @@ } }, { - "id": "168", + "id": "176", "name": "Game Play Maker Service handleTieInSheriffElection should prepend all elect sheriff game play when current play is not due to a tie.", "location": { "start": { @@ -86391,7 +87978,7 @@ } }, { - "id": "169", + "id": "177", "name": "Game Play Maker Service handleTieInSheriffElection should add sheriff attribute to a random nominated player when current play is due to a tie.", "location": { "start": { @@ -86401,7 +87988,7 @@ } }, { - "id": "170", + "id": "178", "name": "Game Play Maker Service handleTieInSheriffElection should return game as is when it's not possible to choose a random nominated player.", "location": { "start": { @@ -86411,7 +87998,7 @@ } }, { - "id": "171", + "id": "179", "name": "Game Play Maker Service allElectSheriff should return game as is when there is no vote.", "location": { "start": { @@ -86421,7 +88008,7 @@ } }, { - "id": "172", + "id": "180", "name": "Game Play Maker Service allElectSheriff should return game as is when there is no nominated players.", "location": { "start": { @@ -86431,7 +88018,7 @@ } }, { - "id": "173", + "id": "181", "name": "Game Play Maker Service allElectSheriff should call handleTieInSheriffElection method when there is a tie in votes.", "location": { "start": { @@ -86441,7 +88028,7 @@ } }, { - "id": "174", + "id": "182", "name": "Game Play Maker Service allElectSheriff should add sheriff attribute to nominated player when called.", "location": { "start": { @@ -86451,7 +88038,7 @@ } }, { - "id": "175", + "id": "183", "name": "Game Play Maker Service allPlay should return game as is when upcoming play is not for all.", "location": { "start": { @@ -86461,7 +88048,7 @@ } }, { - "id": "176", + "id": "184", "name": "Game Play Maker Service allPlay should call allElectSheriff method when upcoming play is sheriff role delegation.", "location": { "start": { @@ -86471,7 +88058,7 @@ } }, { - "id": "177", + "id": "185", "name": "Game Play Maker Service allPlay should call allVote method when upcoming play is sheriff settling vote.", "location": { "start": { @@ -86481,7 +88068,7 @@ } }, { - "id": "178", + "id": "186", "name": "Game Play Maker Service thiefChoosesCard should return game as is when there is no thief player in game.", "location": { "start": { @@ -86491,7 +88078,7 @@ } }, { - "id": "179", + "id": "187", "name": "Game Play Maker Service thiefChoosesCard should return game as is when there is no chosen card.", "location": { "start": { @@ -86501,7 +88088,7 @@ } }, { - "id": "180", + "id": "188", "name": "Game Play Maker Service thiefChoosesCard should return game as is when chosen card role is unknown.", "location": { "start": { @@ -86511,7 +88098,7 @@ } }, { - "id": "181", + "id": "189", "name": "Game Play Maker Service thiefChoosesCard should update thief role and side when called.", "location": { "start": { @@ -86521,7 +88108,7 @@ } }, { - "id": "182", + "id": "190", "name": "Game Play Maker Service scapegoatBansVoting should return game as is when there are no targets.", "location": { "start": { @@ -86531,7 +88118,7 @@ } }, { - "id": "183", + "id": "191", "name": "Game Play Maker Service scapegoatBansVoting should add scapegoat ban voting attributes to targets when called.", "location": { "start": { @@ -86541,7 +88128,7 @@ } }, { - "id": "184", + "id": "192", "name": "Game Play Maker Service dogWolfChoosesSide should return game as is when chosen side is not set.", "location": { "start": { @@ -86551,7 +88138,7 @@ } }, { - "id": "185", + "id": "193", "name": "Game Play Maker Service dogWolfChoosesSide should return game as is when there is no dog wolf in the game.", "location": { "start": { @@ -86561,7 +88148,7 @@ } }, { - "id": "186", + "id": "194", "name": "Game Play Maker Service dogWolfChoosesSide should return dog wolf on the werewolves side when called.", "location": { "start": { @@ -86571,7 +88158,7 @@ } }, { - "id": "187", + "id": "195", "name": "Game Play Maker Service wildChildChoosesModel should return game as is when expected target count is not reached.", "location": { "start": { @@ -86581,7 +88168,7 @@ } }, { - "id": "188", + "id": "196", "name": "Game Play Maker Service wildChildChoosesModel should add worshiped attribute to target when called.", "location": { "start": { @@ -86591,7 +88178,7 @@ } }, { - "id": "189", + "id": "197", "name": "Game Play Maker Service foxSniffs should return game as is when expected target count is not reached.", "location": { "start": { @@ -86601,7 +88188,7 @@ } }, { - "id": "190", + "id": "198", "name": "Game Play Maker Service foxSniffs should return game as is when there is no fox in the game.", "location": { "start": { @@ -86611,7 +88198,7 @@ } }, { - "id": "191", + "id": "199", "name": "Game Play Maker Service foxSniffs should return game as is when fox is not powerless if misses werewolves by game options.", "location": { "start": { @@ -86621,7 +88208,7 @@ } }, { - "id": "192", + "id": "200", "name": "Game Play Maker Service foxSniffs should return game as is when fox sniffes a werewolf in the group.", "location": { "start": { @@ -86631,7 +88218,7 @@ } }, { - "id": "193", + "id": "201", "name": "Game Play Maker Service foxSniffs should make fox powerless when there is no werewolf in the group.", "location": { "start": { @@ -86641,7 +88228,7 @@ } }, { - "id": "194", + "id": "202", "name": "Game Play Maker Service ravenMarks should return game as is when expected target count is not reached.", "location": { "start": { @@ -86651,7 +88238,7 @@ } }, { - "id": "195", + "id": "203", "name": "Game Play Maker Service ravenMarks should add raven marked attribute to target when called.", "location": { "start": { @@ -86661,7 +88248,7 @@ } }, { - "id": "196", + "id": "204", "name": "Game Play Maker Service guardProtects should return game as is when expected target count is not reached.", "location": { "start": { @@ -86671,7 +88258,7 @@ } }, { - "id": "197", + "id": "205", "name": "Game Play Maker Service guardProtects should add protected attribute to target when called.", "location": { "start": { @@ -86681,7 +88268,7 @@ } }, { - "id": "198", + "id": "206", "name": "Game Play Maker Service hunterShoots should return game as is when expected target count is not reached.", "location": { "start": { @@ -86691,7 +88278,7 @@ } }, { - "id": "199", + "id": "207", "name": "Game Play Maker Service hunterShoots should call killOrRevealPlayer method when called.", "location": { "start": { @@ -86701,7 +88288,7 @@ } }, { - "id": "200", + "id": "208", "name": "Game Play Maker Service witchUsesPotions should return game as is when expected target count is not reached.", "location": { "start": { @@ -86711,7 +88298,7 @@ } }, { - "id": "201", + "id": "209", "name": "Game Play Maker Service witchUsesPotions should add only one potion attributes to targets when called.", "location": { "start": { @@ -86721,7 +88308,7 @@ } }, { - "id": "202", + "id": "210", "name": "Game Play Maker Service witchUsesPotions should add both potion attributes to targets when called.", "location": { "start": { @@ -86731,7 +88318,7 @@ } }, { - "id": "203", + "id": "211", "name": "Game Play Maker Service piedPiperCharms should return game as is when targets are undefined.", "location": { "start": { @@ -86741,7 +88328,7 @@ } }, { - "id": "204", + "id": "212", "name": "Game Play Maker Service piedPiperCharms should return game as is when targets are empty.", "location": { "start": { @@ -86751,7 +88338,7 @@ } }, { - "id": "205", + "id": "213", "name": "Game Play Maker Service piedPiperCharms should add pied piper charmed attributes to targets when called.", "location": { "start": { @@ -86761,7 +88348,7 @@ } }, { - "id": "206", + "id": "214", "name": "Game Play Maker Service cupidCharms should return game as is when expected target count is not reached.", "location": { "start": { @@ -86771,7 +88358,7 @@ } }, { - "id": "207", + "id": "215", "name": "Game Play Maker Service cupidCharms should add in-love attribute to targets when called.", "location": { "start": { @@ -86781,7 +88368,7 @@ } }, { - "id": "208", + "id": "216", "name": "Game Play Maker Service seerLooks should return game as is when expected target count is not reached.", "location": { "start": { @@ -86791,7 +88378,7 @@ } }, { - "id": "209", + "id": "217", "name": "Game Play Maker Service seerLooks should add seen attribute to target when called.", "location": { "start": { @@ -86801,7 +88388,7 @@ } }, { - "id": "210", + "id": "218", "name": "Game Play Maker Service whiteWerewolfEats should return game as is when expected target count is not reached.", "location": { "start": { @@ -86811,7 +88398,7 @@ } }, { - "id": "211", + "id": "219", "name": "Game Play Maker Service whiteWerewolfEats should add eaten attribute by white werewolf to target when called.", "location": { "start": { @@ -86821,7 +88408,7 @@ } }, { - "id": "212", + "id": "220", "name": "Game Play Maker Service bigBadWolfEats should return game as is when expected target count is not reached.", "location": { "start": { @@ -86831,7 +88418,7 @@ } }, { - "id": "213", + "id": "221", "name": "Game Play Maker Service bigBadWolfEats should add eaten attribute by big bad wolf to target when called.", "location": { "start": { @@ -86841,7 +88428,7 @@ } }, { - "id": "214", + "id": "222", "name": "Game Play Maker Service werewolvesEat should return game as is when expected target count is not reached.", "location": { "start": { @@ -86851,7 +88438,7 @@ } }, { - "id": "215", + "id": "223", "name": "Game Play Maker Service werewolvesEat should add eaten attribute by werewolves to target when target is not infected.", "location": { "start": { @@ -86861,7 +88448,7 @@ } }, { - "id": "216", + "id": "224", "name": "Game Play Maker Service werewolvesEat should add eaten attribute by werewolves to target when target is infected but not killable ancient.", "location": { "start": { @@ -86871,7 +88458,7 @@ } }, { - "id": "217", + "id": "225", "name": "Game Play Maker Service werewolvesEat should change target side to werewolves when he's infected and not the ancient.", "location": { "start": { @@ -86881,7 +88468,7 @@ } }, { - "id": "218", + "id": "226", "name": "Game Play Maker Service werewolvesEat should change target side to werewolves when he's infected and killable as ancient.", "location": { "start": { @@ -86896,7 +88483,7 @@ "tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts": { "tests": [ { - "id": "219", + "id": "227", "name": "Game Play Service removeObsoleteUpcomingPlays should return game as is when no game play needs to be removed.", "location": { "start": { @@ -86906,7 +88493,7 @@ } }, { - "id": "220", + "id": "228", "name": "Game Play Service removeObsoleteUpcomingPlays should remove some game plays when players became powerless or died.", "location": { "start": { @@ -86916,7 +88503,7 @@ } }, { - "id": "221", + "id": "229", "name": "Game Play Service proceedToNextGamePlay should return game as is when there is no upcoming plays.", "location": { "start": { @@ -86926,7 +88513,7 @@ } }, { - "id": "222", + "id": "230", "name": "Game Play Service proceedToNextGamePlay should make proceed to next game play when called.", "location": { "start": { @@ -86936,7 +88523,7 @@ } }, { - "id": "223", + "id": "231", "name": "Game Play Service getUpcomingDayPlays should get upcoming day plays when called.", "location": { "start": { @@ -86946,7 +88533,7 @@ } }, { - "id": "224", + "id": "232", "name": "Game Play Service getUpcomingNightPlays should get upcoming night plays when it's the first night with official rules and some roles [#0].", "location": { "start": { @@ -86956,7 +88543,7 @@ } }, { - "id": "225", + "id": "233", "name": "Game Play 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": { @@ -86966,7 +88553,7 @@ } }, { - "id": "226", + "id": "234", "name": "Game Play Service getUpcomingNightPlays should get upcoming night plays when it's the second night with official rules and some roles [#2].", "location": { "start": { @@ -86976,7 +88563,7 @@ } }, { - "id": "227", + "id": "235", "name": "Game Play Service isSheriffElectionTime should return false when sheriff is not enabled even if it's the time.", "location": { "start": { @@ -86986,7 +88573,7 @@ } }, { - "id": "228", + "id": "236", "name": "Game Play Service isSheriffElectionTime should return false when it's not the right turn.", "location": { "start": { @@ -86996,7 +88583,7 @@ } }, { - "id": "229", + "id": "237", "name": "Game Play Service isSheriffElectionTime should return false when it's not the right phase.", "location": { "start": { @@ -87006,7 +88593,7 @@ } }, { - "id": "230", + "id": "238", "name": "Game Play Service isSheriffElectionTime should return true when it's the right phase and turn.", "location": { "start": { @@ -87016,7 +88603,7 @@ } }, { - "id": "231", + "id": "239", "name": "Game Play Service isLoversGamePlaySuitableForCurrentPhase should return false when there is no cupid in the game dto.", "location": { "start": { @@ -87026,7 +88613,7 @@ } }, { - "id": "232", + "id": "240", "name": "Game Play Service isLoversGamePlaySuitableForCurrentPhase should return true when there is cupid in the game dto.", "location": { "start": { @@ -87036,7 +88623,7 @@ } }, { - "id": "233", + "id": "241", "name": "Game Play Service isLoversGamePlaySuitableForCurrentPhase should return false when there is no cupid in the game.", "location": { "start": { @@ -87046,7 +88633,7 @@ } }, { - "id": "234", + "id": "242", "name": "Game Play Service isLoversGamePlaySuitableForCurrentPhase should return false when there is cupid in the game but he is dead and there is no lovers.", "location": { "start": { @@ -87056,7 +88643,7 @@ } }, { - "id": "235", + "id": "243", "name": "Game Play Service isLoversGamePlaySuitableForCurrentPhase should return false when there is cupid in the game but he is powerless and there is no lovers.", "location": { "start": { @@ -87066,7 +88653,7 @@ } }, { - "id": "236", + "id": "244", "name": "Game Play Service isLoversGamePlaySuitableForCurrentPhase should return true when there is cupid alive and powerful and there is no lovers.", "location": { "start": { @@ -87076,7 +88663,7 @@ } }, { - "id": "237", + "id": "245", "name": "Game Play Service isLoversGamePlaySuitableForCurrentPhase should return false when cupid is dead but one of the lovers is dead.", "location": { "start": { @@ -87086,7 +88673,7 @@ } }, { - "id": "238", + "id": "246", "name": "Game Play Service isLoversGamePlaySuitableForCurrentPhase should return true when cupid is dead and lovers are alive.", "location": { "start": { @@ -87096,7 +88683,7 @@ } }, { - "id": "239", + "id": "247", "name": "Game Play Service isAllGamePlaySuitableForCurrentPhase should return true when game play's action is ELECT_SHERIFF.", "location": { "start": { @@ -87106,7 +88693,7 @@ } }, { - "id": "240", + "id": "248", "name": "Game Play Service isAllGamePlaySuitableForCurrentPhase should return true when game play's action is VOTE but reason is not angel presence.", "location": { "start": { @@ -87116,7 +88703,7 @@ } }, { - "id": "241", + "id": "249", "name": "Game Play Service isAllGamePlaySuitableForCurrentPhase should return false when there is no angel in the game dto.", "location": { "start": { @@ -87126,7 +88713,7 @@ } }, { - "id": "242", + "id": "250", "name": "Game Play Service isAllGamePlaySuitableForCurrentPhase should return true when there is angel in the game dto.", "location": { "start": { @@ -87136,7 +88723,7 @@ } }, { - "id": "243", + "id": "251", "name": "Game Play Service isAllGamePlaySuitableForCurrentPhase should return false when there is no angel in the game.", "location": { "start": { @@ -87146,7 +88733,7 @@ } }, { - "id": "244", + "id": "252", "name": "Game Play Service isAllGamePlaySuitableForCurrentPhase should return false when there is angel in the game but he is dead.", "location": { "start": { @@ -87156,7 +88743,7 @@ } }, { - "id": "245", + "id": "253", "name": "Game Play Service isAllGamePlaySuitableForCurrentPhase should return false when there is angel in the game but he is powerless.", "location": { "start": { @@ -87166,7 +88753,7 @@ } }, { - "id": "246", + "id": "254", "name": "Game Play Service isAllGamePlaySuitableForCurrentPhase should return true when there is angel in the game alive and powerful.", "location": { "start": { @@ -87176,7 +88763,7 @@ } }, { - "id": "247", + "id": "255", "name": "Game Play Service isGroupGamePlaySuitableForCurrentPhase should call all playable method when game plays source group is all.", "location": { "start": { @@ -87186,7 +88773,7 @@ } }, { - "id": "248", + "id": "256", "name": "Game Play Service isGroupGamePlaySuitableForCurrentPhase should call lovers playable method when game plays source group is lovers.", "location": { "start": { @@ -87196,7 +88783,7 @@ } }, { - "id": "249", + "id": "257", "name": "Game Play Service isGroupGamePlaySuitableForCurrentPhase should call charmed playable method when game plays source group is charmed people.", "location": { "start": { @@ -87206,7 +88793,7 @@ } }, { - "id": "250", + "id": "258", "name": "Game Play Service isGroupGamePlaySuitableForCurrentPhase should return true when game plays source group is werewolves and game is dto.", "location": { "start": { @@ -87216,7 +88803,7 @@ } }, { - "id": "251", + "id": "259", "name": "Game Play Service isGroupGamePlaySuitableForCurrentPhase should return false when game plays source group is villagers and game is dto.", "location": { "start": { @@ -87226,7 +88813,7 @@ } }, { - "id": "252", + "id": "260", "name": "Game Play Service isGroupGamePlaySuitableForCurrentPhase should return false when game plays source group is werewolves and all are powerless.", "location": { "start": { @@ -87236,7 +88823,7 @@ } }, { - "id": "253", + "id": "261", "name": "Game Play Service isGroupGamePlaySuitableForCurrentPhase should return true when game plays source group is werewolves and at least one is alive and powerful.", "location": { "start": { @@ -87246,7 +88833,7 @@ } }, { - "id": "254", + "id": "262", "name": "Game Play Service isWitchGamePlaySuitableForCurrentPhase should return false when witch is not in the game dto.", "location": { "start": { @@ -87256,7 +88843,7 @@ } }, { - "id": "255", + "id": "263", "name": "Game Play Service isWitchGamePlaySuitableForCurrentPhase should return false when witch is not in the game.", "location": { "start": { @@ -87266,7 +88853,7 @@ } }, { - "id": "256", + "id": "264", "name": "Game Play Service isWitchGamePlaySuitableForCurrentPhase should return false when witch is in the game but dead.", "location": { "start": { @@ -87276,7 +88863,7 @@ } }, { - "id": "257", + "id": "265", "name": "Game Play Service isWitchGamePlaySuitableForCurrentPhase should return false when witch is in the game but powerless.", "location": { "start": { @@ -87286,7 +88873,7 @@ } }, { - "id": "258", + "id": "266", "name": "Game Play Service isWitchGamePlaySuitableForCurrentPhase should return false when witch is in the game but options specify that her turn must be skipped if no more potions.", "location": { "start": { @@ -87296,7 +88883,7 @@ } }, { - "id": "259", + "id": "267", "name": "Game Play Service isWitchGamePlaySuitableForCurrentPhase should return true when witch is in the game but options specify that her turn must not be skipped even with no more potions.", "location": { "start": { @@ -87306,7 +88893,7 @@ } }, { - "id": "260", + "id": "268", "name": "Game Play Service isWitchGamePlaySuitableForCurrentPhase should return true when witch is in the game but options specify that her turn must be skipped with no more potions but has still death potion.", "location": { "start": { @@ -87316,7 +88903,7 @@ } }, { - "id": "261", + "id": "269", "name": "Game Play Service isWitchGamePlaySuitableForCurrentPhase should return true when witch is in the game but options specify that her turn must be skipped with no more potions but has still life potion.", "location": { "start": { @@ -87326,7 +88913,7 @@ } }, { - "id": "262", + "id": "270", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is not in the game dto.", "location": { "start": { @@ -87336,7 +88923,7 @@ } }, { - "id": "263", + "id": "271", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game dto but options specify that he's never called.", "location": { "start": { @@ -87346,7 +88933,7 @@ } }, { - "id": "264", + "id": "272", "name": "Game Play 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": { @@ -87356,7 +88943,7 @@ } }, { - "id": "265", + "id": "273", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is not in the game.", "location": { "start": { @@ -87366,7 +88953,7 @@ } }, { - "id": "266", + "id": "274", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game but options specify that he's never called.", "location": { "start": { @@ -87376,7 +88963,7 @@ } }, { - "id": "267", + "id": "275", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game but dead.", "location": { "start": { @@ -87386,7 +88973,7 @@ } }, { - "id": "268", + "id": "276", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game but powerless.", "location": { "start": { @@ -87396,7 +88983,7 @@ } }, { - "id": "269", + "id": "277", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return false when white werewolf is in the game, alive, powerful, has no targets and options say skip if no targets.", "location": { "start": { @@ -87406,7 +88993,7 @@ } }, { - "id": "270", + "id": "278", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return true when white werewolf is in the game, alive and powerful.", "location": { "start": { @@ -87416,7 +89003,7 @@ } }, { - "id": "271", + "id": "279", "name": "Game Play Service isWhiteWerewolfGamePlaySuitableForCurrentPhase should return true when white werewolf is in the game, alive, powerful, has targets and options say skip if no targets.", "location": { "start": { @@ -87426,7 +89013,7 @@ } }, { - "id": "272", + "id": "280", "name": "Game Play Service isPiedPiperGamePlaySuitableForCurrentPhase should return false when pied piper is not in the game dto.", "location": { "start": { @@ -87436,7 +89023,7 @@ } }, { - "id": "273", + "id": "281", "name": "Game Play Service isPiedPiperGamePlaySuitableForCurrentPhase should return true when pied piper is in the game dto.", "location": { "start": { @@ -87446,7 +89033,7 @@ } }, { - "id": "274", + "id": "282", "name": "Game Play Service isPiedPiperGamePlaySuitableForCurrentPhase should return false when pied piper is not in the game.", "location": { "start": { @@ -87456,7 +89043,7 @@ } }, { - "id": "275", + "id": "283", "name": "Game Play Service isPiedPiperGamePlaySuitableForCurrentPhase should return false when pied piper is in the game can't charm anymore.", "location": { "start": { @@ -87466,7 +89053,7 @@ } }, { - "id": "276", + "id": "284", "name": "Game Play Service isPiedPiperGamePlaySuitableForCurrentPhase should return true when pied piper is in the game and can still charm.", "location": { "start": { @@ -87476,7 +89063,7 @@ } }, { - "id": "277", + "id": "285", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is not in the game dto.", "location": { "start": { @@ -87486,7 +89073,7 @@ } }, { - "id": "278", + "id": "286", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return true when big bad wolf is in the game dto.", "location": { "start": { @@ -87496,7 +89083,7 @@ } }, { - "id": "279", + "id": "287", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is not in the game.", "location": { "start": { @@ -87506,7 +89093,7 @@ } }, { - "id": "280", + "id": "288", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is in the game but dead.", "location": { "start": { @@ -87516,7 +89103,7 @@ } }, { - "id": "281", + "id": "289", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is in the game but one werewolf is dead.", "location": { "start": { @@ -87526,7 +89113,7 @@ } }, { - "id": "282", + "id": "290", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return false when big bad wolf is in the game, all werewolves are alive and his turn is skipped if no targets.", "location": { "start": { @@ -87536,7 +89123,7 @@ } }, { - "id": "283", + "id": "291", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return true when big bad wolf is in the game, all werewolves are alive and his turn is skipped if no targets but there are targets.", "location": { "start": { @@ -87546,7 +89133,7 @@ } }, { - "id": "284", + "id": "292", "name": "Game Play 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": { @@ -87556,7 +89143,7 @@ } }, { - "id": "285", + "id": "293", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return true when big bad wolf is in the game and all werewolves are alive.", "location": { "start": { @@ -87566,7 +89153,7 @@ } }, { - "id": "286", + "id": "294", "name": "Game Play Service isBigBadWolfGamePlaySuitableForCurrentPhase should return true when big bad wolf is in the game, all werewolves are alive and his turn is no skipped if no targets.", "location": { "start": { @@ -87576,7 +89163,7 @@ } }, { - "id": "287", + "id": "295", "name": "Game Play Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when three brothers are not in the game dto.", "location": { "start": { @@ -87586,7 +89173,7 @@ } }, { - "id": "288", + "id": "296", "name": "Game Play Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when three brothers are in the game dto but options specify that they are never called.", "location": { "start": { @@ -87596,7 +89183,7 @@ } }, { - "id": "289", + "id": "297", "name": "Game Play 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": { @@ -87606,7 +89193,7 @@ } }, { - "id": "290", + "id": "298", "name": "Game Play Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when three brothers are not in the game.", "location": { "start": { @@ -87616,7 +89203,7 @@ } }, { - "id": "291", + "id": "299", "name": "Game Play Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when three brothers is in the game but options specify that they are never called.", "location": { "start": { @@ -87626,7 +89213,7 @@ } }, { - "id": "292", + "id": "300", "name": "Game Play Service isThreeBrothersGamePlaySuitableForCurrentPhase should return true when three brothers are alive.", "location": { "start": { @@ -87636,7 +89223,7 @@ } }, { - "id": "293", + "id": "301", "name": "Game Play Service isThreeBrothersGamePlaySuitableForCurrentPhase should return true when two brothers are alive.", "location": { "start": { @@ -87646,7 +89233,7 @@ } }, { - "id": "294", + "id": "302", "name": "Game Play Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when one brothers is alive.", "location": { "start": { @@ -87656,7 +89243,7 @@ } }, { - "id": "295", + "id": "303", "name": "Game Play Service isThreeBrothersGamePlaySuitableForCurrentPhase should return false when all brothers are dead.", "location": { "start": { @@ -87666,7 +89253,7 @@ } }, { - "id": "296", + "id": "304", "name": "Game Play Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when two sisters are not in the game dto.", "location": { "start": { @@ -87676,7 +89263,7 @@ } }, { - "id": "297", + "id": "305", "name": "Game Play Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when two sisters are in the game dto but options specify that they are never called.", "location": { "start": { @@ -87686,7 +89273,7 @@ } }, { - "id": "298", + "id": "306", "name": "Game Play 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": { @@ -87696,7 +89283,7 @@ } }, { - "id": "299", + "id": "307", "name": "Game Play Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when two sisters are not in the game.", "location": { "start": { @@ -87706,7 +89293,7 @@ } }, { - "id": "300", + "id": "308", "name": "Game Play Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when two sisters is in the game but options specify that they are never called.", "location": { "start": { @@ -87716,7 +89303,7 @@ } }, { - "id": "301", + "id": "309", "name": "Game Play Service isTwoSistersGamePlaySuitableForCurrentPhase should return true when two sisters are alive.", "location": { "start": { @@ -87726,7 +89313,7 @@ } }, { - "id": "302", + "id": "310", "name": "Game Play Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when one sister is alive.", "location": { "start": { @@ -87736,7 +89323,7 @@ } }, { - "id": "303", + "id": "311", "name": "Game Play Service isTwoSistersGamePlaySuitableForCurrentPhase should return false when all sisters are dead.", "location": { "start": { @@ -87746,7 +89333,7 @@ } }, { - "id": "304", + "id": "312", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return false when player is not in game.", "location": { "start": { @@ -87756,7 +89343,7 @@ } }, { - "id": "305", + "id": "313", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should call two sisters method when game play source role is two sisters.", "location": { "start": { @@ -87766,7 +89353,7 @@ } }, { - "id": "306", + "id": "314", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should call three brothers method when game play source role is three brothers.", "location": { "start": { @@ -87776,7 +89363,7 @@ } }, { - "id": "307", + "id": "315", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should call big bad wolf method when game plays source role is big bad wolf.", "location": { "start": { @@ -87786,7 +89373,7 @@ } }, { - "id": "308", + "id": "316", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should call pied piper method when game plays source role is pied piper.", "location": { "start": { @@ -87796,7 +89383,7 @@ } }, { - "id": "309", + "id": "317", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should call white werewolf method when game plays source role is white werewolf.", "location": { "start": { @@ -87806,7 +89393,7 @@ } }, { - "id": "310", + "id": "318", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should call witch method when game plays source role is witch.", "location": { "start": { @@ -87816,7 +89403,7 @@ } }, { - "id": "311", + "id": "319", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return true when game plays source role is hunter and player is dto.", "location": { "start": { @@ -87826,7 +89413,7 @@ } }, { - "id": "312", + "id": "320", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return true when game plays source role is hunter and player is powerful.", "location": { "start": { @@ -87836,7 +89423,7 @@ } }, { - "id": "313", + "id": "321", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return false when game plays source role is hunter and player is powerless.", "location": { "start": { @@ -87846,7 +89433,7 @@ } }, { - "id": "314", + "id": "322", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return true when game plays source role is scapegoat and player is dto.", "location": { "start": { @@ -87856,7 +89443,7 @@ } }, { - "id": "315", + "id": "323", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return true when game plays source role is scapegoat and player is powerful.", "location": { "start": { @@ -87866,7 +89453,7 @@ } }, { - "id": "316", + "id": "324", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return false when game plays source role is scapegoat and player is powerless.", "location": { "start": { @@ -87876,7 +89463,7 @@ } }, { - "id": "317", + "id": "325", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return true when player is dto.", "location": { "start": { @@ -87886,7 +89473,7 @@ } }, { - "id": "318", + "id": "326", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return false when player is dead.", "location": { "start": { @@ -87896,7 +89483,7 @@ } }, { - "id": "319", + "id": "327", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return false when player is powerless.", "location": { "start": { @@ -87906,7 +89493,7 @@ } }, { - "id": "320", + "id": "328", "name": "Game Play Service isRoleGamePlaySuitableForCurrentPhase should return true when player is alive and powerful.", "location": { "start": { @@ -87916,7 +89503,7 @@ } }, { - "id": "321", + "id": "329", "name": "Game Play Service isSheriffGamePlaySuitableForCurrentPhase should return false when sheriff is not enabled.", "location": { "start": { @@ -87926,7 +89513,7 @@ } }, { - "id": "322", + "id": "330", "name": "Game Play Service isSheriffGamePlaySuitableForCurrentPhase should return true when game is dto.", "location": { "start": { @@ -87936,7 +89523,7 @@ } }, { - "id": "323", + "id": "331", "name": "Game Play Service isSheriffGamePlaySuitableForCurrentPhase should return false when sheriff is not in the game.", "location": { "start": { @@ -87946,7 +89533,7 @@ } }, { - "id": "324", + "id": "332", "name": "Game Play Service isSheriffGamePlaySuitableForCurrentPhase should return true when sheriff is in the game.", "location": { "start": { @@ -87956,7 +89543,7 @@ } }, { - "id": "325", + "id": "333", "name": "Game Play Service isGamePlaySuitableForCurrentPhase should call isRoleGamePlaySuitableForCurrentPhase when source is a sheriff.", "location": { "start": { @@ -87966,7 +89553,7 @@ } }, { - "id": "326", + "id": "334", "name": "Game Play Service isGamePlaySuitableForCurrentPhase should call isRoleGamePlaySuitableForCurrentPhase when source is a role.", "location": { "start": { @@ -87976,7 +89563,7 @@ } }, { - "id": "327", + "id": "335", "name": "Game Play Service isGamePlaySuitableForCurrentPhase should call isGroupGamePlaySuitableForCurrentPhase when source is a group.", "location": { "start": { @@ -87991,7 +89578,7 @@ "tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts": { "tests": [ { - "id": "328", + "id": "336", "name": "Player Killer Service killOrRevealPlayer should return game as is when player can't be revealed or killed.", "location": { "start": { @@ -88001,7 +89588,7 @@ } }, { - "id": "329", + "id": "337", "name": "Player Killer Service killOrRevealPlayer should call kill method when player is killable.", "location": { "start": { @@ -88011,7 +89598,7 @@ } }, { - "id": "330", + "id": "338", "name": "Player Killer Service killOrRevealPlayer should call reveal role method when player role must be revealed.", "location": { "start": { @@ -88021,7 +89608,7 @@ } }, { - "id": "331", + "id": "339", "name": "Player Killer Service applyPlayerRoleRevelationOutcomes should add can't vote attribute when player is idiot.", "location": { "start": { @@ -88031,7 +89618,7 @@ } }, { - "id": "332", + "id": "340", "name": "Player Killer Service applyPlayerRoleRevelationOutcomes should return the game as is when player is not an idiot.", "location": { "start": { @@ -88041,7 +89628,7 @@ } }, { - "id": "333", + "id": "341", "name": "Player Killer Service isAncientKillable should return true when cause is not EATEN.", "location": { "start": { @@ -88051,7 +89638,7 @@ } }, { - "id": "334", + "id": "342", "name": "Player Killer Service isAncientKillable should return false when cause is EATEN but ancient still have at least one life left.", "location": { "start": { @@ -88061,7 +89648,7 @@ } }, { - "id": "335", + "id": "343", "name": "Player Killer Service isAncientKillable should return true when cause is EATEN but ancient has only one life left.", "location": { "start": { @@ -88071,7 +89658,7 @@ } }, { - "id": "336", + "id": "344", "name": "Player Killer Service isAncientKillable should return true when cause is EATEN but ancient has 0 life left.", "location": { "start": { @@ -88081,7 +89668,7 @@ } }, { - "id": "337", + "id": "345", "name": "Player Killer Service revealPlayerRole should throw error when player to reveal is not found among players.", "location": { "start": { @@ -88091,7 +89678,7 @@ } }, { - "id": "338", + "id": "346", "name": "Player Killer Service revealPlayerRole should reveal player role when called.", "location": { "start": { @@ -88101,7 +89688,7 @@ } }, { - "id": "339", + "id": "347", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player role is already revealed.", "location": { "start": { @@ -88111,7 +89698,7 @@ } }, { - "id": "340", + "id": "348", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player role is not idiot.", "location": { "start": { @@ -88121,7 +89708,7 @@ } }, { - "id": "341", + "id": "349", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player role is idiot but powerless.", "location": { "start": { @@ -88131,7 +89718,7 @@ } }, { - "id": "342", + "id": "350", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player role is idiot but death cause is not vote.", "location": { "start": { @@ -88141,7 +89728,7 @@ } }, { - "id": "343", + "id": "351", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return true when player role is idiot and death cause is not vote.", "location": { "start": { @@ -88151,7 +89738,7 @@ } }, { - "id": "344", + "id": "352", "name": "Player Killer Service removePlayerAttributesAfterDeath should remove player attributes which need to be removed after death when called.", "location": { "start": { @@ -88161,7 +89748,7 @@ } }, { - "id": "345", + "id": "353", "name": "Player Killer Service getAncientLivesCountAgainstWerewolves should return same amount of lives when no werewolves attack against ancient.", "location": { "start": { @@ -88171,7 +89758,7 @@ } }, { - "id": "346", + "id": "354", "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": { @@ -88181,7 +89768,7 @@ } }, { - "id": "347", + "id": "355", "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": { @@ -88191,7 +89778,7 @@ } }, { - "id": "348", + "id": "356", "name": "Player Killer Service isIdiotKillable should return true when idiot is already revealed.", "location": { "start": { @@ -88201,7 +89788,7 @@ } }, { - "id": "349", + "id": "357", "name": "Player Killer Service isIdiotKillable should return true when idiot is killed by other cause than a vote.", "location": { "start": { @@ -88211,7 +89798,7 @@ } }, { - "id": "350", + "id": "358", "name": "Player Killer Service isIdiotKillable should return true when idiot is killed by vote but powerless.", "location": { "start": { @@ -88221,7 +89808,7 @@ } }, { - "id": "351", + "id": "359", "name": "Player Killer Service isIdiotKillable should return false when idiot is not revealed, dies from votes and is not powerless.", "location": { "start": { @@ -88231,7 +89818,7 @@ } }, { - "id": "352", + "id": "360", "name": "Player Killer Service canPlayerBeEaten should return false when player is saved by the witch.", "location": { "start": { @@ -88241,7 +89828,7 @@ } }, { - "id": "353", + "id": "361", "name": "Player Killer Service canPlayerBeEaten should return false when player is protected by guard and is not little girl.", "location": { "start": { @@ -88251,7 +89838,7 @@ } }, { - "id": "354", + "id": "362", "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": { @@ -88261,7 +89848,7 @@ } }, { - "id": "355", + "id": "363", "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": { @@ -88271,7 +89858,7 @@ } }, { - "id": "356", + "id": "364", "name": "Player Killer Service canPlayerBeEaten should return true when player defenseless.", "location": { "start": { @@ -88281,7 +89868,7 @@ } }, { - "id": "357", + "id": "365", "name": "Player Killer Service isPlayerKillable should return false when cause is EATEN and player can't be eaten.", "location": { "start": { @@ -88291,7 +89878,7 @@ } }, { - "id": "358", + "id": "366", "name": "Player Killer Service isPlayerKillable should not call can player be eaten validator when cause is not EATEN.", "location": { "start": { @@ -88301,7 +89888,7 @@ } }, { - "id": "359", + "id": "367", "name": "Player Killer Service isPlayerKillable should call is idiot killable when player is an idiot.", "location": { "start": { @@ -88311,7 +89898,7 @@ } }, { - "id": "360", + "id": "368", "name": "Player Killer Service isPlayerKillable should not call is idiot killable when player is not an idiot.", "location": { "start": { @@ -88321,7 +89908,7 @@ } }, { - "id": "361", + "id": "369", "name": "Player Killer Service isPlayerKillable should call is ancient killable when player is an ancient.", "location": { "start": { @@ -88331,7 +89918,7 @@ } }, { - "id": "362", + "id": "370", "name": "Player Killer Service isPlayerKillable should not call is ancient killable when player is not an ancient.", "location": { "start": { @@ -88341,7 +89928,7 @@ } }, { - "id": "363", + "id": "371", "name": "Player Killer Service isPlayerKillable should return true when there are no contraindications.", "location": { "start": { @@ -88351,7 +89938,7 @@ } }, { - "id": "364", + "id": "372", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when killed player doesn't have the worshiped attribute.", "location": { "start": { @@ -88361,7 +89948,7 @@ } }, { - "id": "365", + "id": "373", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when there is no wild child player.", "location": { "start": { @@ -88371,7 +89958,7 @@ } }, { - "id": "366", + "id": "374", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when wild child player is dead.", "location": { "start": { @@ -88381,7 +89968,7 @@ } }, { - "id": "367", + "id": "375", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when wild child player is powerless.", "location": { "start": { @@ -88391,7 +89978,7 @@ } }, { - "id": "368", + "id": "376", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should transform wild child to a werewolf sided player when called.", "location": { "start": { @@ -88401,7 +89988,7 @@ } }, { - "id": "369", + "id": "377", "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when killed player doesn't have the in love attribute.", "location": { "start": { @@ -88411,7 +89998,7 @@ } }, { - "id": "370", + "id": "378", "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": { @@ -88421,7 +90008,7 @@ } }, { - "id": "371", + "id": "379", "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when the other lover is not found because he is dead.", "location": { "start": { @@ -88431,7 +90018,7 @@ } }, { - "id": "372", + "id": "380", "name": "Player Killer Service applyInLovePlayerDeathOutcomes should kill the other lover when called.", "location": { "start": { @@ -88441,7 +90028,7 @@ } }, { - "id": "373", + "id": "381", "name": "Player Killer Service applySheriffPlayerDeathOutcomes should return game as is when player is not the sheriff.", "location": { "start": { @@ -88451,7 +90038,7 @@ } }, { - "id": "374", + "id": "382", "name": "Player Killer Service applySheriffPlayerDeathOutcomes should return game as is when player is idiot and not powerless.", "location": { "start": { @@ -88461,7 +90048,7 @@ } }, { - "id": "375", + "id": "383", "name": "Player Killer Service applySheriffPlayerDeathOutcomes should prepend sheriff election game play when called with powerless idiot.", "location": { "start": { @@ -88471,7 +90058,7 @@ } }, { - "id": "376", + "id": "384", "name": "Player Killer Service applySheriffPlayerDeathOutcomes should prepend sheriff election game play when called with any other role.", "location": { "start": { @@ -88481,7 +90068,7 @@ } }, { - "id": "377", + "id": "385", "name": "Player Killer Service applyPlayerAttributesDeathOutcomes should call no methods when player doesn't have the right attributes.", "location": { "start": { @@ -88491,7 +90078,7 @@ } }, { - "id": "378", + "id": "386", "name": "Player Killer Service applyPlayerAttributesDeathOutcomes should call all methods when player have all attributes.", "location": { "start": { @@ -88501,7 +90088,7 @@ } }, { - "id": "379", + "id": "387", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when killed player is not rusty sword knight.", "location": { "start": { @@ -88511,7 +90098,7 @@ } }, { - "id": "380", + "id": "388", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { @@ -88521,7 +90108,7 @@ } }, { - "id": "381", + "id": "389", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when death cause is not eaten.", "location": { "start": { @@ -88531,7 +90118,7 @@ } }, { - "id": "382", + "id": "390", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when no left alive werewolf is found.", "location": { "start": { @@ -88541,7 +90128,7 @@ } }, { - "id": "383", + "id": "391", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game with first left alive werewolf player with contaminated attribute when called.", "location": { "start": { @@ -88551,7 +90138,7 @@ } }, { - "id": "384", + "id": "392", "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player is not scapegoat.", "location": { "start": { @@ -88561,7 +90148,7 @@ } }, { - "id": "385", + "id": "393", "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { @@ -88571,7 +90158,7 @@ } }, { - "id": "386", + "id": "394", "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player was not scapegoated.", "location": { "start": { @@ -88581,7 +90168,7 @@ } }, { - "id": "387", + "id": "395", "name": "Player Killer Service applyScapegoatDeathOutcomes should return game with upcoming scapegoat bans votes play when called.", "location": { "start": { @@ -88591,7 +90178,7 @@ } }, { - "id": "388", + "id": "396", "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when killed player is not ancient.", "location": { "start": { @@ -88601,7 +90188,7 @@ } }, { - "id": "389", + "id": "397", "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { @@ -88611,7 +90198,7 @@ } }, { - "id": "390", + "id": "398", "name": "Player Killer Service applyAncientDeathOutcomes should return game as is when ancient doesn't take his revenge and idiot is not revealed.", "location": { "start": { @@ -88621,7 +90208,7 @@ } }, { - "id": "391", + "id": "399", "name": "Player Killer Service applyAncientDeathOutcomes should game as is when ancient doesn't take his revenge from game options.", "location": { "start": { @@ -88631,7 +90218,7 @@ } }, { - "id": "392", + "id": "400", "name": "Player Killer Service applyAncientDeathOutcomes should return game with all villagers powerless when ancient takes his revenge.", "location": { "start": { @@ -88641,7 +90228,7 @@ } }, { - "id": "393", + "id": "401", "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": { @@ -88651,7 +90238,7 @@ } }, { - "id": "394", + "id": "402", "name": "Player Killer Service applyAncientDeathOutcomes should return game with killed idiot when idiot was revealed before.", "location": { "start": { @@ -88661,7 +90248,7 @@ } }, { - "id": "395", + "id": "403", "name": "Player Killer Service applyHunterDeathOutcomes should return game as is when killed player is not hunter.", "location": { "start": { @@ -88671,7 +90258,7 @@ } }, { - "id": "396", + "id": "404", "name": "Player Killer Service applyHunterDeathOutcomes should return game as is when killed player powerless.", "location": { "start": { @@ -88681,7 +90268,7 @@ } }, { - "id": "397", + "id": "405", "name": "Player Killer Service applyHunterDeathOutcomes should return game with upcoming hunter shoots play when called.", "location": { "start": { @@ -88691,7 +90278,7 @@ } }, { - "id": "398", + "id": "406", "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": { @@ -88701,7 +90288,7 @@ } }, { - "id": "399", + "id": "407", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed hunter outcomes method when killed player is hunter.", "location": { "start": { @@ -88711,7 +90298,7 @@ } }, { - "id": "400", + "id": "408", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed ancient outcomes method when killed player is ancient.", "location": { "start": { @@ -88721,7 +90308,7 @@ } }, { - "id": "401", + "id": "409", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed scapegoat outcomes method when killed player is scapegoat.", "location": { "start": { @@ -88731,7 +90318,7 @@ } }, { - "id": "402", + "id": "410", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed rusty sword knight outcomes method when killed player is rusty sword knight.", "location": { "start": { @@ -88741,7 +90328,7 @@ } }, { - "id": "403", + "id": "411", "name": "Player Killer Service applyPlayerDeathOutcomes should call player death outcomes methods when called.", "location": { "start": { @@ -88751,7 +90338,7 @@ } }, { - "id": "404", + "id": "412", "name": "Player Killer Service killPlayer should set player to dead and call death outcomes method when called.", "location": { "start": { @@ -88761,7 +90348,7 @@ } }, { - "id": "405", + "id": "413", "name": "Player Killer Service getPlayerToKillInGame should throw error when player is already dead.", "location": { "start": { @@ -88771,7 +90358,7 @@ } }, { - "id": "406", + "id": "414", "name": "Player Killer Service getPlayerToKillInGame should get player to kill when called.", "location": { "start": { @@ -88786,7 +90373,7 @@ "tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts": { "tests": [ { - "id": "407", + "id": "415", "name": "Game History Record Service createGameHistoryRecord should create game history record when called with valid data.", "location": { "start": { @@ -88796,7 +90383,7 @@ } }, { - "id": "408", + "id": "416", "name": "Game History Record Service getLastGameHistoryGuardProtectsRecord should get game history when guard protected when called.", "location": { "start": { @@ -88806,7 +90393,7 @@ } }, { - "id": "409", + "id": "417", "name": "Game History Record Service getLastGameHistoryTieInVotesRecord should get game history when all voted and there was a tie when called.", "location": { "start": { @@ -88816,7 +90403,7 @@ } }, { - "id": "410", + "id": "418", "name": "Game History Record Service getGameHistoryWitchUsesSpecificPotionRecords should get game history records when witch used life potion when called.", "location": { "start": { @@ -88826,7 +90413,7 @@ } }, { - "id": "411", + "id": "419", "name": "Game History Record Service getGameHistoryWitchUsesSpecificPotionRecords should get game history records when witch used death potion when called.", "location": { "start": { @@ -88836,7 +90423,7 @@ } }, { - "id": "412", + "id": "420", "name": "Game History Record Service getGameHistoryVileFatherOfWolvesInfectedRecords should get game history records when vile father of wolves infected a player when called.", "location": { "start": { @@ -88846,7 +90433,7 @@ } }, { - "id": "413", + "id": "421", "name": "Game History Record Service getGameHistoryJudgeRequestRecords should get game history records when stuttering judge requested another vote when called.", "location": { "start": { @@ -88856,7 +90443,7 @@ } }, { - "id": "414", + "id": "422", "name": "Game History Record Service getGameHistoryWerewolvesEatAncientRecords should get game history records when any kind of werewolves eat ancient when called.", "location": { "start": { @@ -88866,7 +90453,7 @@ } }, { - "id": "415", + "id": "423", "name": "Game History Record Service getGameHistoryAncientProtectedFromWerewolvesRecords should get game history records when ancient is protected from werewolves when called.", "location": { "start": { @@ -88876,7 +90463,7 @@ } }, { - "id": "416", + "id": "424", "name": "Game History Record Service getPreviousGameHistoryRecord should previous game history record when called.", "location": { "start": { @@ -88886,7 +90473,7 @@ } }, { - "id": "417", + "id": "425", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should throw error when there is no current play for the game.", "location": { "start": { @@ -88896,7 +90483,7 @@ } }, { - "id": "418", + "id": "426", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should generate current game history to insert when called.", "location": { "start": { @@ -88906,7 +90493,7 @@ } }, { - "id": "419", + "id": "427", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should call generateCurrentGameHistoryRecordPlayToInsert method when called.", "location": { "start": { @@ -88916,7 +90503,7 @@ } }, { - "id": "420", + "id": "428", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should call generateCurrentGameHistoryRecordRevealedPlayersToInsert method when called.", "location": { "start": { @@ -88926,7 +90513,7 @@ } }, { - "id": "421", + "id": "429", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should call generateCurrentGameHistoryRecordDeadPlayersToInsert method when called.", "location": { "start": { @@ -88936,7 +90523,7 @@ } }, { - "id": "422", + "id": "430", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should call generateCurrentGameHistoryRecordPlayVotingToInsert method when called with votes.", "location": { "start": { @@ -88946,7 +90533,7 @@ } }, { - "id": "423", + "id": "431", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should not call generateCurrentGameHistoryRecordPlayVotingToInsert method when called without votes.", "location": { "start": { @@ -88956,7 +90543,7 @@ } }, { - "id": "424", + "id": "432", "name": "Game History Record Service getGameHistory should call getGameHistory repository method when called.", "location": { "start": { @@ -88966,7 +90553,7 @@ } }, { - "id": "425", + "id": "433", "name": "Game History Record Service generateCurrentGameHistoryRecordDeadPlayersToInsert should generate current game history dead players when called.", "location": { "start": { @@ -88976,7 +90563,7 @@ } }, { - "id": "426", + "id": "434", "name": "Game History Record Service generateCurrentGameHistoryRecordDeadPlayersToInsert should return undefined when there is no dead players.", "location": { "start": { @@ -88986,7 +90573,7 @@ } }, { - "id": "427", + "id": "435", "name": "Game History Record Service generateCurrentGameHistoryRecordRevealedPlayersToInsert should generate current game history revealed players but alive when called.", "location": { "start": { @@ -88996,7 +90583,7 @@ } }, { - "id": "428", + "id": "436", "name": "Game History Record Service generateCurrentGameHistoryRecordRevealedPlayersToInsert should return undefined when there is no new revealed players.", "location": { "start": { @@ -89006,7 +90593,7 @@ } }, { - "id": "429", + "id": "437", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayToInsert should generate current game history record play to insert when called.", "location": { "start": { @@ -89016,7 +90603,7 @@ } }, { - "id": "430", + "id": "438", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return sheriff election when there is a sheriff in the game.", "location": { "start": { @@ -89026,7 +90613,7 @@ } }, { - "id": "431", + "id": "439", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return tie when there is no sheriff in the game after election.", "location": { "start": { @@ -89036,8 +90623,8 @@ } }, { - "id": "432", - "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return death when there is at least one dead player from votes.", + "id": "440", + "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return skipped when there are no vote set.", "location": { "start": { "column": 6, @@ -89046,192 +90633,212 @@ } }, { - "id": "433", + "id": "441", + "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return skipped when votes are empty.", + "location": { + "start": { + "column": 6, + "line": 518 + } + } + }, + { + "id": "442", + "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return death when there is at least one dead player from votes.", + "location": { + "start": { + "column": 6, + "line": 541 + } + } + }, + { + "id": "443", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return death when there is at least one dead player from scapegoat votes.", "location": { "start": { "column": 6, - "line": 517 + "line": 568 } } }, { - "id": "434", + "id": "444", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return inconsequential when there is no death from votes and current play was already after a tie.", "location": { "start": { "column": 6, - "line": 539 + "line": 591 } } }, { - "id": "435", + "id": "445", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return tie when there is no death from votes and current play was not after a tie.", "location": { "start": { "column": 6, - "line": 561 + "line": 614 } } }, { - "id": "436", + "id": "446", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should generate current game history record play voting when called.", "location": { "start": { "column": 6, - "line": 595 + "line": 649 } } }, { - "id": "437", + "id": "447", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should call getNominatedPlayers method with empty votes when called without votes.", "location": { "start": { "column": 6, - "line": 615 + "line": 669 } } }, { - "id": "438", + "id": "448", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should call getNominatedPlayers method with votes when called.", "location": { "start": { "column": 6, - "line": 632 + "line": 686 } } }, { - "id": "439", + "id": "449", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should call generateCurrentGameHistoryRecordPlayVotingResultToInsert method when called.", "location": { "start": { "column": 6, - "line": 649 + "line": 703 } } }, { - "id": "440", + "id": "450", "name": "Game History Record Service generateCurrentGameHistoryRecordPlaySourceToInsert should generate current game history record play source when called.", "location": { "start": { "column": 6, - "line": 668 + "line": 722 } } }, { - "id": "441", + "id": "451", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a source is not in the game [#0].", "location": { "start": { "column": 8, - "line": 741 + "line": 795 } } }, { - "id": "442", + "id": "452", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a target is not in the game [#1].", "location": { "start": { "column": 8, - "line": 741 + "line": 795 } } }, { - "id": "443", + "id": "453", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a vote source is not in the game [#2].", "location": { "start": { "column": 8, - "line": 741 + "line": 795 } } }, { - "id": "444", + "id": "454", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a vote target is not in the game [#3].", "location": { "start": { "column": 8, - "line": 741 + "line": 795 } } }, { - "id": "445", + "id": "455", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when chosen card is not in the game [#4].", "location": { "start": { "column": 8, - "line": 741 + "line": 795 } } }, { - "id": "446", + "id": "456", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should not throw any errors when called with valid play data.", "location": { "start": { "column": 6, - "line": 746 + "line": 800 } } }, { - "id": "447", + "id": "457", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when game is not found with specified gameId [#0].", "location": { "start": { "column": 8, - "line": 788 + "line": 842 } } }, { - "id": "448", + "id": "458", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when a revealed player is not in the game [#1].", "location": { "start": { "column": 8, - "line": 788 + "line": 842 } } }, { - "id": "449", + "id": "459", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when a dead player is not in the game [#2].", "location": { "start": { "column": 8, - "line": 788 + "line": 842 } } }, { - "id": "450", + "id": "460", "name": "Game History Record Service validateGameHistoryRecordToInsertData should not throw any errors when called with valid data.", "location": { "start": { "column": 6, - "line": 793 + "line": 847 } } } ], - "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport { when } from \"jest-when\";\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 } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport { createGamePlayAllElectSheriff } from \"../../../../../../../../src/modules/game/helpers/game-play/game-play.factory\";\nimport { GameHistoryRecordRepository } from \"../../../../../../../../src/modules/game/providers/repositories/game-history-record.repository\";\nimport { GameRepository } from \"../../../../../../../../src/modules/game/providers/repositories/game.repository\";\nimport { GameHistoryRecordService } from \"../../../../../../../../src/modules/game/providers/services/game-history/game-history-record.service\";\nimport { GamePlayVoteService } from \"../../../../../../../../src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service\";\nimport type { GameHistoryRecordPlay } from \"../../../../../../../../src/modules/game/schemas/game-history-record/game-history-record-play/game-history-record-play.schema\";\nimport type { Player } from \"../../../../../../../../src/modules/game/schemas/player/player.schema\";\nimport type { GameHistoryRecordToInsert } from \"../../../../../../../../src/modules/game/types/game-history-record.type\";\nimport { ROLE_SIDES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { API_RESOURCES } from \"../../../../../../../../src/shared/api/enums/api.enum\";\nimport * as UnexpectedExceptionFactory from \"../../../../../../../../src/shared/exception/helpers/unexpected-exception.factory\";\nimport { ResourceNotFoundException } from \"../../../../../../../../src/shared/exception/types/resource-not-found-exception.type\";\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 { createFakeGameHistoryRecordPlay, createFakeGameHistoryRecordPlaySource, createFakeGameHistoryRecordPlayTarget, createFakeGameHistoryRecordPlayVote, createFakeGameHistoryRecordPlayVoting } from \"../../../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeGamePlayAllElectSheriff, createFakeGamePlayAllVote } from \"../../../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeSheriffByAllPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerDeathPotionByWitchDeath, createFakePlayerVoteByAllDeath, createFakePlayerVoteScapegoatedByAllDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeAngelAlivePlayer, createFakeHunterAlivePlayer, createFakeSeerAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer, createFakePlayerRole } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\nimport { createFakeGameHistoryRecordToInsert } from \"../../../../../../../factories/game/types/game-history-record/game-history-record.type.factory\";\nimport { createFakeObjectId } from \"../../../../../../../factories/shared/mongoose/mongoose.factory\";\n\njest.mock(\"../../../../../../../../src/shared/exception/types/resource-not-found-exception.type\");\n\ndescribe(\"Game History Record Service\", () => {\n let mocks: {\n gameHistoryRecordRepository: {\n create: jest.SpyInstance;\n getLastGameHistoryGuardProtectsRecord: jest.SpyInstance;\n getLastGameHistoryTieInVotesRecord: jest.SpyInstance;\n getGameHistoryWitchUsesSpecificPotionRecords: jest.SpyInstance;\n getGameHistoryVileFatherOfWolvesInfectedRecords: jest.SpyInstance;\n getGameHistoryJudgeRequestRecords: jest.SpyInstance;\n getGameHistoryWerewolvesEatAncientRecords: jest.SpyInstance;\n getGameHistoryAncientProtectedFromWerewolvesRecords: jest.SpyInstance;\n getPreviousGameHistoryRecord: jest.SpyInstance;\n getGameHistory: jest.SpyInstance;\n };\n gameRepository: { findOne: jest.SpyInstance };\n gamePlayVoteService: { getNominatedPlayers: jest.SpyInstance };\n unexpectedExceptionFactory: {\n createNoCurrentGamePlayUnexpectedException: jest.SpyInstance;\n };\n };\n let services: { gameHistoryRecord: GameHistoryRecordService };\n let repositories: { gameHistoryRecord: GameHistoryRecordRepository };\n\n beforeEach(async() => {\n mocks = {\n gameHistoryRecordRepository: {\n create: jest.fn(),\n getLastGameHistoryGuardProtectsRecord: jest.fn(),\n getLastGameHistoryTieInVotesRecord: jest.fn(),\n getGameHistoryWitchUsesSpecificPotionRecords: jest.fn(),\n getGameHistoryVileFatherOfWolvesInfectedRecords: jest.fn(),\n getGameHistoryJudgeRequestRecords: jest.fn(),\n getGameHistoryWerewolvesEatAncientRecords: jest.fn(),\n getGameHistoryAncientProtectedFromWerewolvesRecords: jest.fn(),\n getPreviousGameHistoryRecord: jest.fn(),\n getGameHistory: jest.fn(),\n },\n gameRepository: { findOne: jest.fn() },\n gamePlayVoteService: { getNominatedPlayers: jest.fn() },\n unexpectedExceptionFactory: { createNoCurrentGamePlayUnexpectedException: jest.spyOn(UnexpectedExceptionFactory, \"createNoCurrentGamePlayUnexpectedException\").mockImplementation() },\n };\n \n const module: TestingModule = await Test.createTestingModule({\n providers: [\n {\n provide: GameHistoryRecordRepository,\n useValue: mocks.gameHistoryRecordRepository,\n },\n {\n provide: GameRepository,\n useValue: mocks.gameRepository,\n },\n {\n provide: GamePlayVoteService,\n useValue: mocks.gamePlayVoteService,\n },\n GameHistoryRecordService,\n ],\n }).compile();\n\n services = { gameHistoryRecord: module.get(GameHistoryRecordService) };\n repositories = { gameHistoryRecord: module.get(GameHistoryRecordRepository) };\n });\n\n describe(\"createGameHistoryRecord\", () => {\n it(\"should create game history record when called with valid data.\", async() => {\n jest.spyOn(services.gameHistoryRecord as unknown as { validateGameHistoryRecordToInsertData }, \"validateGameHistoryRecordToInsertData\").mockImplementation();\n const validPlay = createFakeGameHistoryRecordToInsert({\n gameId: createFakeObjectId(),\n play: createFakeGameHistoryRecordPlay(),\n });\n await services.gameHistoryRecord.createGameHistoryRecord(validPlay);\n\n expect(repositories.gameHistoryRecord.create).toHaveBeenCalledExactlyOnceWith(validPlay);\n });\n });\n\n describe(\"getLastGameHistoryGuardProtectsRecord\", () => {\n it(\"should get game history when guard protected when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getLastGameHistoryGuardProtectsRecord(gameId);\n\n expect(repositories.gameHistoryRecord.getLastGameHistoryGuardProtectsRecord).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getLastGameHistoryTieInVotesRecord\", () => {\n it(\"should get game history when all voted and there was a tie when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getLastGameHistoryTieInVotesRecord(gameId);\n\n expect(repositories.gameHistoryRecord.getLastGameHistoryTieInVotesRecord).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getGameHistoryWitchUsesSpecificPotionRecords\", () => {\n it(\"should get game history records when witch used life potion when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryWitchUsesSpecificPotionRecords(gameId, WITCH_POTIONS.LIFE);\n\n expect(repositories.gameHistoryRecord.getGameHistoryWitchUsesSpecificPotionRecords).toHaveBeenCalledExactlyOnceWith(gameId, WITCH_POTIONS.LIFE);\n });\n\n it(\"should get game history records when witch used death potion when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryWitchUsesSpecificPotionRecords(gameId, WITCH_POTIONS.DEATH);\n\n expect(repositories.gameHistoryRecord.getGameHistoryWitchUsesSpecificPotionRecords).toHaveBeenCalledExactlyOnceWith(gameId, WITCH_POTIONS.DEATH);\n });\n });\n\n describe(\"getGameHistoryVileFatherOfWolvesInfectedRecords\", () => {\n it(\"should get game history records when vile father of wolves infected a player when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryVileFatherOfWolvesInfectedRecords(gameId);\n\n expect(repositories.gameHistoryRecord.getGameHistoryVileFatherOfWolvesInfectedRecords).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getGameHistoryJudgeRequestRecords\", () => {\n it(\"should get game history records when stuttering judge requested another vote when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryJudgeRequestRecords(gameId);\n\n expect(repositories.gameHistoryRecord.getGameHistoryJudgeRequestRecords).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n \n describe(\"getGameHistoryWerewolvesEatAncientRecords\", () => {\n it(\"should get game history records when any kind of werewolves eat ancient when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryWerewolvesEatAncientRecords(gameId);\n\n expect(repositories.gameHistoryRecord.getGameHistoryWerewolvesEatAncientRecords).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getGameHistoryAncientProtectedFromWerewolvesRecords\", () => {\n it(\"should get game history records when ancient is protected from werewolves when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryAncientProtectedFromWerewolvesRecords(gameId);\n\n expect(repositories.gameHistoryRecord.getGameHistoryAncientProtectedFromWerewolvesRecords).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getPreviousGameHistoryRecord\", () => {\n it(\"should previous game history record when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getPreviousGameHistoryRecord(gameId);\n\n expect(repositories.gameHistoryRecord.getPreviousGameHistoryRecord).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordToInsert\", () => {\n let localMocks: {\n gameHistoryRecordService: {\n generateCurrentGameHistoryRecordPlayToInsert: jest.SpyInstance;\n generateCurrentGameHistoryRecordRevealedPlayersToInsert: jest.SpyInstance;\n generateCurrentGameHistoryRecordDeadPlayersToInsert: jest.SpyInstance;\n generateCurrentGameHistoryRecordPlayVotingToInsert: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = {\n gameHistoryRecordService: {\n generateCurrentGameHistoryRecordPlayToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordPlayToInsert }, \"generateCurrentGameHistoryRecordPlayToInsert\").mockImplementation(),\n generateCurrentGameHistoryRecordRevealedPlayersToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordRevealedPlayersToInsert }, \"generateCurrentGameHistoryRecordRevealedPlayersToInsert\").mockImplementation(),\n generateCurrentGameHistoryRecordDeadPlayersToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordDeadPlayersToInsert }, \"generateCurrentGameHistoryRecordDeadPlayersToInsert\").mockImplementation(),\n generateCurrentGameHistoryRecordPlayVotingToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordPlayVotingToInsert }, \"generateCurrentGameHistoryRecordPlayVotingToInsert\").mockImplementation(),\n },\n };\n });\n \n it(\"should throw error when there is no current play for the game.\", () => {\n const baseGame = createFakeGame();\n const newGame = createFakeGame();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const interpolations = { gameId: baseGame._id };\n\n expect(() => services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play)).toThrow(undefined);\n expect(mocks.unexpectedExceptionFactory.createNoCurrentGamePlayUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"generateCurrentGameHistoryRecordToInsert\", interpolations);\n });\n \n it(\"should generate current game history to insert when called.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n const expectedCurrentGameHistoryToInsert = createFakeGameHistoryRecordToInsert({\n gameId: baseGame._id,\n turn: baseGame.turn,\n phase: baseGame.phase,\n tick: baseGame.tick,\n play: expectedCurrentGameHistoryPlayToInsert,\n });\n \n expect(services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play)).toStrictEqual(expectedCurrentGameHistoryToInsert);\n });\n\n it(\"should call generateCurrentGameHistoryRecordPlayToInsert method when called.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert).toHaveBeenCalledExactlyOnceWith(baseGame, play);\n });\n\n it(\"should call generateCurrentGameHistoryRecordRevealedPlayersToInsert method when called.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordRevealedPlayersToInsert).toHaveBeenCalledExactlyOnceWith(baseGame, newGame);\n });\n\n it(\"should call generateCurrentGameHistoryRecordDeadPlayersToInsert method when called.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordDeadPlayersToInsert).toHaveBeenCalledExactlyOnceWith(baseGame, newGame);\n });\n \n it(\"should call generateCurrentGameHistoryRecordPlayVotingToInsert method when called with votes.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay({ votes: [] });\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({\n gameId: baseGame._id,\n turn: baseGame.turn,\n phase: baseGame.phase,\n tick: baseGame.tick,\n play: expectedCurrentGameHistoryPlayToInsert,\n });\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingToInsert).toHaveBeenCalledExactlyOnceWith(baseGame, newGame, gameHistoryRecordToInsert);\n });\n\n it(\"should not call generateCurrentGameHistoryRecordPlayVotingToInsert method when called without votes.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingToInsert).not.toHaveBeenCalled();\n });\n });\n\n describe(\"getGameHistory\", () => {\n it(\"should call getGameHistory repository method when called.\", async() => {\n const game = createFakeGame();\n await services.gameHistoryRecord.getGameHistory(game._id);\n\n expect(mocks.gameHistoryRecordRepository.getGameHistory).toHaveBeenCalledExactlyOnceWith(game._id);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordDeadPlayersToInsert\", () => {\n it(\"should generate current game history dead players when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer({ isAlive: false }),\n createFakeVillagerAlivePlayer(),\n ];\n const baseGame = createFakeGame({ players });\n const newPlayers = [\n createFakePlayer({ ...players[0], isAlive: false }),\n createFakePlayer({ ...players[1] }),\n createFakePlayer({ ...players[2], isAlive: false }),\n createFakePlayer({ ...players[3] }),\n createFakePlayer({ ...players[4] }),\n createFakeAngelAlivePlayer({ isAlive: false }),\n ];\n const newGame = createFakeGame({\n ...baseGame,\n players: newPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordDeadPlayersToInsert\"](baseGame, newGame)).toStrictEqual([\n newPlayers[0],\n newPlayers[2],\n ]);\n });\n\n it(\"should return undefined when there is no dead players.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer({ isAlive: false }),\n createFakeVillagerAlivePlayer(),\n ];\n const baseGame = createFakeGame({ players });\n const newPlayers = [\n createFakePlayer({ ...players[0] }),\n createFakePlayer({ ...players[1] }),\n createFakePlayer({ ...players[2] }),\n createFakePlayer({ ...players[3] }),\n createFakePlayer({ ...players[4] }),\n createFakeAngelAlivePlayer({ isAlive: false }),\n ];\n const newGame = createFakeGame({\n ...baseGame,\n players: newPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordDeadPlayersToInsert\"](baseGame, newGame)).toBeUndefined();\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordRevealedPlayersToInsert\", () => {\n it(\"should generate current game history revealed players but alive when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ role: createFakePlayerRole({ isRevealed: true }) }),\n createFakeWerewolfAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ isAlive: false, role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n ];\n const baseGame = createFakeGame({ players });\n const newPlayers = [\n createFakePlayer({ ...players[0], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[1], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[2], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[3], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[4], role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeAngelAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n ];\n const newGame = createFakeGame({\n ...baseGame,\n players: newPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordRevealedPlayersToInsert\"](baseGame, newGame)).toStrictEqual([\n newPlayers[0],\n newPlayers[2],\n ]);\n });\n\n it(\"should return undefined when there is no new revealed players.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ role: createFakePlayerRole({ isRevealed: true }) }),\n createFakeWerewolfAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ isAlive: false, role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n ];\n const baseGame = createFakeGame({ players });\n const newPlayers = [\n createFakePlayer({ ...players[0], role: createFakePlayerRole({ isRevealed: false }) }),\n createFakePlayer({ ...players[1], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[2], role: createFakePlayerRole({ isRevealed: false }) }),\n createFakePlayer({ ...players[3], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[4], role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeAngelAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n ];\n const newGame = createFakeGame({\n ...baseGame,\n players: newPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordRevealedPlayersToInsert\"](baseGame, newGame)).toBeUndefined();\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordPlayToInsert\", () => {\n let localMocks: { gameHistoryRecordService: { generateCurrentGameHistoryRecordPlaySourceToInsert: jest.SpyInstance } };\n\n beforeEach(() => {\n localMocks = { gameHistoryRecordService: { generateCurrentGameHistoryRecordPlaySourceToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordPlaySourceToInsert }, \"generateCurrentGameHistoryRecordPlaySourceToInsert\").mockImplementation() } };\n });\n\n it(\"should generate current game history record play to insert when called.\", () => {\n const game = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto({\n doesJudgeRequestAnotherVote: true,\n targets: [createFakeGameHistoryRecordPlayTarget({ isInfected: true })],\n votes: [createFakeGameHistoryRecordPlayVote()],\n chosenCard: createFakeGameAdditionalCard(),\n chosenSide: ROLE_SIDES.VILLAGERS,\n });\n const expectedGameHistoryRecordPlaySource = { name: undefined, players: undefined };\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlaySourceToInsert.mockReturnValue(expectedGameHistoryRecordPlaySource);\n const expectedGameHistoryRecordPlay = createFakeGameHistoryRecordPlay({\n action: game.currentPlay.action,\n didJudgeRequestAnotherVote: play.doesJudgeRequestAnotherVote,\n targets: play.targets,\n votes: play.votes,\n chosenCard: play.chosenCard,\n chosenSide: play.chosenSide,\n }, { source: expectedGameHistoryRecordPlaySource });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayToInsert\"](game, play)).toStrictEqual(expectedGameHistoryRecordPlay);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\", () => {\n it(\"should return sheriff election when there is a sheriff in the game.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllElectSheriff() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer({ ...players[1], attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert();\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.SHERIFF_ELECTION);\n });\n\n it(\"should return tie when there is no sheriff in the game after election.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllElectSheriff() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert();\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.TIE);\n });\n\n it(\"should return death when there is at least one dead player from votes.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteByAllDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n });\n\n it(\"should return death when there is at least one dead player from scapegoat votes.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteScapegoatedByAllDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n });\n\n it(\"should return inconsequential when there is no death from votes and current play was already after a tie.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES }) });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.INCONSEQUENTIAL);\n });\n\n it(\"should return tie when there is no death from votes and current play was not after a tie.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.STUTTERING_JUDGE_REQUEST }) });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.TIE);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordPlayVotingToInsert\", () => {\n let localMocks: {\n gameHistoryRecordService: {\n generateCurrentGameHistoryRecordPlayVotingResultToInsert: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = { gameHistoryRecordService: { generateCurrentGameHistoryRecordPlayVotingResultToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordPlayVotingResultToInsert }, \"generateCurrentGameHistoryRecordPlayVotingResultToInsert\").mockImplementation() } };\n });\n \n it(\"should generate current game history record play voting when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const newGame = createFakeGameWithCurrentPlay(game);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert();\n const nominatedPlayers = [players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert.mockReturnValue(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n const expectedCurrentGameHistoryRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({\n result: GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH,\n nominatedPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingToInsert\"](game, newGame, gameHistoryRecordToInsert)).toStrictEqual(expectedCurrentGameHistoryRecordPlayVoting);\n });\n\n it(\"should call getNominatedPlayers method with empty votes when called without votes.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const newGame = createFakeGameWithCurrentPlay(game);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert();\n const nominatedPlayers = [players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert.mockReturnValue(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingToInsert\"](game, newGame, gameHistoryRecordToInsert);\n\n expect(mocks.gamePlayVoteService.getNominatedPlayers).toHaveBeenCalledExactlyOnceWith([], game);\n });\n\n it(\"should call getNominatedPlayers method with votes when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const newGame = createFakeGameWithCurrentPlay(game);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] }) });\n const nominatedPlayers = [players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert.mockReturnValue(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingToInsert\"](game, newGame, gameHistoryRecordToInsert);\n\n expect(mocks.gamePlayVoteService.getNominatedPlayers).toHaveBeenCalledExactlyOnceWith(gameHistoryRecordToInsert.play.votes, game);\n });\n\n it(\"should call generateCurrentGameHistoryRecordPlayVotingResultToInsert method when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const newGame = createFakeGameWithCurrentPlay(game);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] }) });\n const nominatedPlayers = [players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert.mockReturnValue(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingToInsert\"](game, newGame, gameHistoryRecordToInsert);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert).toHaveBeenCalledExactlyOnceWith(game, newGame, gameHistoryRecordToInsert);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordPlaySourceToInsert\", () => {\n it(\"should generate current game history record play source when called.\", () => {\n const players = [\n createFakeHunterAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer({ isAlive: false }),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createGamePlayAllElectSheriff(), players });\n const expectedGameHistoryRecordPlaySource = createFakeGameHistoryRecordPlaySource({\n name: game.currentPlay.source,\n players: [players[0], players[1], players[3]],\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlaySourceToInsert\"](game)).toStrictEqual(expectedGameHistoryRecordPlaySource);\n });\n });\n\n describe(\"validateGameHistoryRecordToInsertPlayData\", () => {\n const fakeGameAdditionalCards = bulkCreateFakeGameAdditionalCards(3);\n const fakeGame = createFakeGame({ players: bulkCreateFakePlayers(4), additionalCards: fakeGameAdditionalCards });\n const fakePlayer = createFakePlayer();\n const fakeCard = createFakeGameAdditionalCard();\n\n it.each<{ play: GameHistoryRecordPlay; test: string; errorParameters: [API_RESOURCES, string, string] }>([\n {\n play: createFakeGameHistoryRecordPlay({ source: { name: PLAYER_ATTRIBUTE_NAMES.SHERIFF, players: [fakePlayer] } }),\n test: \"a source is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `source.players` is not in the game players\"],\n },\n {\n play: createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n targets: [{ player: fakePlayer }],\n }),\n test: \"a target is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `targets.player` is not in the game players\"],\n },\n {\n play: createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n votes: [{ source: fakePlayer, target: fakeGame.players[0] }],\n }),\n test: \"a vote source is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `votes.source` is not in the game players\"],\n },\n {\n play: createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n votes: [{ target: fakePlayer, source: fakeGame.players[0] }],\n }),\n test: \"a vote target is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `votes.target` is not in the game players\"],\n },\n {\n play: createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n chosenCard: fakeCard,\n }),\n test: \"chosen card is not in the game\",\n errorParameters: [API_RESOURCES.GAME_ADDITIONAL_CARDS, fakeCard._id.toString(), \"Game Play - Chosen card is not in the game additional cards\"],\n },\n ])(\"should throw resource not found error when $test [#$#].\", ({ play, errorParameters }) => {\n expect(() => services.gameHistoryRecord[\"validateGameHistoryRecordToInsertPlayData\"](play, fakeGame)).toThrow(ResourceNotFoundException);\n expect(ResourceNotFoundException).toHaveBeenCalledExactlyOnceWith(...errorParameters);\n });\n\n it(\"should not throw any errors when called with valid play data.\", () => {\n const validPlay = createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n targets: [{ player: fakeGame.players[0] }],\n votes: [{ target: fakeGame.players[1], source: fakeGame.players[0] }],\n chosenCard: fakeGameAdditionalCards[1],\n });\n\n expect(() => services.gameHistoryRecord[\"validateGameHistoryRecordToInsertPlayData\"](validPlay, fakeGame)).not.toThrow();\n });\n });\n\n describe(\"validateGameHistoryRecordToInsertData\", () => {\n const existingId = createFakeObjectId();\n const existingGame = createFakeGame();\n const fakePlayer = createFakePlayer();\n const unknownId = createFakeObjectId();\n\n beforeEach(() => {\n when(mocks.gameRepository.findOne).calledWith({ _id: unknownId.toJSON() }).mockResolvedValue(null);\n when(mocks.gameRepository.findOne).calledWith({ _id: existingId.toJSON() }).mockResolvedValue(existingGame);\n });\n\n it.each<{ gameHistoryRecord: GameHistoryRecordToInsert; test: string; errorParameters: [API_RESOURCES, string, string] }>([\n {\n gameHistoryRecord: createFakeGameHistoryRecordToInsert({ gameId: unknownId }),\n test: \"game is not found with specified gameId\",\n errorParameters: [API_RESOURCES.GAMES, unknownId.toString(), \"Game Play - Game Id is unknown in database\"],\n },\n {\n gameHistoryRecord: createFakeGameHistoryRecordToInsert({ gameId: existingId, revealedPlayers: [fakePlayer] }),\n test: \"a revealed player is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `revealedPlayers` is not in the game players\"],\n },\n {\n gameHistoryRecord: createFakeGameHistoryRecordToInsert({ gameId: existingId, deadPlayers: [fakePlayer] }),\n test: \"a dead player is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `deadPlayers` is not in the game players\"],\n },\n ])(\"should throw resource not found error when $test [#$#].\", async({ gameHistoryRecord, errorParameters }) => {\n await expect(services.gameHistoryRecord[\"validateGameHistoryRecordToInsertData\"](gameHistoryRecord)).toReject();\n expect(ResourceNotFoundException).toHaveBeenCalledExactlyOnceWith(...errorParameters);\n });\n\n it(\"should not throw any errors when called with valid data.\", async() => {\n const validPlay = createFakeGameHistoryRecordToInsert({\n gameId: existingId,\n play: createFakeGameHistoryRecordPlay({ source: { name: PLAYER_ATTRIBUTE_NAMES.SHERIFF, players: existingGame.players } }),\n revealedPlayers: existingGame.players,\n deadPlayers: existingGame.players,\n });\n\n await expect(services.gameHistoryRecord[\"validateGameHistoryRecordToInsertData\"](validPlay)).resolves.not.toThrow();\n });\n });\n});" + "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport { when } from \"jest-when\";\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 } from \"../../../../../../../../src/modules/game/enums/player.enum\";\nimport { createGamePlayAllElectSheriff } from \"../../../../../../../../src/modules/game/helpers/game-play/game-play.factory\";\nimport { GameHistoryRecordRepository } from \"../../../../../../../../src/modules/game/providers/repositories/game-history-record.repository\";\nimport { GameRepository } from \"../../../../../../../../src/modules/game/providers/repositories/game.repository\";\nimport { GameHistoryRecordService } from \"../../../../../../../../src/modules/game/providers/services/game-history/game-history-record.service\";\nimport { GamePlayVoteService } from \"../../../../../../../../src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service\";\nimport type { GameHistoryRecordPlay } from \"../../../../../../../../src/modules/game/schemas/game-history-record/game-history-record-play/game-history-record-play.schema\";\nimport type { Player } from \"../../../../../../../../src/modules/game/schemas/player/player.schema\";\nimport type { GameHistoryRecordToInsert } from \"../../../../../../../../src/modules/game/types/game-history-record.type\";\nimport { ROLE_SIDES } from \"../../../../../../../../src/modules/role/enums/role.enum\";\nimport { API_RESOURCES } from \"../../../../../../../../src/shared/api/enums/api.enum\";\nimport * as UnexpectedExceptionFactory from \"../../../../../../../../src/shared/exception/helpers/unexpected-exception.factory\";\nimport { ResourceNotFoundException } from \"../../../../../../../../src/shared/exception/types/resource-not-found-exception.type\";\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 { createFakeGameHistoryRecordPlay, createFakeGameHistoryRecordPlaySource, createFakeGameHistoryRecordPlayTarget, createFakeGameHistoryRecordPlayVote, createFakeGameHistoryRecordPlayVoting } from \"../../../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeGamePlayAllElectSheriff, createFakeGamePlayAllVote } from \"../../../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"../../../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeSheriffByAllPlayerAttribute } from \"../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerDeathPotionByWitchDeath, createFakePlayerVoteByAllDeath, createFakePlayerVoteScapegoatedByAllDeath } from \"../../../../../../../factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeAngelAlivePlayer, createFakeHunterAlivePlayer, createFakeSeerAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer } from \"../../../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer, createFakePlayerRole } from \"../../../../../../../factories/game/schemas/player/player.schema.factory\";\nimport { createFakeGameHistoryRecordToInsert } from \"../../../../../../../factories/game/types/game-history-record/game-history-record.type.factory\";\nimport { createFakeObjectId } from \"../../../../../../../factories/shared/mongoose/mongoose.factory\";\n\njest.mock(\"../../../../../../../../src/shared/exception/types/resource-not-found-exception.type\");\n\ndescribe(\"Game History Record Service\", () => {\n let mocks: {\n gameHistoryRecordRepository: {\n create: jest.SpyInstance;\n getLastGameHistoryGuardProtectsRecord: jest.SpyInstance;\n getLastGameHistoryTieInVotesRecord: jest.SpyInstance;\n getGameHistoryWitchUsesSpecificPotionRecords: jest.SpyInstance;\n getGameHistoryVileFatherOfWolvesInfectedRecords: jest.SpyInstance;\n getGameHistoryJudgeRequestRecords: jest.SpyInstance;\n getGameHistoryWerewolvesEatAncientRecords: jest.SpyInstance;\n getGameHistoryAncientProtectedFromWerewolvesRecords: jest.SpyInstance;\n getPreviousGameHistoryRecord: jest.SpyInstance;\n getGameHistory: jest.SpyInstance;\n };\n gameRepository: { findOne: jest.SpyInstance };\n gamePlayVoteService: { getNominatedPlayers: jest.SpyInstance };\n unexpectedExceptionFactory: {\n createNoCurrentGamePlayUnexpectedException: jest.SpyInstance;\n };\n };\n let services: { gameHistoryRecord: GameHistoryRecordService };\n let repositories: { gameHistoryRecord: GameHistoryRecordRepository };\n\n beforeEach(async() => {\n mocks = {\n gameHistoryRecordRepository: {\n create: jest.fn(),\n getLastGameHistoryGuardProtectsRecord: jest.fn(),\n getLastGameHistoryTieInVotesRecord: jest.fn(),\n getGameHistoryWitchUsesSpecificPotionRecords: jest.fn(),\n getGameHistoryVileFatherOfWolvesInfectedRecords: jest.fn(),\n getGameHistoryJudgeRequestRecords: jest.fn(),\n getGameHistoryWerewolvesEatAncientRecords: jest.fn(),\n getGameHistoryAncientProtectedFromWerewolvesRecords: jest.fn(),\n getPreviousGameHistoryRecord: jest.fn(),\n getGameHistory: jest.fn(),\n },\n gameRepository: { findOne: jest.fn() },\n gamePlayVoteService: { getNominatedPlayers: jest.fn() },\n unexpectedExceptionFactory: { createNoCurrentGamePlayUnexpectedException: jest.spyOn(UnexpectedExceptionFactory, \"createNoCurrentGamePlayUnexpectedException\").mockImplementation() },\n };\n \n const module: TestingModule = await Test.createTestingModule({\n providers: [\n {\n provide: GameHistoryRecordRepository,\n useValue: mocks.gameHistoryRecordRepository,\n },\n {\n provide: GameRepository,\n useValue: mocks.gameRepository,\n },\n {\n provide: GamePlayVoteService,\n useValue: mocks.gamePlayVoteService,\n },\n GameHistoryRecordService,\n ],\n }).compile();\n\n services = { gameHistoryRecord: module.get(GameHistoryRecordService) };\n repositories = { gameHistoryRecord: module.get(GameHistoryRecordRepository) };\n });\n\n describe(\"createGameHistoryRecord\", () => {\n it(\"should create game history record when called with valid data.\", async() => {\n jest.spyOn(services.gameHistoryRecord as unknown as { validateGameHistoryRecordToInsertData }, \"validateGameHistoryRecordToInsertData\").mockImplementation();\n const validPlay = createFakeGameHistoryRecordToInsert({\n gameId: createFakeObjectId(),\n play: createFakeGameHistoryRecordPlay(),\n });\n await services.gameHistoryRecord.createGameHistoryRecord(validPlay);\n\n expect(repositories.gameHistoryRecord.create).toHaveBeenCalledExactlyOnceWith(validPlay);\n });\n });\n\n describe(\"getLastGameHistoryGuardProtectsRecord\", () => {\n it(\"should get game history when guard protected when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getLastGameHistoryGuardProtectsRecord(gameId);\n\n expect(repositories.gameHistoryRecord.getLastGameHistoryGuardProtectsRecord).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getLastGameHistoryTieInVotesRecord\", () => {\n it(\"should get game history when all voted and there was a tie when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getLastGameHistoryTieInVotesRecord(gameId);\n\n expect(repositories.gameHistoryRecord.getLastGameHistoryTieInVotesRecord).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getGameHistoryWitchUsesSpecificPotionRecords\", () => {\n it(\"should get game history records when witch used life potion when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryWitchUsesSpecificPotionRecords(gameId, WITCH_POTIONS.LIFE);\n\n expect(repositories.gameHistoryRecord.getGameHistoryWitchUsesSpecificPotionRecords).toHaveBeenCalledExactlyOnceWith(gameId, WITCH_POTIONS.LIFE);\n });\n\n it(\"should get game history records when witch used death potion when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryWitchUsesSpecificPotionRecords(gameId, WITCH_POTIONS.DEATH);\n\n expect(repositories.gameHistoryRecord.getGameHistoryWitchUsesSpecificPotionRecords).toHaveBeenCalledExactlyOnceWith(gameId, WITCH_POTIONS.DEATH);\n });\n });\n\n describe(\"getGameHistoryVileFatherOfWolvesInfectedRecords\", () => {\n it(\"should get game history records when vile father of wolves infected a player when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryVileFatherOfWolvesInfectedRecords(gameId);\n\n expect(repositories.gameHistoryRecord.getGameHistoryVileFatherOfWolvesInfectedRecords).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getGameHistoryJudgeRequestRecords\", () => {\n it(\"should get game history records when stuttering judge requested another vote when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryJudgeRequestRecords(gameId);\n\n expect(repositories.gameHistoryRecord.getGameHistoryJudgeRequestRecords).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n \n describe(\"getGameHistoryWerewolvesEatAncientRecords\", () => {\n it(\"should get game history records when any kind of werewolves eat ancient when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryWerewolvesEatAncientRecords(gameId);\n\n expect(repositories.gameHistoryRecord.getGameHistoryWerewolvesEatAncientRecords).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getGameHistoryAncientProtectedFromWerewolvesRecords\", () => {\n it(\"should get game history records when ancient is protected from werewolves when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getGameHistoryAncientProtectedFromWerewolvesRecords(gameId);\n\n expect(repositories.gameHistoryRecord.getGameHistoryAncientProtectedFromWerewolvesRecords).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"getPreviousGameHistoryRecord\", () => {\n it(\"should previous game history record when called.\", async() => {\n const gameId = createFakeObjectId();\n await services.gameHistoryRecord.getPreviousGameHistoryRecord(gameId);\n\n expect(repositories.gameHistoryRecord.getPreviousGameHistoryRecord).toHaveBeenCalledExactlyOnceWith(gameId);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordToInsert\", () => {\n let localMocks: {\n gameHistoryRecordService: {\n generateCurrentGameHistoryRecordPlayToInsert: jest.SpyInstance;\n generateCurrentGameHistoryRecordRevealedPlayersToInsert: jest.SpyInstance;\n generateCurrentGameHistoryRecordDeadPlayersToInsert: jest.SpyInstance;\n generateCurrentGameHistoryRecordPlayVotingToInsert: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = {\n gameHistoryRecordService: {\n generateCurrentGameHistoryRecordPlayToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordPlayToInsert }, \"generateCurrentGameHistoryRecordPlayToInsert\").mockImplementation(),\n generateCurrentGameHistoryRecordRevealedPlayersToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordRevealedPlayersToInsert }, \"generateCurrentGameHistoryRecordRevealedPlayersToInsert\").mockImplementation(),\n generateCurrentGameHistoryRecordDeadPlayersToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordDeadPlayersToInsert }, \"generateCurrentGameHistoryRecordDeadPlayersToInsert\").mockImplementation(),\n generateCurrentGameHistoryRecordPlayVotingToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordPlayVotingToInsert }, \"generateCurrentGameHistoryRecordPlayVotingToInsert\").mockImplementation(),\n },\n };\n });\n \n it(\"should throw error when there is no current play for the game.\", () => {\n const baseGame = createFakeGame();\n const newGame = createFakeGame();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const interpolations = { gameId: baseGame._id };\n\n expect(() => services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play)).toThrow(undefined);\n expect(mocks.unexpectedExceptionFactory.createNoCurrentGamePlayUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"generateCurrentGameHistoryRecordToInsert\", interpolations);\n });\n \n it(\"should generate current game history to insert when called.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n const expectedCurrentGameHistoryToInsert = createFakeGameHistoryRecordToInsert({\n gameId: baseGame._id,\n turn: baseGame.turn,\n phase: baseGame.phase,\n tick: baseGame.tick,\n play: expectedCurrentGameHistoryPlayToInsert,\n });\n \n expect(services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play)).toStrictEqual(expectedCurrentGameHistoryToInsert);\n });\n\n it(\"should call generateCurrentGameHistoryRecordPlayToInsert method when called.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert).toHaveBeenCalledExactlyOnceWith(baseGame, play);\n });\n\n it(\"should call generateCurrentGameHistoryRecordRevealedPlayersToInsert method when called.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordRevealedPlayersToInsert).toHaveBeenCalledExactlyOnceWith(baseGame, newGame);\n });\n\n it(\"should call generateCurrentGameHistoryRecordDeadPlayersToInsert method when called.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordDeadPlayersToInsert).toHaveBeenCalledExactlyOnceWith(baseGame, newGame);\n });\n \n it(\"should call generateCurrentGameHistoryRecordPlayVotingToInsert method when called with votes.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay({ votes: [] });\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({\n gameId: baseGame._id,\n turn: baseGame.turn,\n phase: baseGame.phase,\n tick: baseGame.tick,\n play: expectedCurrentGameHistoryPlayToInsert,\n });\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingToInsert).toHaveBeenCalledExactlyOnceWith(baseGame, newGame, gameHistoryRecordToInsert);\n });\n\n it(\"should not call generateCurrentGameHistoryRecordPlayVotingToInsert method when called without votes.\", () => {\n const baseGame = createFakeGameWithCurrentPlay();\n const newGame = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedCurrentGameHistoryPlayToInsert = createFakeGameHistoryRecordPlay();\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayToInsert.mockReturnValue(expectedCurrentGameHistoryPlayToInsert);\n services.gameHistoryRecord.generateCurrentGameHistoryRecordToInsert(baseGame, newGame, play);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingToInsert).not.toHaveBeenCalled();\n });\n });\n\n describe(\"getGameHistory\", () => {\n it(\"should call getGameHistory repository method when called.\", async() => {\n const game = createFakeGame();\n await services.gameHistoryRecord.getGameHistory(game._id);\n\n expect(mocks.gameHistoryRecordRepository.getGameHistory).toHaveBeenCalledExactlyOnceWith(game._id);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordDeadPlayersToInsert\", () => {\n it(\"should generate current game history dead players when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer({ isAlive: false }),\n createFakeVillagerAlivePlayer(),\n ];\n const baseGame = createFakeGame({ players });\n const newPlayers = [\n createFakePlayer({ ...players[0], isAlive: false }),\n createFakePlayer({ ...players[1] }),\n createFakePlayer({ ...players[2], isAlive: false }),\n createFakePlayer({ ...players[3] }),\n createFakePlayer({ ...players[4] }),\n createFakeAngelAlivePlayer({ isAlive: false }),\n ];\n const newGame = createFakeGame({\n ...baseGame,\n players: newPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordDeadPlayersToInsert\"](baseGame, newGame)).toStrictEqual([\n newPlayers[0],\n newPlayers[2],\n ]);\n });\n\n it(\"should return undefined when there is no dead players.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer({ isAlive: false }),\n createFakeVillagerAlivePlayer(),\n ];\n const baseGame = createFakeGame({ players });\n const newPlayers = [\n createFakePlayer({ ...players[0] }),\n createFakePlayer({ ...players[1] }),\n createFakePlayer({ ...players[2] }),\n createFakePlayer({ ...players[3] }),\n createFakePlayer({ ...players[4] }),\n createFakeAngelAlivePlayer({ isAlive: false }),\n ];\n const newGame = createFakeGame({\n ...baseGame,\n players: newPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordDeadPlayersToInsert\"](baseGame, newGame)).toBeUndefined();\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordRevealedPlayersToInsert\", () => {\n it(\"should generate current game history revealed players but alive when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ role: createFakePlayerRole({ isRevealed: true }) }),\n createFakeWerewolfAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ isAlive: false, role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n ];\n const baseGame = createFakeGame({ players });\n const newPlayers = [\n createFakePlayer({ ...players[0], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[1], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[2], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[3], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[4], role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeAngelAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n ];\n const newGame = createFakeGame({\n ...baseGame,\n players: newPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordRevealedPlayersToInsert\"](baseGame, newGame)).toStrictEqual([\n newPlayers[0],\n newPlayers[2],\n ]);\n });\n\n it(\"should return undefined when there is no new revealed players.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ role: createFakePlayerRole({ isRevealed: true }) }),\n createFakeWerewolfAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ isAlive: false, role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeVillagerAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n ];\n const baseGame = createFakeGame({ players });\n const newPlayers = [\n createFakePlayer({ ...players[0], role: createFakePlayerRole({ isRevealed: false }) }),\n createFakePlayer({ ...players[1], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[2], role: createFakePlayerRole({ isRevealed: false }) }),\n createFakePlayer({ ...players[3], role: createFakePlayerRole({ isRevealed: true }) }),\n createFakePlayer({ ...players[4], role: createFakePlayerRole({ isRevealed: false }) }),\n createFakeAngelAlivePlayer({ role: createFakePlayerRole({ isRevealed: false }) }),\n ];\n const newGame = createFakeGame({\n ...baseGame,\n players: newPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordRevealedPlayersToInsert\"](baseGame, newGame)).toBeUndefined();\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordPlayToInsert\", () => {\n let localMocks: { gameHistoryRecordService: { generateCurrentGameHistoryRecordPlaySourceToInsert: jest.SpyInstance } };\n\n beforeEach(() => {\n localMocks = { gameHistoryRecordService: { generateCurrentGameHistoryRecordPlaySourceToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordPlaySourceToInsert }, \"generateCurrentGameHistoryRecordPlaySourceToInsert\").mockImplementation() } };\n });\n\n it(\"should generate current game history record play to insert when called.\", () => {\n const game = createFakeGameWithCurrentPlay();\n const play = createFakeMakeGamePlayWithRelationsDto({\n doesJudgeRequestAnotherVote: true,\n targets: [createFakeGameHistoryRecordPlayTarget({ isInfected: true })],\n votes: [createFakeGameHistoryRecordPlayVote()],\n chosenCard: createFakeGameAdditionalCard(),\n chosenSide: ROLE_SIDES.VILLAGERS,\n });\n const expectedGameHistoryRecordPlaySource = { name: undefined, players: undefined };\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlaySourceToInsert.mockReturnValue(expectedGameHistoryRecordPlaySource);\n const expectedGameHistoryRecordPlay = createFakeGameHistoryRecordPlay({\n action: game.currentPlay.action,\n didJudgeRequestAnotherVote: play.doesJudgeRequestAnotherVote,\n targets: play.targets,\n votes: play.votes,\n chosenCard: play.chosenCard,\n chosenSide: play.chosenSide,\n }, { source: expectedGameHistoryRecordPlaySource });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayToInsert\"](game, play)).toStrictEqual(expectedGameHistoryRecordPlay);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\", () => {\n it(\"should return sheriff election when there is a sheriff in the game.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllElectSheriff() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer({ ...players[1], attributes: [createFakeSheriffByAllPlayerAttribute()] }),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert();\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.SHERIFF_ELECTION);\n });\n\n it(\"should return tie when there is no sheriff in the game after election.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllElectSheriff() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert();\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.TIE);\n });\n\n it(\"should return skipped when there are no vote set.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: undefined });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteByAllDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.SKIPPED);\n });\n\n it(\"should return skipped when votes are empty.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [] });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteByAllDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.SKIPPED);\n });\n\n it(\"should return death when there is at least one dead player from votes.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] });\n const deadPlayers = [\n createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteByAllDeath() }),\n createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() }),\n ];\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n });\n\n it(\"should return death when there is at least one dead player from scapegoat votes.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote() });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteScapegoatedByAllDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n });\n\n it(\"should return inconsequential when there is no death from votes and current play was already after a tie.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES }) });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.INCONSEQUENTIAL);\n });\n\n it(\"should return tie when there is no death from votes and current play was not after a tie.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeHunterAlivePlayer(),\n createFakeSeerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.STUTTERING_JUDGE_REQUEST }) });\n const newGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer(players[0]),\n createFakePlayer(players[1]),\n createFakePlayer(players[2]),\n createFakePlayer(players[3]),\n ],\n });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] });\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() })] });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingResultToInsert\"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.TIE);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordPlayVotingToInsert\", () => {\n let localMocks: {\n gameHistoryRecordService: {\n generateCurrentGameHistoryRecordPlayVotingResultToInsert: jest.SpyInstance;\n };\n };\n\n beforeEach(() => {\n localMocks = { gameHistoryRecordService: { generateCurrentGameHistoryRecordPlayVotingResultToInsert: jest.spyOn(services.gameHistoryRecord as unknown as { generateCurrentGameHistoryRecordPlayVotingResultToInsert }, \"generateCurrentGameHistoryRecordPlayVotingResultToInsert\").mockImplementation() } };\n });\n \n it(\"should generate current game history record play voting when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const newGame = createFakeGameWithCurrentPlay(game);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert();\n const nominatedPlayers = [players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert.mockReturnValue(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n const expectedCurrentGameHistoryRecordPlayVoting = createFakeGameHistoryRecordPlayVoting({\n result: GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH,\n nominatedPlayers,\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingToInsert\"](game, newGame, gameHistoryRecordToInsert)).toStrictEqual(expectedCurrentGameHistoryRecordPlayVoting);\n });\n\n it(\"should call getNominatedPlayers method with empty votes when called without votes.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const newGame = createFakeGameWithCurrentPlay(game);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert();\n const nominatedPlayers = [players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert.mockReturnValue(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingToInsert\"](game, newGame, gameHistoryRecordToInsert);\n\n expect(mocks.gamePlayVoteService.getNominatedPlayers).toHaveBeenCalledExactlyOnceWith([], game);\n });\n\n it(\"should call getNominatedPlayers method with votes when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const newGame = createFakeGameWithCurrentPlay(game);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] }) });\n const nominatedPlayers = [players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert.mockReturnValue(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingToInsert\"](game, newGame, gameHistoryRecordToInsert);\n\n expect(mocks.gamePlayVoteService.getNominatedPlayers).toHaveBeenCalledExactlyOnceWith(gameHistoryRecordToInsert.play.votes, game);\n });\n\n it(\"should call generateCurrentGameHistoryRecordPlayVotingResultToInsert method when called.\", () => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const newGame = createFakeGameWithCurrentPlay(game);\n const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] }) });\n const nominatedPlayers = [players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert.mockReturnValue(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH);\n services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlayVotingToInsert\"](game, newGame, gameHistoryRecordToInsert);\n\n expect(localMocks.gameHistoryRecordService.generateCurrentGameHistoryRecordPlayVotingResultToInsert).toHaveBeenCalledExactlyOnceWith(game, newGame, gameHistoryRecordToInsert);\n });\n });\n\n describe(\"generateCurrentGameHistoryRecordPlaySourceToInsert\", () => {\n it(\"should generate current game history record play source when called.\", () => {\n const players = [\n createFakeHunterAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeVillagerAlivePlayer({ isAlive: false }),\n createFakeVillagerAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ currentPlay: createGamePlayAllElectSheriff(), players });\n const expectedGameHistoryRecordPlaySource = createFakeGameHistoryRecordPlaySource({\n name: game.currentPlay.source,\n players: [players[0], players[1], players[3]],\n });\n\n expect(services.gameHistoryRecord[\"generateCurrentGameHistoryRecordPlaySourceToInsert\"](game)).toStrictEqual(expectedGameHistoryRecordPlaySource);\n });\n });\n\n describe(\"validateGameHistoryRecordToInsertPlayData\", () => {\n const fakeGameAdditionalCards = bulkCreateFakeGameAdditionalCards(3);\n const fakeGame = createFakeGame({ players: bulkCreateFakePlayers(4), additionalCards: fakeGameAdditionalCards });\n const fakePlayer = createFakePlayer();\n const fakeCard = createFakeGameAdditionalCard();\n\n it.each<{ play: GameHistoryRecordPlay; test: string; errorParameters: [API_RESOURCES, string, string] }>([\n {\n play: createFakeGameHistoryRecordPlay({ source: { name: PLAYER_ATTRIBUTE_NAMES.SHERIFF, players: [fakePlayer] } }),\n test: \"a source is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `source.players` is not in the game players\"],\n },\n {\n play: createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n targets: [{ player: fakePlayer }],\n }),\n test: \"a target is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `targets.player` is not in the game players\"],\n },\n {\n play: createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n votes: [{ source: fakePlayer, target: fakeGame.players[0] }],\n }),\n test: \"a vote source is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `votes.source` is not in the game players\"],\n },\n {\n play: createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n votes: [{ target: fakePlayer, source: fakeGame.players[0] }],\n }),\n test: \"a vote target is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `votes.target` is not in the game players\"],\n },\n {\n play: createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n chosenCard: fakeCard,\n }),\n test: \"chosen card is not in the game\",\n errorParameters: [API_RESOURCES.GAME_ADDITIONAL_CARDS, fakeCard._id.toString(), \"Game Play - Chosen card is not in the game additional cards\"],\n },\n ])(\"should throw resource not found error when $test [#$#].\", ({ play, errorParameters }) => {\n expect(() => services.gameHistoryRecord[\"validateGameHistoryRecordToInsertPlayData\"](play, fakeGame)).toThrow(ResourceNotFoundException);\n expect(ResourceNotFoundException).toHaveBeenCalledExactlyOnceWith(...errorParameters);\n });\n\n it(\"should not throw any errors when called with valid play data.\", () => {\n const validPlay = createFakeGameHistoryRecordPlay({\n source: {\n name: PLAYER_ATTRIBUTE_NAMES.SHERIFF,\n players: fakeGame.players,\n },\n targets: [{ player: fakeGame.players[0] }],\n votes: [{ target: fakeGame.players[1], source: fakeGame.players[0] }],\n chosenCard: fakeGameAdditionalCards[1],\n });\n\n expect(() => services.gameHistoryRecord[\"validateGameHistoryRecordToInsertPlayData\"](validPlay, fakeGame)).not.toThrow();\n });\n });\n\n describe(\"validateGameHistoryRecordToInsertData\", () => {\n const existingId = createFakeObjectId();\n const existingGame = createFakeGame();\n const fakePlayer = createFakePlayer();\n const unknownId = createFakeObjectId();\n\n beforeEach(() => {\n when(mocks.gameRepository.findOne).calledWith({ _id: unknownId.toJSON() }).mockResolvedValue(null);\n when(mocks.gameRepository.findOne).calledWith({ _id: existingId.toJSON() }).mockResolvedValue(existingGame);\n });\n\n it.each<{ gameHistoryRecord: GameHistoryRecordToInsert; test: string; errorParameters: [API_RESOURCES, string, string] }>([\n {\n gameHistoryRecord: createFakeGameHistoryRecordToInsert({ gameId: unknownId }),\n test: \"game is not found with specified gameId\",\n errorParameters: [API_RESOURCES.GAMES, unknownId.toString(), \"Game Play - Game Id is unknown in database\"],\n },\n {\n gameHistoryRecord: createFakeGameHistoryRecordToInsert({ gameId: existingId, revealedPlayers: [fakePlayer] }),\n test: \"a revealed player is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `revealedPlayers` is not in the game players\"],\n },\n {\n gameHistoryRecord: createFakeGameHistoryRecordToInsert({ gameId: existingId, deadPlayers: [fakePlayer] }),\n test: \"a dead player is not in the game\",\n errorParameters: [API_RESOURCES.PLAYERS, fakePlayer._id.toString(), \"Game Play - Player in `deadPlayers` is not in the game players\"],\n },\n ])(\"should throw resource not found error when $test [#$#].\", async({ gameHistoryRecord, errorParameters }) => {\n await expect(services.gameHistoryRecord[\"validateGameHistoryRecordToInsertData\"](gameHistoryRecord)).toReject();\n expect(ResourceNotFoundException).toHaveBeenCalledExactlyOnceWith(...errorParameters);\n });\n\n it(\"should not throw any errors when called with valid data.\", async() => {\n const validPlay = createFakeGameHistoryRecordToInsert({\n gameId: existingId,\n play: createFakeGameHistoryRecordPlay({ source: { name: PLAYER_ATTRIBUTE_NAMES.SHERIFF, players: existingGame.players } }),\n revealedPlayers: existingGame.players,\n deadPlayers: existingGame.players,\n });\n\n await expect(services.gameHistoryRecord[\"validateGameHistoryRecordToInsertData\"](validPlay)).resolves.not.toThrow();\n });\n });\n});" }, "tests/unit/specs/modules/game/helpers/game.helper.spec.ts": { "tests": [ { - "id": "451", + "id": "461", "name": "Game Helper getPlayerDtoWithRole should return player with role when a player has this role.", "location": { "start": { @@ -89241,7 +90848,7 @@ } }, { - "id": "452", + "id": "462", "name": "Game Helper getPlayerDtoWithRole should return undefined when player with role is not found.", "location": { "start": { @@ -89251,7 +90858,7 @@ } }, { - "id": "453", + "id": "463", "name": "Game Helper getPlayerWithCurrentRole should return player with role when a player has this role.", "location": { "start": { @@ -89261,7 +90868,7 @@ } }, { - "id": "454", + "id": "464", "name": "Game Helper getPlayerWithCurrentRole should return undefined when player with role is not found.", "location": { "start": { @@ -89271,7 +90878,7 @@ } }, { - "id": "455", + "id": "465", "name": "Game Helper getPlayersWithCurrentRole should return players when they have this role.", "location": { "start": { @@ -89281,7 +90888,7 @@ } }, { - "id": "456", + "id": "466", "name": "Game Helper getPlayersWithCurrentRole should return empty array when no one has the role.", "location": { "start": { @@ -89291,7 +90898,7 @@ } }, { - "id": "457", + "id": "467", "name": "Game Helper getPlayersWithCurrentSide should return werewolves when they have this side.", "location": { "start": { @@ -89301,7 +90908,7 @@ } }, { - "id": "458", + "id": "468", "name": "Game Helper getPlayersWithCurrentSide should return villagers when they have this side.", "location": { "start": { @@ -89311,7 +90918,7 @@ } }, { - "id": "459", + "id": "469", "name": "Game Helper getPlayerWithId should get player with specific id when called with this id.", "location": { "start": { @@ -89321,7 +90928,7 @@ } }, { - "id": "460", + "id": "470", "name": "Game Helper getPlayerWithId should return undefined when called with unknown id.", "location": { "start": { @@ -89331,7 +90938,7 @@ } }, { - "id": "461", + "id": "471", "name": "Game Helper getPlayerWithIdOrThrow should get player with specific id when called with this id.", "location": { "start": { @@ -89341,7 +90948,7 @@ } }, { - "id": "462", + "id": "472", "name": "Game Helper getPlayerWithIdOrThrow should throw error when called with unknown id.", "location": { "start": { @@ -89351,7 +90958,7 @@ } }, { - "id": "463", + "id": "473", "name": "Game Helper getAdditionalCardWithId should get card with specific id when called with this id.", "location": { "start": { @@ -89361,7 +90968,7 @@ } }, { - "id": "464", + "id": "474", "name": "Game Helper getAdditionalCardWithId should return undefined when cards are undefined.", "location": { "start": { @@ -89371,7 +90978,7 @@ } }, { - "id": "465", + "id": "475", "name": "Game Helper getAdditionalCardWithId should return undefined when called with unknown id.", "location": { "start": { @@ -89381,7 +90988,7 @@ } }, { - "id": "466", + "id": "476", "name": "Game Helper areAllWerewolvesAlive should return false when empty array is provided.", "location": { "start": { @@ -89391,7 +90998,7 @@ } }, { - "id": "467", + "id": "477", "name": "Game Helper areAllWerewolvesAlive should return true when all werewolves are alive.", "location": { "start": { @@ -89401,7 +91008,7 @@ } }, { - "id": "468", + "id": "478", "name": "Game Helper areAllWerewolvesAlive should return true when at least one werewolf is dead.", "location": { "start": { @@ -89411,7 +91018,7 @@ } }, { - "id": "469", + "id": "479", "name": "Game Helper areAllVillagersAlive should return false when empty array is provided.", "location": { "start": { @@ -89421,7 +91028,7 @@ } }, { - "id": "470", + "id": "480", "name": "Game Helper areAllVillagersAlive should return true when all villagers are alive.", "location": { "start": { @@ -89431,7 +91038,7 @@ } }, { - "id": "471", + "id": "481", "name": "Game Helper areAllVillagersAlive should return true when at least one villager is dead.", "location": { "start": { @@ -89441,7 +91048,7 @@ } }, { - "id": "472", + "id": "482", "name": "Game Helper areAllPlayersDead should return false when empty array is provided.", "location": { "start": { @@ -89451,7 +91058,7 @@ } }, { - "id": "473", + "id": "483", "name": "Game Helper areAllPlayersDead should return false when at least one player is alive.", "location": { "start": { @@ -89461,7 +91068,7 @@ } }, { - "id": "474", + "id": "484", "name": "Game Helper areAllPlayersDead should return true when all players are dead.", "location": { "start": { @@ -89471,7 +91078,7 @@ } }, { - "id": "475", + "id": "485", "name": "Game Helper getPlayerWithAttribute should return first player with attribute when called.", "location": { "start": { @@ -89481,7 +91088,7 @@ } }, { - "id": "476", + "id": "486", "name": "Game Helper getPlayerWithAttribute should return undefined when player with attribute is not found.", "location": { "start": { @@ -89491,7 +91098,7 @@ } }, { - "id": "477", + "id": "487", "name": "Game Helper getPlayersWithAttribute should return players when they have the attribute.", "location": { "start": { @@ -89501,7 +91108,7 @@ } }, { - "id": "478", + "id": "488", "name": "Game Helper getPlayersWithAttribute should return empty array when none has the attribute.", "location": { "start": { @@ -89511,7 +91118,7 @@ } }, { - "id": "479", + "id": "489", "name": "Game Helper getAlivePlayers should get all alive players when called.", "location": { "start": { @@ -89521,7 +91128,7 @@ } }, { - "id": "480", + "id": "490", "name": "Game Helper getAliveVillagerSidedPlayers should get all alive villager sided players when called.", "location": { "start": { @@ -89531,7 +91138,7 @@ } }, { - "id": "481", + "id": "491", "name": "Game Helper getAliveWerewolfSidedPlayers should get all alive werewolf sided players when called.", "location": { "start": { @@ -89541,7 +91148,7 @@ } }, { - "id": "482", + "id": "492", "name": "Game Helper getLeftToCharmByPiedPiperPlayers should get left to charm by pied piper players when called.", "location": { "start": { @@ -89551,7 +91158,7 @@ } }, { - "id": "483", + "id": "493", "name": "Game Helper getLeftToEatByWerewolvesPlayers should return left to eat by werewolves players when called.", "location": { "start": { @@ -89561,7 +91168,7 @@ } }, { - "id": "484", + "id": "494", "name": "Game Helper getLeftToEatByWhiteWerewolfPlayers should return left to eat by white werewolf players when called.", "location": { "start": { @@ -89571,7 +91178,7 @@ } }, { - "id": "485", + "id": "495", "name": "Game Helper getGroupOfPlayers should return all players when group is all.", "location": { "start": { @@ -89581,7 +91188,7 @@ } }, { - "id": "486", + "id": "496", "name": "Game Helper getGroupOfPlayers should return players in love when group is lovers.", "location": { "start": { @@ -89591,7 +91198,7 @@ } }, { - "id": "487", + "id": "497", "name": "Game Helper getGroupOfPlayers should return charmed players when group is charmed.", "location": { "start": { @@ -89601,7 +91208,7 @@ } }, { - "id": "488", + "id": "498", "name": "Game Helper getGroupOfPlayers should return villagers when group is villagers.", "location": { "start": { @@ -89611,7 +91218,7 @@ } }, { - "id": "489", + "id": "499", "name": "Game Helper getGroupOfPlayers should return werewolves when group is werewolves.", "location": { "start": { @@ -89621,7 +91228,7 @@ } }, { - "id": "490", + "id": "500", "name": "Game Helper isGameSourceRole should return true when source is role.", "location": { "start": { @@ -89631,7 +91238,7 @@ } }, { - "id": "491", + "id": "501", "name": "Game Helper isGameSourceRole should return false when source is group.", "location": { "start": { @@ -89641,7 +91248,7 @@ } }, { - "id": "492", + "id": "502", "name": "Game Helper isGameSourceGroup should return true when source is group.", "location": { "start": { @@ -89651,7 +91258,7 @@ } }, { - "id": "493", + "id": "503", "name": "Game Helper isGameSourceGroup should return false when source is role.", "location": { "start": { @@ -89661,7 +91268,7 @@ } }, { - "id": "494", + "id": "504", "name": "Game Helper getNonexistentPlayerId should return undefined when all candidate ids are found.", "location": { "start": { @@ -89671,7 +91278,7 @@ } }, { - "id": "495", + "id": "505", "name": "Game Helper getNonexistentPlayerId should return unknown id when one candidate id is not found.", "location": { "start": { @@ -89681,7 +91288,7 @@ } }, { - "id": "496", + "id": "506", "name": "Game Helper getNonexistentPlayer should return undefined when all candidate ids are found.", "location": { "start": { @@ -89691,7 +91298,7 @@ } }, { - "id": "497", + "id": "507", "name": "Game Helper getNonexistentPlayer should return unknown id when one candidate id is not found.", "location": { "start": { @@ -89701,7 +91308,7 @@ } }, { - "id": "498", + "id": "508", "name": "Game Helper getFoxSniffedPlayers should get 3 targets with left and right neighbors when called.", "location": { "start": { @@ -89711,7 +91318,7 @@ } }, { - "id": "499", + "id": "509", "name": "Game Helper getFoxSniffedPlayers should get 3 targets with left neighbor when right is dead.", "location": { "start": { @@ -89721,7 +91328,7 @@ } }, { - "id": "500", + "id": "510", "name": "Game Helper getFoxSniffedPlayers should get 2 targets with left neighbor when all rights are dead.", "location": { "start": { @@ -89731,7 +91338,7 @@ } }, { - "id": "501", + "id": "511", "name": "Game Helper getFoxSniffedPlayers should get only 1 target when all neighbors.", "location": { "start": { @@ -89741,7 +91348,7 @@ } }, { - "id": "502", + "id": "512", "name": "Game Helper getFoxSniffedPlayers should throw error when player is not found in game.", "location": { "start": { @@ -89751,7 +91358,7 @@ } }, { - "id": "503", + "id": "513", "name": "Game Helper getNearestAliveNeighbor should throw error when player is not found in game.", "location": { "start": { @@ -89761,7 +91368,7 @@ } }, { - "id": "504", + "id": "514", "name": "Game Helper getNearestAliveNeighbor should get the nearest right alive player when called with right direction.", "location": { "start": { @@ -89771,7 +91378,7 @@ } }, { - "id": "505", + "id": "515", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive player when called with left direction.", "location": { "start": { @@ -89781,7 +91388,7 @@ } }, { - "id": "506", + "id": "516", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive villager player when called with left direction and villager side.", "location": { "start": { @@ -89791,7 +91398,7 @@ } }, { - "id": "507", + "id": "517", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive werewolf player when called with left direction and werewolf side.", "location": { "start": { @@ -89801,7 +91408,7 @@ } }, { - "id": "508", + "id": "518", "name": "Game Helper getNearestAliveNeighbor should return undefined when can't find player with conditions.", "location": { "start": { @@ -89811,7 +91418,7 @@ } }, { - "id": "509", + "id": "519", "name": "Game Helper getNearestAliveNeighbor should return undefined when there are no alive players.", "location": { "start": { @@ -89821,7 +91428,7 @@ } }, { - "id": "510", + "id": "520", "name": "Game Helper getExpectedPlayersToPlay should throw error when there is no current play.", "location": { "start": { @@ -89831,7 +91438,7 @@ } }, { - "id": "511", + "id": "521", "name": "Game Helper getExpectedPlayersToPlay should return alive werewolves when source is group of werewolves.", "location": { "start": { @@ -89841,7 +91448,7 @@ } }, { - "id": "512", + "id": "522", "name": "Game Helper getExpectedPlayersToPlay should return alive two sisters when source is specific role.", "location": { "start": { @@ -89851,7 +91458,7 @@ } }, { - "id": "513", + "id": "523", "name": "Game Helper getExpectedPlayersToPlay should not return sheriff when source is sheriff but action is not DELEGATE and sheriff is dead.", "location": { "start": { @@ -89861,7 +91468,7 @@ } }, { - "id": "514", + "id": "524", "name": "Game Helper getExpectedPlayersToPlay should return sheriff when source is sheriff and action is DELEGATE even if he is dying.", "location": { "start": { @@ -89871,7 +91478,7 @@ } }, { - "id": "515", + "id": "525", "name": "Game Helper getExpectedPlayersToPlay should return hunter when source is hunter and action is SHOOT even if he is dying.", "location": { "start": { @@ -89881,7 +91488,7 @@ } }, { - "id": "516", + "id": "526", "name": "Game Helper getExpectedPlayersToPlay should return scapegoat when source is scapegoat and action is BAN_VOTING even if he is dying.", "location": { "start": { @@ -89896,472 +91503,472 @@ "tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts": { "tests": [ { - "id": "517", + "id": "527", "name": "Game Controller GET /games should get no games when no populate yet.", "location": { "start": { "column": 6, - "line": 74 + "line": 77 } } }, { - "id": "518", + "id": "528", "name": "Game Controller GET /games should get 3 games when 3 games were created.", "location": { "start": { "column": 6, - "line": 84 + "line": 87 } } }, { - "id": "519", + "id": "529", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when there is not enough players [#0].", "location": { "start": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "520", + "id": "530", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when there is not enough players [#1].", "location": { "start": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "521", + "id": "531", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when the maximum of players is reached [#2].", "location": { "start": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "522", + "id": "532", "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": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "523", + "id": "533", "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": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "524", + "id": "534", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when two players have the same name [#5].", "location": { "start": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "525", + "id": "535", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when werewolf is in excluded roles [#6].", "location": { "start": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "526", + "id": "536", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when villager is in excluded roles [#7].", "location": { "start": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "527", + "id": "537", "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": { "column": 8, - "line": 162 + "line": 165 } } }, { - "id": "528", + "id": "538", "name": "Game Controller GET /games/random-composition should get random composition when called.", "location": { "start": { "column": 6, - "line": 176 + "line": 179 } } }, { - "id": "529", + "id": "539", "name": "Game Controller GET /game/:id should get a bad request error when id is not mongoId.", "location": { "start": { "column": 6, - "line": 236 + "line": 239 } } }, { - "id": "530", + "id": "540", "name": "Game Controller GET /game/:id should get a not found error when id doesn't exist in base.", "location": { "start": { "column": 6, - "line": 246 + "line": 249 } } }, { - "id": "531", + "id": "541", "name": "Game Controller GET /game/:id should get a game when id exists in base.", "location": { "start": { "column": 6, - "line": 257 + "line": 260 } } }, { - "id": "532", + "id": "542", "name": "Game Controller POST /games should not allow game creation when no players are provided [#0].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "533", + "id": "543", "name": "Game Controller POST /games should not allow game creation when the minimum of players is not reached [#1].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "534", + "id": "544", "name": "Game Controller POST /games should not allow game creation when the maximum of players is reached [#2].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "535", + "id": "545", "name": "Game Controller POST /games should not allow game creation when one of the player name is too short [#3].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "536", + "id": "546", "name": "Game Controller POST /games should not allow game creation when one of the player name is too long [#4].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "537", + "id": "547", "name": "Game Controller POST /games should not allow game creation when two players have the same name [#5].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "538", + "id": "548", "name": "Game Controller POST /games should not allow game creation when there is only one brother in the same game [#6].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "539", + "id": "549", "name": "Game Controller POST /games should not allow game creation when there is two witches in the same game [#7].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "540", + "id": "550", "name": "Game Controller POST /games should not allow game creation when there is no villager in game's composition [#8].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "541", + "id": "551", "name": "Game Controller POST /games should not allow game creation when there is no werewolf in game's composition [#9].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "542", + "id": "552", "name": "Game Controller POST /games should not allow game creation when one of the player position is lower than 0 [#10].", "location": { "start": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "543", + "id": "553", "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": { "column": 8, - "line": 374 + "line": 377 } } }, { - "id": "544", + "id": "554", "name": "Game Controller POST /games should create game when called.", "location": { "start": { "column": 6, - "line": 388 + "line": 391 } } }, { - "id": "545", + "id": "555", "name": "Game Controller POST /games should create game with different options when called with options specified and some omitted.", "location": { "start": { "column": 6, - "line": 443 + "line": 446 } } }, { - "id": "546", + "id": "556", "name": "Game Controller DELETE /game/:id should get a bad request error when id is not mongoId.", "location": { "start": { "column": 6, - "line": 501 + "line": 508 } } }, { - "id": "547", + "id": "557", "name": "Game Controller DELETE /game/:id should get a not found error when id doesn't exist in base.", "location": { "start": { "column": 6, - "line": 511 + "line": 518 } } }, { - "id": "548", + "id": "558", "name": "Game Controller DELETE /game/:id should get a bad request error when game doesn't have playing status.", "location": { "start": { "column": 6, - "line": 522 + "line": 529 } } }, { - "id": "549", + "id": "559", "name": "Game Controller DELETE /game/:id should update game status to canceled when called.", "location": { "start": { "column": 6, - "line": 538 + "line": 545 } } }, { - "id": "550", + "id": "560", "name": "Game Controller POST /game/:id/play should not allow game play when game id is not a mongo id.", "location": { "start": { "column": 6, - "line": 557 + "line": 564 } } }, { - "id": "551", + "id": "561", "name": "Game Controller POST /game/:id/play should not allow game play when player ids in targets must be unique [#0].", "location": { "start": { "column": 8, - "line": 583 + "line": 590 } } }, { - "id": "552", + "id": "562", "name": "Game Controller POST /game/:id/play should not allow game play when player ids in targets must be unique [#1].", "location": { "start": { "column": 8, - "line": 583 + "line": 590 } } }, { - "id": "553", + "id": "563", "name": "Game Controller POST /game/:id/play should not allow game play when game id not found.", "location": { "start": { "column": 6, - "line": 597 + "line": 604 } } }, { - "id": "554", + "id": "564", "name": "Game Controller POST /game/:id/play should not allow game play when payload contains unknown resources id.", "location": { "start": { "column": 6, - "line": 608 + "line": 615 } } }, { - "id": "555", + "id": "565", "name": "Game Controller POST /game/:id/play should not allow game play when payload is not valid.", "location": { "start": { "column": 6, - "line": 637 + "line": 644 } } }, { - "id": "556", + "id": "566", "name": "Game Controller POST /game/:id/play should make a game play when called with votes.", "location": { "start": { "column": 6, - "line": 665 + "line": 674 } } }, { - "id": "557", + "id": "567", "name": "Game Controller POST /game/:id/play should make a game play when called with targets.", "location": { "start": { "column": 6, - "line": 704 + "line": 713 } } }, { - "id": "558", + "id": "568", "name": "Game Controller GET /games/:id/history should get a bad request error when id is not mongoId.", "location": { "start": { "column": 6, - "line": 751 + "line": 760 } } }, { - "id": "559", + "id": "569", "name": "Game Controller GET /games/:id/history should get a not found error when id doesn't exist in base.", "location": { "start": { "column": 6, - "line": 761 + "line": 770 } } }, { - "id": "560", + "id": "570", "name": "Game Controller GET /games/:id/history should return no game history records when game doesn't have any.", "location": { "start": { "column": 6, - "line": 772 + "line": 781 } } }, { - "id": "561", + "id": "571", "name": "Game Controller GET /games/:id/history should return 3 game history records when game have 3 records.", "location": { "start": { "column": 6, - "line": 792 + "line": 801 } } }, { - "id": "962", + "id": "972", "name": "Game Controller GET /games/:id/history should get a bad request error when id is not mongoId.", "location": { "start": { "column": 10, - "line": 751 + "line": 760 } } } ], - "source": "import { faker } from \"@faker-js/faker\";\nimport type { BadRequestException, NotFoundException } from \"@nestjs/common\";\nimport { HttpStatus } from \"@nestjs/common\";\nimport { getModelToken } from \"@nestjs/mongoose\";\nimport type { NestFastifyApplication } from \"@nestjs/platform-fastify\";\nimport { FastifyAdapter } from \"@nestjs/platform-fastify\";\nimport type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport type { Model, Types } from \"mongoose\";\nimport { stringify } from \"qs\";\nimport { defaultGameOptions } from \"../../../../../../src/modules/game/constants/game-options/game-options.constant\";\nimport type { CreateGamePlayerDto } from \"../../../../../../src/modules/game/dto/create-game/create-game-player/create-game-player.dto\";\nimport type { CreateGameDto } from \"../../../../../../src/modules/game/dto/create-game/create-game.dto\";\nimport type { GetGameRandomCompositionDto } from \"../../../../../../src/modules/game/dto/get-game-random-composition/get-game-random-composition.dto\";\nimport type { MakeGamePlayDto } from \"../../../../../../src/modules/game/dto/make-game-play/make-game-play.dto\";\nimport { GAME_PLAY_ACTIONS, GAME_PLAY_CAUSES } from \"../../../../../../src/modules/game/enums/game-play.enum\";\nimport { GAME_PHASES, GAME_STATUSES } from \"../../../../../../src/modules/game/enums/game.enum\";\nimport { PLAYER_GROUPS } from \"../../../../../../src/modules/game/enums/player.enum\";\nimport { GameModule } from \"../../../../../../src/modules/game/game.module\";\nimport { GameHistoryRecord } from \"../../../../../../src/modules/game/schemas/game-history-record/game-history-record.schema\";\nimport type { GameOptions } from \"../../../../../../src/modules/game/schemas/game-options/game-options.schema\";\nimport { 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 { E2eTestModule } from \"../../../../../../src/modules/test/e2e-test.module\";\nimport { fastifyServerDefaultOptions } from \"../../../../../../src/server/constants/server.constant\";\nimport { createFakeGameOptionsDto } from \"../../../../../factories/game/dto/create-game/create-game-options/create-game-options.dto.factory\";\nimport { bulkCreateFakeCreateGamePlayerDto } from \"../../../../../factories/game/dto/create-game/create-game-player/create-game-player.dto.factory\";\nimport { createFakeCreateGameDto, createFakeCreateGameWithPlayersDto } from \"../../../../../factories/game/dto/create-game/create-game.dto.factory\";\nimport { createFakeMakeGamePlayDto } from \"../../../../../factories/game/dto/make-game-play/make-game-play.dto.factory\";\nimport { createFakeGameHistoryRecord } from \"../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeGamePlayAllVote, createFakeGamePlaySeerLooks, createFakeGamePlayWerewolvesEat } from \"../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeSeenBySeerPlayerAttribute } from \"../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakeSeerAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer } from \"../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer } from \"../../../../../factories/game/schemas/player/player.schema.factory\";\nimport { createObjectIdFromString } from \"../../../../../helpers/mongoose/mongoose.helper\";\nimport { toJSON } from \"../../../../../helpers/object/object.helper\";\nimport type { ExceptionResponse } from \"../../../../../types/exception/exception.types\";\nimport { initNestApp } from \"../../../../helpers/nest-app.helper\";\n\ndescribe(\"Game Controller\", () => {\n let app: NestFastifyApplication;\n let models: {\n game: Model;\n gameHistoryRecord: Model;\n };\n\n beforeAll(async() => {\n const module: TestingModule = await Test.createTestingModule({\n imports: [\n E2eTestModule,\n GameModule,\n ],\n }).compile();\n app = module.createNestApplication(new FastifyAdapter(fastifyServerDefaultOptions));\n models = {\n game: module.get>(getModelToken(Game.name)),\n gameHistoryRecord: module.get>(getModelToken(GameHistoryRecord.name)),\n };\n\n await initNestApp(app);\n });\n\n afterEach(async() => {\n await models.game.deleteMany();\n });\n\n afterAll(async() => {\n await app.close();\n });\n\n describe(\"GET /games\", () => {\n it(\"should get no games when no populate yet.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([]);\n });\n\n it(\"should get 3 games when 3 games were created.\", async() => {\n const games = [\n createFakeGameWithCurrentPlay(),\n createFakeGameWithCurrentPlay(),\n createFakeGameWithCurrentPlay(),\n ];\n await models.game.create(games);\n const response = await app.inject({\n method: \"GET\",\n url: \"/games\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toHaveLength(3);\n });\n });\n\n describe(\"GET /games/random-composition\", () => {\n it.each<{ query: Record; test: string; errorMessage: string }>([\n {\n query: { players: undefined },\n test: \"there is not enough players\",\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n query: { players: [{ name: \"Antoine\" }] },\n test: \"there is not enough players\",\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n query: { players: bulkCreateFakeCreateGamePlayerDto(45) },\n test: \"the maximum of players is reached\",\n errorMessage: \"players must contain no more than 40 elements\",\n },\n {\n query: { players: bulkCreateFakeCreateGamePlayerDto(4, [{ name: \"\" }]) },\n test: \"one of the player name is too short\",\n errorMessage: \"players.0.name must be longer than or equal to 1 characters\",\n },\n {\n query: { players: bulkCreateFakeCreateGamePlayerDto(4, [{ name: faker.string.sample(31) }]) },\n test: \"one of the player name is too long\",\n errorMessage: \"players.0.name must be shorter than or equal to 30 characters\",\n },\n {\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { name: \"John\" },\n { name: \"John\" },\n ]),\n },\n test: \"two players have the same name\",\n errorMessage: \"players.name must be unique\",\n },\n {\n query: {\n \"players\": bulkCreateFakeCreateGamePlayerDto(4),\n \"excluded-roles\": [ROLE_NAMES.WEREWOLF, ROLE_NAMES.SEER],\n },\n test: \"werewolf is in excluded roles\",\n errorMessage: \"excludedRoles should not contain villager, werewolf values\",\n },\n {\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4),\n excludedRoles: [ROLE_NAMES.VILLAGER, ROLE_NAMES.SEER],\n },\n test: \"villager is in excluded roles\",\n errorMessage: \"excludedRoles should not contain villager, werewolf values\",\n },\n {\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4),\n excludedRoles: [ROLE_NAMES.SEER, ROLE_NAMES.SEER],\n },\n test: \"there is twice the same excluded role\",\n errorMessage: \"excluded roles must be unique\",\n },\n ])(\"should not allow getting random game composition when $test [#$#].\", async({\n query,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/random-composition\",\n query: stringify(query),\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should get random composition when called.\", async() => {\n const query: Partial = {\n players: bulkCreateFakeCreateGamePlayerDto(40, [\n { name: \"1\" },\n { name: \"2\" },\n { name: \"3\" },\n { name: \"4\" },\n { name: \"5\" },\n { name: \"6\" },\n { name: \"7\" },\n { name: \"8\" },\n { name: \"9\" },\n { name: \"10\" },\n { name: \"11\" },\n { name: \"12\" },\n { name: \"13\" },\n { name: \"14\" },\n { name: \"15\" },\n { name: \"16\" },\n { name: \"17\" },\n { name: \"18\" },\n { name: \"19\" },\n { name: \"20\" },\n { name: \"21\" },\n { name: \"22\" },\n { name: \"23\" },\n { name: \"24\" },\n { name: \"25\" },\n { name: \"26\" },\n { name: \"27\" },\n { name: \"28\" },\n { name: \"29\" },\n { name: \"30\" },\n { name: \"31\" },\n { name: \"32\" },\n { name: \"33\" },\n { name: \"34\" },\n { name: \"35\" },\n { name: \"36\" },\n { name: \"37\" },\n { name: \"38\" },\n { name: \"39\" },\n { name: \"40\" },\n ]), arePowerfulVillagerRolesPrioritized: false,\n };\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/random-composition\",\n query: stringify(query),\n });\n const players = response.json();\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(players).toSatisfyAll(({ role, side }) =>\n role.current !== undefined && role.current === role.original &&\n side.current !== undefined && side.current === side.original);\n });\n });\n\n describe(\"GET /game/:id\", () => {\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/123\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${unknownId}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should get a game when id exists in base.\", async() => {\n const game = createFakeGameWithCurrentPlay();\n await models.game.create(game);\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(game) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"POST /games\", () => {\n it.each<{ payload: CreateGameDto; test: string; errorMessage: string }>([\n {\n payload: createFakeCreateGameDto({}, { players: undefined }),\n test: \"no players are provided\",\n errorMessage: \"players must be an array\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(3) }),\n test: \"the minimum of players is not reached\",\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(45) }),\n test: \"the maximum of players is reached\",\n errorMessage: \"players must contain no more than 40 elements\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(4, [{ name: \"\" }]) }),\n test: \"one of the player name is too short\",\n errorMessage: \"players.0.name must be longer than or equal to 1 characters\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(4, [{ name: faker.string.sample(31) }]) }),\n test: \"one of the player name is too long\",\n errorMessage: \"players.0.name must be shorter than or equal to 30 characters\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { name: \"John\", role: { name: ROLE_NAMES.THREE_BROTHERS } },\n { name: \"John\" },\n ]),\n }),\n test: \"two players have the same name\",\n errorMessage: \"players.name must be unique\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.THREE_BROTHERS } },\n { role: { name: ROLE_NAMES.VILLAGER_VILLAGER } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n { role: { name: ROLE_NAMES.SEER } },\n ]),\n }),\n test: \"there is only one brother in the same game\",\n errorMessage: \"players.role minimum occurrences in game must be reached. Please check `minInGame` property of roles\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.WITCH } },\n { role: { name: ROLE_NAMES.WITCH } },\n ]),\n }),\n test: \"there is two witches in the same game\",\n errorMessage: \"players.role can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.WEREWOLF } },\n { role: { name: ROLE_NAMES.WHITE_WEREWOLF } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n ]),\n }),\n test: \"there is no villager in game's composition\",\n errorMessage: \"one of the players.role must have at least one role from `villagers` side\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.VILLAGER } },\n { role: { name: ROLE_NAMES.PIED_PIPER } },\n { role: { name: ROLE_NAMES.WITCH } },\n { role: { name: ROLE_NAMES.SEER } },\n ]),\n }),\n test: \"there is no werewolf in game's composition\",\n errorMessage: \"one of the players.role must have at least one role from `werewolves` side\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(4, [{ position: -1 }]) }),\n test: \"one of the player position is lower than 0\",\n errorMessage: \"players.0.position must not be less than 0\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.VILLAGER }, position: 0 },\n { role: { name: ROLE_NAMES.PIED_PIPER }, position: 1 },\n { role: { name: ROLE_NAMES.WITCH }, position: 2 },\n { role: { name: ROLE_NAMES.SEER }, position: 666 },\n ]),\n }),\n test: \"one of the player position is not consistent faced to others\",\n errorMessage: \"players.position must be all set or all undefined. Please check that every player has unique position, from 0 to players.length - 1\",\n },\n ])(\"should not allow game creation when $test [#$#].\", async({\n payload,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(`should create game when called.`, async() => {\n const payload = createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(6, [\n { role: { name: ROLE_NAMES.VILLAGER }, name: \"Antoine\" },\n { role: { name: ROLE_NAMES.WEREWOLF }, name: \"Mathis\" },\n { role: { name: ROLE_NAMES.VILLAGER_VILLAGER }, name: \"Virgil\" },\n { role: { name: ROLE_NAMES.WHITE_WEREWOLF }, name: \"JB\" },\n { role: { name: ROLE_NAMES.CUPID }, name: \"Doudou\" },\n { role: { name: ROLE_NAMES.SEER }, name: \"Juju\" },\n ]),\n }, { options: undefined });\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n const expectedPlayers = payload.players.map((player, index) => ({\n _id: expect.any(String) as Types.ObjectId,\n name: player.name,\n role: {\n current: player.role.name,\n original: player.role.name,\n isRevealed: player.role.name === ROLE_NAMES.VILLAGER_VILLAGER,\n },\n side: {\n current: [ROLE_NAMES.VILLAGER, ROLE_NAMES.VILLAGER_VILLAGER, ROLE_NAMES.CUPID, ROLE_NAMES.SEER].includes(player.role.name) ? ROLE_SIDES.VILLAGERS : ROLE_SIDES.WEREWOLVES,\n original: [ROLE_NAMES.VILLAGER, ROLE_NAMES.VILLAGER_VILLAGER, ROLE_NAMES.CUPID, ROLE_NAMES.SEER].includes(player.role.name) ? ROLE_SIDES.VILLAGERS : ROLE_SIDES.WEREWOLVES,\n },\n attributes: [],\n position: index,\n isAlive: true,\n }));\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json()).toStrictEqual({\n _id: expect.any(String) as Types.ObjectId,\n phase: GAME_PHASES.NIGHT,\n status: GAME_STATUSES.PLAYING,\n turn: 1,\n tick: 1,\n players: expectedPlayers,\n currentPlay: { source: PLAYER_GROUPS.ALL, action: GAME_PLAY_ACTIONS.ELECT_SHERIFF },\n upcomingPlays: [\n { source: ROLE_NAMES.CUPID, action: GAME_PLAY_ACTIONS.CHARM },\n { source: ROLE_NAMES.SEER, action: GAME_PLAY_ACTIONS.LOOK },\n { source: PLAYER_GROUPS.LOVERS, action: GAME_PLAY_ACTIONS.MEET_EACH_OTHER },\n { source: PLAYER_GROUPS.WEREWOLVES, action: GAME_PLAY_ACTIONS.EAT },\n { source: ROLE_NAMES.WHITE_WEREWOLF, action: GAME_PLAY_ACTIONS.EAT },\n ],\n options: defaultGameOptions,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n\n it(`should create game with different options when called with options specified and some omitted.`, async() => {\n const options: Partial = {\n roles: {\n areRevealedOnDeath: false,\n doSkipCallIfNoTarget: true,\n sheriff: {\n isEnabled: false,\n electedAt: {\n turn: 5,\n phase: GAME_PHASES.DAY,\n },\n hasDoubledVote: false,\n },\n bigBadWolf: { isPowerlessIfWerewolfDies: false },\n whiteWerewolf: { wakingUpInterval: 5 },\n seer: {\n isTalkative: false,\n canSeeRoles: false,\n },\n littleGirl: { isProtectedByGuard: true },\n guard: { canProtectTwice: true },\n ancient: {\n livesCountAgainstWerewolves: 1,\n doesTakeHisRevenge: false,\n },\n idiot: { doesDieOnAncientDeath: false },\n twoSisters: { wakingUpInterval: 0 },\n threeBrothers: { wakingUpInterval: 5 },\n fox: { isPowerlessIfMissesWerewolf: false },\n bearTamer: { doesGrowlIfInfected: false },\n stutteringJudge: { voteRequestsCount: 3 },\n wildChild: { isTransformationRevealed: true },\n dogWolf: { isChosenSideRevealed: true },\n thief: {\n mustChooseBetweenWerewolves: false,\n additionalCardsCount: 4,\n },\n piedPiper: {\n charmedPeopleCountPerNight: 1,\n isPowerlessIfInfected: false,\n },\n raven: { markPenalty: 5 },\n },\n };\n const payload = createFakeCreateGameWithPlayersDto({}, { options });\n const expectedOptions = createFakeGameOptionsDto({ ...options, composition: { isHidden: defaultGameOptions.composition.isHidden } });\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json().options).toStrictEqual(toJSON(expectedOptions) as GameOptions);\n });\n });\n\n describe(\"DELETE /game/:id\", () => {\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"DELETE\",\n url: \"/games/123\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${unknownId}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should get a bad request error when game doesn't have playing status.\", async() => {\n const game = createFakeGameWithCurrentPlay({ status: GAME_STATUSES.CANCELED });\n await models.game.create(game);\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.BAD_REQUEST,\n message: `Bad mutation for Game with id \"${game._id.toString()}\"`,\n error: `Game doesn't have status with value \"playing\"`,\n });\n });\n\n it(\"should update game status to canceled when called.\", async() => {\n const game = createFakeGameWithCurrentPlay({ status: GAME_STATUSES.PLAYING });\n await models.game.create(game);\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(game) as Game,\n status: GAME_STATUSES.CANCELED,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"POST /game/:id/play\", () => {\n it(\"should not allow game play when game id is not a mongo id.\", async() => {\n const response = await app.inject({\n method: \"POST\",\n url: `/games/123/play`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it.each<{ payload: MakeGamePlayDto; test: string; errorMessage: string }>([\n {\n payload: createFakeMakeGamePlayDto({ targets: [{ playerId: createObjectIdFromString(\"507f1f77bcf86cd799439011\") }, { playerId: createObjectIdFromString(\"507f1f77bcf86cd799439011\") }] }),\n test: \"player ids in targets must be unique\",\n errorMessage: \"targets.playerId must be unique\",\n },\n {\n payload: createFakeMakeGamePlayDto({\n votes: [\n { sourceId: createObjectIdFromString(\"507f1f77bcf86cd799439011\"), targetId: createObjectIdFromString(\"507f1f77bcf86cd799439012\") },\n { sourceId: createObjectIdFromString(\"507f1f77bcf86cd799439011\"), targetId: createObjectIdFromString(\"507f1f77bcf86cd799439012\") },\n ],\n }),\n test: \"player ids in targets must be unique\",\n errorMessage: \"votes.sourceId must be unique\",\n },\n ])(\"should not allow game play when $test [#$#].\", async({\n payload,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${faker.database.mongodbObjectId()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should not allow game play when game id not found.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${unknownId}/play`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should not allow game play when payload contains unknown resources id.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({\n status: GAME_STATUSES.PLAYING,\n upcomingPlays: [createFakeGamePlayAllVote()],\n players,\n });\n await models.game.create(game);\n const unknownPlayerId = faker.database.mongodbObjectId();\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: createObjectIdFromString(unknownPlayerId) }] });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.NOT_FOUND,\n message: `Player with id \"${unknownPlayerId.toString()}\" not found`,\n error: \"Game Play - Player in `targets.player` is not in the game players\",\n });\n });\n\n it(\"should not allow game play when payload is not valid.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGame({\n status: GAME_STATUSES.PLAYING,\n currentPlay: createFakeGamePlayAllVote(),\n players,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: players[0]._id }] });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.BAD_REQUEST,\n message: `Bad game play payload`,\n error: \"`votes` is required on this current game's state\",\n });\n });\n\n it(\"should make a game play when called with votes.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGame({\n status: GAME_STATUSES.PLAYING,\n currentPlay: createFakeGamePlayAllVote(),\n upcomingPlays: [createFakeGamePlaySeerLooks()],\n players,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({\n votes: [\n { sourceId: players[0]._id, targetId: players[1]._id },\n { sourceId: players[1]._id, targetId: players[0]._id },\n ],\n });\n const expectedGame = createFakeGame({\n ...game,\n tick: game.tick + 1,\n currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES }),\n });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(expectedGame) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n \n it(\"should make a game play when called with targets.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGame({\n status: GAME_STATUSES.PLAYING,\n currentPlay: createFakeGamePlaySeerLooks(),\n upcomingPlays: [createFakeGamePlayWerewolvesEat()],\n players,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: players[0]._id }] });\n const expectedGame = createFakeGame({\n ...game,\n tick: game.tick + 1,\n currentPlay: createFakeGamePlayWerewolvesEat(),\n upcomingPlays: [],\n players: [\n createFakePlayer({ ...players[0], attributes: [createFakeSeenBySeerPlayerAttribute()] }),\n players[1],\n players[2],\n players[3],\n ],\n });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(expectedGame) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"GET /games/:id/history\", () => {\n afterEach(async() => {\n await models.gameHistoryRecord.deleteMany();\n });\n\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/123/history\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${unknownId}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should return no game history records when game doesn't have any.\", async() => {\n const game = createFakeGameWithCurrentPlay();\n const secondGame = createFakeGameWithCurrentPlay();\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id }),\n createFakeGameHistoryRecord({ gameId: game._id }),\n createFakeGameHistoryRecord({ gameId: game._id }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${secondGame._id.toString()}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([]);\n });\n\n it(\"should return 3 game history records when game have 3 records.\", async() => {\n const game = createFakeGameWithCurrentPlay();\n const secondGame = createFakeGameWithCurrentPlay();\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id }),\n createFakeGameHistoryRecord({ gameId: game._id }),\n createFakeGameHistoryRecord({ gameId: game._id }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([\n {\n ...toJSON(gameHistoryRecords[0]),\n createdAt: expect.any(String) as Date,\n },\n {\n ...toJSON(gameHistoryRecords[1]),\n createdAt: expect.any(String) as Date,\n },\n {\n ...toJSON(gameHistoryRecords[2]),\n createdAt: expect.any(String) as Date,\n },\n ] as GameHistoryRecord[]);\n });\n });\n});" + "source": "import { faker } from \"@faker-js/faker\";\nimport type { BadRequestException, NotFoundException } from \"@nestjs/common\";\nimport { HttpStatus } from \"@nestjs/common\";\nimport { getModelToken } from \"@nestjs/mongoose\";\nimport type { NestFastifyApplication } from \"@nestjs/platform-fastify\";\nimport { FastifyAdapter } from \"@nestjs/platform-fastify\";\nimport type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport type { Model, Types } from \"mongoose\";\nimport { stringify } from \"qs\";\nimport { defaultGameOptions } from \"../../../../../../src/modules/game/constants/game-options/game-options.constant\";\nimport type { CreateGamePlayerDto } from \"../../../../../../src/modules/game/dto/create-game/create-game-player/create-game-player.dto\";\nimport type { CreateGameDto } from \"../../../../../../src/modules/game/dto/create-game/create-game.dto\";\nimport type { GetGameRandomCompositionDto } from \"../../../../../../src/modules/game/dto/get-game-random-composition/get-game-random-composition.dto\";\nimport type { MakeGamePlayDto } from \"../../../../../../src/modules/game/dto/make-game-play/make-game-play.dto\";\nimport { GAME_PLAY_ACTIONS, GAME_PLAY_CAUSES } from \"../../../../../../src/modules/game/enums/game-play.enum\";\nimport { GAME_PHASES, GAME_STATUSES } from \"../../../../../../src/modules/game/enums/game.enum\";\nimport { PLAYER_GROUPS } from \"../../../../../../src/modules/game/enums/player.enum\";\nimport { GameModule } from \"../../../../../../src/modules/game/game.module\";\nimport { GameHistoryRecord } from \"../../../../../../src/modules/game/schemas/game-history-record/game-history-record.schema\";\nimport type { GameOptions } from \"../../../../../../src/modules/game/schemas/game-options/game-options.schema\";\nimport { 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 { E2eTestModule } from \"../../../../../../src/modules/test/e2e-test.module\";\nimport { fastifyServerDefaultOptions } from \"../../../../../../src/server/constants/server.constant\";\nimport { createFakeGameOptionsDto } from \"../../../../../factories/game/dto/create-game/create-game-options/create-game-options.dto.factory\";\nimport { bulkCreateFakeCreateGamePlayerDto } from \"../../../../../factories/game/dto/create-game/create-game-player/create-game-player.dto.factory\";\nimport { createFakeCreateGameDto, createFakeCreateGameWithPlayersDto } from \"../../../../../factories/game/dto/create-game/create-game.dto.factory\";\nimport { createFakeMakeGamePlayDto } from \"../../../../../factories/game/dto/make-game-play/make-game-play.dto.factory\";\nimport { createFakeGameHistoryRecord } from \"../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeCompositionGameOptions } from \"../../../../../factories/game/schemas/game-options/composition-game-options.schema.factory\";\nimport { createFakeGameOptions } from \"../../../../../factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeVotesGameOptions } from \"../../../../../factories/game/schemas/game-options/votes-game-options.schema.factory\";\nimport { createFakeGamePlayAllVote, createFakeGamePlaySeerLooks, createFakeGamePlayWerewolvesEat } from \"../../../../../factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"../../../../../factories/game/schemas/game.schema.factory\";\nimport { createFakeSeenBySeerPlayerAttribute } from \"../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakeSeerAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer } from \"../../../../../factories/game/schemas/player/player-with-role.schema.factory\";\nimport { bulkCreateFakePlayers, createFakePlayer } from \"../../../../../factories/game/schemas/player/player.schema.factory\";\nimport { createObjectIdFromString } from \"../../../../../helpers/mongoose/mongoose.helper\";\nimport { toJSON } from \"../../../../../helpers/object/object.helper\";\nimport type { ExceptionResponse } from \"../../../../../types/exception/exception.types\";\nimport { initNestApp } from \"../../../../helpers/nest-app.helper\";\n\ndescribe(\"Game Controller\", () => {\n let app: NestFastifyApplication;\n let models: {\n game: Model;\n gameHistoryRecord: Model;\n };\n\n beforeAll(async() => {\n const module: TestingModule = await Test.createTestingModule({\n imports: [\n E2eTestModule,\n GameModule,\n ],\n }).compile();\n app = module.createNestApplication(new FastifyAdapter(fastifyServerDefaultOptions));\n models = {\n game: module.get>(getModelToken(Game.name)),\n gameHistoryRecord: module.get>(getModelToken(GameHistoryRecord.name)),\n };\n\n await initNestApp(app);\n });\n\n afterEach(async() => {\n await models.game.deleteMany();\n });\n\n afterAll(async() => {\n await app.close();\n });\n\n describe(\"GET /games\", () => {\n it(\"should get no games when no populate yet.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([]);\n });\n\n it(\"should get 3 games when 3 games were created.\", async() => {\n const games = [\n createFakeGameWithCurrentPlay(),\n createFakeGameWithCurrentPlay(),\n createFakeGameWithCurrentPlay(),\n ];\n await models.game.create(games);\n const response = await app.inject({\n method: \"GET\",\n url: \"/games\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toHaveLength(3);\n });\n });\n\n describe(\"GET /games/random-composition\", () => {\n it.each<{ query: Record; test: string; errorMessage: string }>([\n {\n query: { players: undefined },\n test: \"there is not enough players\",\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n query: { players: [{ name: \"Antoine\" }] },\n test: \"there is not enough players\",\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n query: { players: bulkCreateFakeCreateGamePlayerDto(45) },\n test: \"the maximum of players is reached\",\n errorMessage: \"players must contain no more than 40 elements\",\n },\n {\n query: { players: bulkCreateFakeCreateGamePlayerDto(4, [{ name: \"\" }]) },\n test: \"one of the player name is too short\",\n errorMessage: \"players.0.name must be longer than or equal to 1 characters\",\n },\n {\n query: { players: bulkCreateFakeCreateGamePlayerDto(4, [{ name: faker.string.sample(31) }]) },\n test: \"one of the player name is too long\",\n errorMessage: \"players.0.name must be shorter than or equal to 30 characters\",\n },\n {\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { name: \"John\" },\n { name: \"John\" },\n ]),\n },\n test: \"two players have the same name\",\n errorMessage: \"players.name must be unique\",\n },\n {\n query: {\n \"players\": bulkCreateFakeCreateGamePlayerDto(4),\n \"excluded-roles\": [ROLE_NAMES.WEREWOLF, ROLE_NAMES.SEER],\n },\n test: \"werewolf is in excluded roles\",\n errorMessage: \"excludedRoles should not contain villager, werewolf values\",\n },\n {\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4),\n excludedRoles: [ROLE_NAMES.VILLAGER, ROLE_NAMES.SEER],\n },\n test: \"villager is in excluded roles\",\n errorMessage: \"excludedRoles should not contain villager, werewolf values\",\n },\n {\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4),\n excludedRoles: [ROLE_NAMES.SEER, ROLE_NAMES.SEER],\n },\n test: \"there is twice the same excluded role\",\n errorMessage: \"excluded roles must be unique\",\n },\n ])(\"should not allow getting random game composition when $test [#$#].\", async({\n query,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/random-composition\",\n query: stringify(query),\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should get random composition when called.\", async() => {\n const query: Partial = {\n players: bulkCreateFakeCreateGamePlayerDto(40, [\n { name: \"1\" },\n { name: \"2\" },\n { name: \"3\" },\n { name: \"4\" },\n { name: \"5\" },\n { name: \"6\" },\n { name: \"7\" },\n { name: \"8\" },\n { name: \"9\" },\n { name: \"10\" },\n { name: \"11\" },\n { name: \"12\" },\n { name: \"13\" },\n { name: \"14\" },\n { name: \"15\" },\n { name: \"16\" },\n { name: \"17\" },\n { name: \"18\" },\n { name: \"19\" },\n { name: \"20\" },\n { name: \"21\" },\n { name: \"22\" },\n { name: \"23\" },\n { name: \"24\" },\n { name: \"25\" },\n { name: \"26\" },\n { name: \"27\" },\n { name: \"28\" },\n { name: \"29\" },\n { name: \"30\" },\n { name: \"31\" },\n { name: \"32\" },\n { name: \"33\" },\n { name: \"34\" },\n { name: \"35\" },\n { name: \"36\" },\n { name: \"37\" },\n { name: \"38\" },\n { name: \"39\" },\n { name: \"40\" },\n ]), arePowerfulVillagerRolesPrioritized: false,\n };\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/random-composition\",\n query: stringify(query),\n });\n const players = response.json();\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(players).toSatisfyAll(({ role, side }) =>\n role.current !== undefined && role.current === role.original &&\n side.current !== undefined && side.current === side.original);\n });\n });\n\n describe(\"GET /game/:id\", () => {\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/123\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${unknownId}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should get a game when id exists in base.\", async() => {\n const game = createFakeGameWithCurrentPlay();\n await models.game.create(game);\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(game) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"POST /games\", () => {\n it.each<{ payload: CreateGameDto; test: string; errorMessage: string }>([\n {\n payload: createFakeCreateGameDto({}, { players: undefined }),\n test: \"no players are provided\",\n errorMessage: \"players must be an array\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(3) }),\n test: \"the minimum of players is not reached\",\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(45) }),\n test: \"the maximum of players is reached\",\n errorMessage: \"players must contain no more than 40 elements\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(4, [{ name: \"\" }]) }),\n test: \"one of the player name is too short\",\n errorMessage: \"players.0.name must be longer than or equal to 1 characters\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(4, [{ name: faker.string.sample(31) }]) }),\n test: \"one of the player name is too long\",\n errorMessage: \"players.0.name must be shorter than or equal to 30 characters\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { name: \"John\", role: { name: ROLE_NAMES.THREE_BROTHERS } },\n { name: \"John\" },\n ]),\n }),\n test: \"two players have the same name\",\n errorMessage: \"players.name must be unique\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.THREE_BROTHERS } },\n { role: { name: ROLE_NAMES.VILLAGER_VILLAGER } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n { role: { name: ROLE_NAMES.SEER } },\n ]),\n }),\n test: \"there is only one brother in the same game\",\n errorMessage: \"players.role minimum occurrences in game must be reached. Please check `minInGame` property of roles\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.WITCH } },\n { role: { name: ROLE_NAMES.WITCH } },\n ]),\n }),\n test: \"there is two witches in the same game\",\n errorMessage: \"players.role can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.WEREWOLF } },\n { role: { name: ROLE_NAMES.WHITE_WEREWOLF } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n { role: { name: ROLE_NAMES.WEREWOLF } },\n ]),\n }),\n test: \"there is no villager in game's composition\",\n errorMessage: \"one of the players.role must have at least one role from `villagers` side\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.VILLAGER } },\n { role: { name: ROLE_NAMES.PIED_PIPER } },\n { role: { name: ROLE_NAMES.WITCH } },\n { role: { name: ROLE_NAMES.SEER } },\n ]),\n }),\n test: \"there is no werewolf in game's composition\",\n errorMessage: \"one of the players.role must have at least one role from `werewolves` side\",\n },\n {\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(4, [{ position: -1 }]) }),\n test: \"one of the player position is lower than 0\",\n errorMessage: \"players.0.position must not be less than 0\",\n },\n {\n payload: createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(4, [\n { role: { name: ROLE_NAMES.VILLAGER }, position: 0 },\n { role: { name: ROLE_NAMES.PIED_PIPER }, position: 1 },\n { role: { name: ROLE_NAMES.WITCH }, position: 2 },\n { role: { name: ROLE_NAMES.SEER }, position: 666 },\n ]),\n }),\n test: \"one of the player position is not consistent faced to others\",\n errorMessage: \"players.position must be all set or all undefined. Please check that every player has unique position, from 0 to players.length - 1\",\n },\n ])(\"should not allow game creation when $test [#$#].\", async({\n payload,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(`should create game when called.`, async() => {\n const payload = createFakeCreateGameDto({\n players: bulkCreateFakeCreateGamePlayerDto(6, [\n { role: { name: ROLE_NAMES.VILLAGER }, name: \"Antoine\" },\n { role: { name: ROLE_NAMES.WEREWOLF }, name: \"Mathis\" },\n { role: { name: ROLE_NAMES.VILLAGER_VILLAGER }, name: \"Virgil\" },\n { role: { name: ROLE_NAMES.WHITE_WEREWOLF }, name: \"JB\" },\n { role: { name: ROLE_NAMES.CUPID }, name: \"Doudou\" },\n { role: { name: ROLE_NAMES.SEER }, name: \"Juju\" },\n ]),\n }, { options: undefined });\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n const expectedPlayers = payload.players.map((player, index) => ({\n _id: expect.any(String) as Types.ObjectId,\n name: player.name,\n role: {\n current: player.role.name,\n original: player.role.name,\n isRevealed: player.role.name === ROLE_NAMES.VILLAGER_VILLAGER,\n },\n side: {\n current: [ROLE_NAMES.VILLAGER, ROLE_NAMES.VILLAGER_VILLAGER, ROLE_NAMES.CUPID, ROLE_NAMES.SEER].includes(player.role.name) ? ROLE_SIDES.VILLAGERS : ROLE_SIDES.WEREWOLVES,\n original: [ROLE_NAMES.VILLAGER, ROLE_NAMES.VILLAGER_VILLAGER, ROLE_NAMES.CUPID, ROLE_NAMES.SEER].includes(player.role.name) ? ROLE_SIDES.VILLAGERS : ROLE_SIDES.WEREWOLVES,\n },\n attributes: [],\n position: index,\n isAlive: true,\n }));\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json()).toStrictEqual({\n _id: expect.any(String) as Types.ObjectId,\n phase: GAME_PHASES.NIGHT,\n status: GAME_STATUSES.PLAYING,\n turn: 1,\n tick: 1,\n players: expectedPlayers,\n currentPlay: { source: PLAYER_GROUPS.ALL, action: GAME_PLAY_ACTIONS.ELECT_SHERIFF },\n upcomingPlays: [\n { source: ROLE_NAMES.CUPID, action: GAME_PLAY_ACTIONS.CHARM },\n { source: ROLE_NAMES.SEER, action: GAME_PLAY_ACTIONS.LOOK },\n { source: PLAYER_GROUPS.LOVERS, action: GAME_PLAY_ACTIONS.MEET_EACH_OTHER },\n { source: PLAYER_GROUPS.WEREWOLVES, action: GAME_PLAY_ACTIONS.EAT },\n { source: ROLE_NAMES.WHITE_WEREWOLF, action: GAME_PLAY_ACTIONS.EAT },\n ],\n options: defaultGameOptions,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n\n it(`should create game with different options when called with options specified and some omitted.`, async() => {\n const options: Partial = {\n roles: {\n areRevealedOnDeath: false,\n doSkipCallIfNoTarget: true,\n sheriff: {\n isEnabled: false,\n electedAt: {\n turn: 5,\n phase: GAME_PHASES.DAY,\n },\n hasDoubledVote: false,\n },\n bigBadWolf: { isPowerlessIfWerewolfDies: false },\n whiteWerewolf: { wakingUpInterval: 5 },\n seer: {\n isTalkative: false,\n canSeeRoles: false,\n },\n littleGirl: { isProtectedByGuard: true },\n guard: { canProtectTwice: true },\n ancient: {\n livesCountAgainstWerewolves: 1,\n doesTakeHisRevenge: false,\n },\n idiot: { doesDieOnAncientDeath: false },\n twoSisters: { wakingUpInterval: 0 },\n threeBrothers: { wakingUpInterval: 5 },\n fox: { isPowerlessIfMissesWerewolf: false },\n bearTamer: { doesGrowlIfInfected: false },\n stutteringJudge: { voteRequestsCount: 3 },\n wildChild: { isTransformationRevealed: true },\n dogWolf: { isChosenSideRevealed: true },\n thief: {\n mustChooseBetweenWerewolves: false,\n additionalCardsCount: 4,\n },\n piedPiper: {\n charmedPeopleCountPerNight: 1,\n isPowerlessIfInfected: false,\n },\n raven: { markPenalty: 5 },\n },\n };\n const payload = createFakeCreateGameWithPlayersDto({}, { options });\n const expectedOptions = createFakeGameOptionsDto({\n ...options,\n composition: createFakeCompositionGameOptions({ isHidden: defaultGameOptions.composition.isHidden }),\n votes: createFakeVotesGameOptions({ canBeSkipped: defaultGameOptions.votes.canBeSkipped }),\n });\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json().options).toStrictEqual(toJSON(expectedOptions) as GameOptions);\n });\n });\n\n describe(\"DELETE /game/:id\", () => {\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"DELETE\",\n url: \"/games/123\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${unknownId}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should get a bad request error when game doesn't have playing status.\", async() => {\n const game = createFakeGameWithCurrentPlay({ status: GAME_STATUSES.CANCELED });\n await models.game.create(game);\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.BAD_REQUEST,\n message: `Bad mutation for Game with id \"${game._id.toString()}\"`,\n error: `Game doesn't have status with value \"playing\"`,\n });\n });\n\n it(\"should update game status to canceled when called.\", async() => {\n const game = createFakeGameWithCurrentPlay({ status: GAME_STATUSES.PLAYING });\n await models.game.create(game);\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(game) as Game,\n status: GAME_STATUSES.CANCELED,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"POST /game/:id/play\", () => {\n it(\"should not allow game play when game id is not a mongo id.\", async() => {\n const response = await app.inject({\n method: \"POST\",\n url: `/games/123/play`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it.each<{ payload: MakeGamePlayDto; test: string; errorMessage: string }>([\n {\n payload: createFakeMakeGamePlayDto({ targets: [{ playerId: createObjectIdFromString(\"507f1f77bcf86cd799439011\") }, { playerId: createObjectIdFromString(\"507f1f77bcf86cd799439011\") }] }),\n test: \"player ids in targets must be unique\",\n errorMessage: \"targets.playerId must be unique\",\n },\n {\n payload: createFakeMakeGamePlayDto({\n votes: [\n { sourceId: createObjectIdFromString(\"507f1f77bcf86cd799439011\"), targetId: createObjectIdFromString(\"507f1f77bcf86cd799439012\") },\n { sourceId: createObjectIdFromString(\"507f1f77bcf86cd799439011\"), targetId: createObjectIdFromString(\"507f1f77bcf86cd799439012\") },\n ],\n }),\n test: \"player ids in targets must be unique\",\n errorMessage: \"votes.sourceId must be unique\",\n },\n ])(\"should not allow game play when $test [#$#].\", async({\n payload,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${faker.database.mongodbObjectId()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should not allow game play when game id not found.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${unknownId}/play`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should not allow game play when payload contains unknown resources id.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGameWithCurrentPlay({\n status: GAME_STATUSES.PLAYING,\n upcomingPlays: [createFakeGamePlayAllVote()],\n players,\n });\n await models.game.create(game);\n const unknownPlayerId = faker.database.mongodbObjectId();\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: createObjectIdFromString(unknownPlayerId) }] });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.NOT_FOUND,\n message: `Player with id \"${unknownPlayerId.toString()}\" not found`,\n error: \"Game Play - Player in `targets.player` is not in the game players\",\n });\n });\n\n it(\"should not allow game play when payload is not valid.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) });\n const game = createFakeGame({\n status: GAME_STATUSES.PLAYING,\n currentPlay: createFakeGamePlayAllVote(),\n players,\n options,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({});\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.BAD_REQUEST,\n message: `Bad game play payload`,\n error: \"`votes` is required on this current game's state\",\n });\n });\n\n it(\"should make a game play when called with votes.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGame({\n status: GAME_STATUSES.PLAYING,\n currentPlay: createFakeGamePlayAllVote(),\n upcomingPlays: [createFakeGamePlaySeerLooks()],\n players,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({\n votes: [\n { sourceId: players[0]._id, targetId: players[1]._id },\n { sourceId: players[1]._id, targetId: players[0]._id },\n ],\n });\n const expectedGame = createFakeGame({\n ...game,\n tick: game.tick + 1,\n currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES }),\n });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(expectedGame) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n \n it(\"should make a game play when called with targets.\", async() => {\n const players = bulkCreateFakePlayers(4, [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ]);\n const game = createFakeGame({\n status: GAME_STATUSES.PLAYING,\n currentPlay: createFakeGamePlaySeerLooks(),\n upcomingPlays: [createFakeGamePlayWerewolvesEat()],\n players,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: players[0]._id }] });\n const expectedGame = createFakeGame({\n ...game,\n tick: game.tick + 1,\n currentPlay: createFakeGamePlayWerewolvesEat(),\n upcomingPlays: [],\n players: [\n createFakePlayer({ ...players[0], attributes: [createFakeSeenBySeerPlayerAttribute()] }),\n players[1],\n players[2],\n players[3],\n ],\n });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(expectedGame) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"GET /games/:id/history\", () => {\n afterEach(async() => {\n await models.gameHistoryRecord.deleteMany();\n });\n\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/123/history\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${unknownId}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should return no game history records when game doesn't have any.\", async() => {\n const game = createFakeGameWithCurrentPlay();\n const secondGame = createFakeGameWithCurrentPlay();\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id }),\n createFakeGameHistoryRecord({ gameId: game._id }),\n createFakeGameHistoryRecord({ gameId: game._id }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${secondGame._id.toString()}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([]);\n });\n\n it(\"should return 3 game history records when game have 3 records.\", async() => {\n const game = createFakeGameWithCurrentPlay();\n const secondGame = createFakeGameWithCurrentPlay();\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id }),\n createFakeGameHistoryRecord({ gameId: game._id }),\n createFakeGameHistoryRecord({ gameId: game._id }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([\n {\n ...toJSON(gameHistoryRecords[0]),\n createdAt: expect.any(String) as Date,\n },\n {\n ...toJSON(gameHistoryRecords[1]),\n createdAt: expect.any(String) as Date,\n },\n {\n ...toJSON(gameHistoryRecords[2]),\n createdAt: expect.any(String) as Date,\n },\n ] as GameHistoryRecord[]);\n });\n });\n});" }, "tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts": { "tests": [ { - "id": "562", + "id": "572", "name": "Game History Record Repository getGameHistory should get nothing when there are no record.", "location": { "start": { @@ -90371,7 +91978,7 @@ } }, { - "id": "563", + "id": "573", "name": "Game History Record Repository getGameHistory should get records when called with gameId with records.", "location": { "start": { @@ -90381,7 +91988,7 @@ } }, { - "id": "564", + "id": "574", "name": "Game History Record Repository create should not create history record when turn is lower than 1 [#0].", "location": { "start": { @@ -90391,7 +91998,7 @@ } }, { - "id": "565", + "id": "575", "name": "Game History Record Repository create should not create history record when tick is lower than 1 [#1].", "location": { "start": { @@ -90401,7 +92008,7 @@ } }, { - "id": "566", + "id": "576", "name": "Game History Record Repository create should not create history record when phase is not in enum [#2].", "location": { "start": { @@ -90411,7 +92018,7 @@ } }, { - "id": "567", + "id": "577", "name": "Game History Record Repository create should not create history record when players in play's source is empty [#3].", "location": { "start": { @@ -90421,7 +92028,7 @@ } }, { - "id": "568", + "id": "578", "name": "Game History Record Repository create should not create history record when source in play's source is not in enum [#4].", "location": { "start": { @@ -90431,7 +92038,7 @@ } }, { - "id": "569", + "id": "579", "name": "Game History Record Repository create should not create history record when potion in play's target is not in enum [#5].", "location": { "start": { @@ -90441,7 +92048,7 @@ } }, { - "id": "570", + "id": "580", "name": "Game History Record Repository create should not create history record when voting result is not in enum [#6].", "location": { "start": { @@ -90451,7 +92058,7 @@ } }, { - "id": "571", + "id": "581", "name": "Game History Record Repository create should not create history record when chosen side is not in enum [#7].", "location": { "start": { @@ -90461,7 +92068,7 @@ } }, { - "id": "572", + "id": "582", "name": "Game History Record Repository create should create history record when called.", "location": { "start": { @@ -90471,7 +92078,7 @@ } }, { - "id": "573", + "id": "583", "name": "Game History Record Repository getLastGameHistoryGuardProtectsRecord should return no record when there is no guard play in the history.", "location": { "start": { @@ -90481,7 +92088,7 @@ } }, { - "id": "574", + "id": "584", "name": "Game History Record Repository getLastGameHistoryGuardProtectsRecord should return no record when there gameId is not the good one.", "location": { "start": { @@ -90491,7 +92098,7 @@ } }, { - "id": "575", + "id": "585", "name": "Game History Record Repository getLastGameHistoryGuardProtectsRecord should return the last guard game history play record when called.", "location": { "start": { @@ -90501,7 +92108,7 @@ } }, { - "id": "576", + "id": "586", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there is no vote play in the history.", "location": { "start": { @@ -90511,7 +92118,7 @@ } }, { - "id": "577", + "id": "587", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there is no tie in vote play in the history.", "location": { "start": { @@ -90521,7 +92128,7 @@ } }, { - "id": "578", + "id": "588", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there gameId is not the good one.", "location": { "start": { @@ -90531,7 +92138,7 @@ } }, { - "id": "579", + "id": "589", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return the last tie in vote game history play record when called.", "location": { "start": { @@ -90541,7 +92148,7 @@ } }, { - "id": "580", + "id": "590", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch play.", "location": { "start": { @@ -90551,7 +92158,7 @@ } }, { - "id": "581", + "id": "591", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch using life potion play.", "location": { "start": { @@ -90561,7 +92168,7 @@ } }, { - "id": "582", + "id": "592", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get records of witch using life potion for this gameId when called.", "location": { "start": { @@ -90571,7 +92178,7 @@ } }, { - "id": "583", + "id": "593", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch using death potion play.", "location": { "start": { @@ -90581,7 +92188,7 @@ } }, { - "id": "584", + "id": "594", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get records of witch using death potion for this gameId when called.", "location": { "start": { @@ -90591,7 +92198,7 @@ } }, { - "id": "585", + "id": "595", "name": "Game History Record Repository getGameHistoryVileFatherOfWolvesInfectedRecords should get no record when there are no eat play.", "location": { "start": { @@ -90601,7 +92208,7 @@ } }, { - "id": "586", + "id": "596", "name": "Game History Record Repository getGameHistoryVileFatherOfWolvesInfectedRecords should get records of vile father of wolves infected for this gameId when called.", "location": { "start": { @@ -90611,7 +92218,7 @@ } }, { - "id": "587", + "id": "597", "name": "Game History Record Repository getGameHistoryJudgeRequestRecords should get no record when there are no vote with judge request play.", "location": { "start": { @@ -90621,7 +92228,7 @@ } }, { - "id": "588", + "id": "598", "name": "Game History Record Repository getGameHistoryJudgeRequestRecords should get records of stuttering judge requesting another vote for this gameId when called.", "location": { "start": { @@ -90631,7 +92238,7 @@ } }, { - "id": "589", + "id": "599", "name": "Game History Record Repository getGameHistoryWerewolvesEatAncientRecords should get no record when there are no eat play.", "location": { "start": { @@ -90641,7 +92248,7 @@ } }, { - "id": "590", + "id": "600", "name": "Game History Record Repository getGameHistoryWerewolvesEatAncientRecords should get records of ancient eaten by any kind of werewolves for this gameId when called.", "location": { "start": { @@ -90651,7 +92258,7 @@ } }, { - "id": "591", + "id": "601", "name": "Game History Record Repository getGameHistoryAncientProtectedFromWerewolvesRecords should get game history where ancient is protected from werewolves records for gameId when called.", "location": { "start": { @@ -90661,7 +92268,7 @@ } }, { - "id": "592", + "id": "602", "name": "Game History Record Repository getPreviousGameHistoryRecord should get no record when game doesn't have history yet.", "location": { "start": { @@ -90671,7 +92278,7 @@ } }, { - "id": "593", + "id": "603", "name": "Game History Record Repository getPreviousGameHistoryRecord should get previous game history record for gameId when called.", "location": { "start": { @@ -90686,7 +92293,7 @@ "tests/unit/specs/modules/game/helpers/game-victory/game-victory.helper.spec.ts": { "tests": [ { - "id": "594", + "id": "604", "name": "Game Victory Helper doWerewolvesWin should return false when there are no players provided.", "location": { "start": { @@ -90696,7 +92303,7 @@ } }, { - "id": "595", + "id": "605", "name": "Game Victory Helper doWerewolvesWin should return false when there are no werewolves among players.", "location": { "start": { @@ -90706,7 +92313,7 @@ } }, { - "id": "596", + "id": "606", "name": "Game Victory Helper doWerewolvesWin should return false when there are at least one alive villager among players.", "location": { "start": { @@ -90716,7 +92323,7 @@ } }, { - "id": "597", + "id": "607", "name": "Game Victory Helper doWerewolvesWin should return true when all villagers are dead.", "location": { "start": { @@ -90726,7 +92333,7 @@ } }, { - "id": "598", + "id": "608", "name": "Game Victory Helper doVillagersWin should return false when there are no players provided.", "location": { "start": { @@ -90736,7 +92343,7 @@ } }, { - "id": "599", + "id": "609", "name": "Game Victory Helper doVillagersWin should return false when there are no villagers among players.", "location": { "start": { @@ -90746,7 +92353,7 @@ } }, { - "id": "600", + "id": "610", "name": "Game Victory Helper doVillagersWin should return false when there are at least one alive werewolf among players.", "location": { "start": { @@ -90756,7 +92363,7 @@ } }, { - "id": "601", + "id": "611", "name": "Game Victory Helper doVillagersWin should return true when all werewolves are dead.", "location": { "start": { @@ -90766,7 +92373,7 @@ } }, { - "id": "602", + "id": "612", "name": "Game Victory Helper doLoversWin should return false when no players are provided.", "location": { "start": { @@ -90776,7 +92383,7 @@ } }, { - "id": "603", + "id": "613", "name": "Game Victory Helper doLoversWin should return false when there are no lovers among players.", "location": { "start": { @@ -90786,7 +92393,7 @@ } }, { - "id": "604", + "id": "614", "name": "Game Victory Helper doLoversWin should return false when at least one non-lover player is alive.", "location": { "start": { @@ -90796,7 +92403,7 @@ } }, { - "id": "605", + "id": "615", "name": "Game Victory Helper doLoversWin should return false when at least one lover player is dead.", "location": { "start": { @@ -90806,7 +92413,7 @@ } }, { - "id": "606", + "id": "616", "name": "Game Victory Helper doLoversWin should return true when lovers are the last survivors.", "location": { "start": { @@ -90816,7 +92423,7 @@ } }, { - "id": "607", + "id": "617", "name": "Game Victory Helper doesWhiteWerewolfWin should return false when no players are provided.", "location": { "start": { @@ -90826,7 +92433,7 @@ } }, { - "id": "608", + "id": "618", "name": "Game Victory Helper doesWhiteWerewolfWin should return false when there is no white werewolf among players.", "location": { "start": { @@ -90836,7 +92443,7 @@ } }, { - "id": "609", + "id": "619", "name": "Game Victory Helper doesWhiteWerewolfWin should return false when there is at least one alive players among players except white werewolf himself.", "location": { "start": { @@ -90846,7 +92453,7 @@ } }, { - "id": "610", + "id": "620", "name": "Game Victory Helper doesWhiteWerewolfWin should return false when all players are dead even white werewolf himself.", "location": { "start": { @@ -90856,7 +92463,7 @@ } }, { - "id": "611", + "id": "621", "name": "Game Victory Helper doesWhiteWerewolfWin should return true when all players are dead except white werewolf.", "location": { "start": { @@ -90866,7 +92473,7 @@ } }, { - "id": "612", + "id": "622", "name": "Game Victory Helper doesPiedPiperWin should return false when no players are provided.", "location": { "start": { @@ -90876,7 +92483,7 @@ } }, { - "id": "613", + "id": "623", "name": "Game Victory Helper doesPiedPiperWin should return false when there is no pied piper among players.", "location": { "start": { @@ -90886,7 +92493,7 @@ } }, { - "id": "614", + "id": "624", "name": "Game Victory Helper doesPiedPiperWin should return false when pied piper is dead but all are charmed.", "location": { "start": { @@ -90896,7 +92503,7 @@ } }, { - "id": "615", + "id": "625", "name": "Game Victory Helper doesPiedPiperWin should return false when pied piper is powerless but all are charmed.", "location": { "start": { @@ -90906,7 +92513,7 @@ } }, { - "id": "616", + "id": "626", "name": "Game Victory Helper doesPiedPiperWin should return false when there are still left to charm players.", "location": { "start": { @@ -90916,7 +92523,7 @@ } }, { - "id": "617", + "id": "627", "name": "Game Victory Helper doesPiedPiperWin should return false when all are charmed but pied piper is powerless because infected.", "location": { "start": { @@ -90926,7 +92533,7 @@ } }, { - "id": "618", + "id": "628", "name": "Game Victory Helper doesPiedPiperWin should return true when all are charmed but pied piper is not powerless because infected.", "location": { "start": { @@ -90936,7 +92543,7 @@ } }, { - "id": "619", + "id": "629", "name": "Game Victory Helper doesPiedPiperWin should return true when all are charmed and pied piper is not infected anyway.", "location": { "start": { @@ -90946,7 +92553,7 @@ } }, { - "id": "620", + "id": "630", "name": "Game Victory Helper doesAngelWin should return false when no players provided.", "location": { "start": { @@ -90956,7 +92563,7 @@ } }, { - "id": "621", + "id": "631", "name": "Game Victory Helper doesAngelWin should return false when there is no angel among players.", "location": { "start": { @@ -90966,7 +92573,7 @@ } }, { - "id": "622", + "id": "632", "name": "Game Victory Helper doesAngelWin should return false when angel is still alive.", "location": { "start": { @@ -90976,7 +92583,7 @@ } }, { - "id": "623", + "id": "633", "name": "Game Victory Helper doesAngelWin should return false when angel is dead but has no death cause.", "location": { "start": { @@ -90986,7 +92593,7 @@ } }, { - "id": "624", + "id": "634", "name": "Game Victory Helper doesAngelWin should return false when angel is dead but powerless.", "location": { "start": { @@ -90996,7 +92603,7 @@ } }, { - "id": "625", + "id": "635", "name": "Game Victory Helper doesAngelWin should return false when it's not first turn of the game.", "location": { "start": { @@ -91006,7 +92613,7 @@ } }, { - "id": "626", + "id": "636", "name": "Game Victory Helper doesAngelWin should return false when angel is not dead from vote or eaten cause.", "location": { "start": { @@ -91016,7 +92623,7 @@ } }, { - "id": "627", + "id": "637", "name": "Game Victory Helper doesAngelWin should return true when angel is dead from eaten cause.", "location": { "start": { @@ -91026,7 +92633,7 @@ } }, { - "id": "628", + "id": "638", "name": "Game Victory Helper doesAngelWin should return true when angel is dead from vote cause.", "location": { "start": { @@ -91036,7 +92643,7 @@ } }, { - "id": "629", + "id": "639", "name": "Game Victory Helper isGameOver should throw error when game's current play is not set.", "location": { "start": { @@ -91046,7 +92653,7 @@ } }, { - "id": "630", + "id": "640", "name": "Game Victory Helper isGameOver should return true when all players are dead.", "location": { "start": { @@ -91056,7 +92663,7 @@ } }, { - "id": "631", + "id": "641", "name": "Game Victory Helper isGameOver should return false when there is a incoming shoot by hunter play.", "location": { "start": { @@ -91066,7 +92673,7 @@ } }, { - "id": "632", + "id": "642", "name": "Game Victory Helper isGameOver should return false when current play is shoot by hunter play.", "location": { "start": { @@ -91076,7 +92683,7 @@ } }, { - "id": "633", + "id": "643", "name": "Game Victory Helper isGameOver should return true when werewolves win.", "location": { "start": { @@ -91086,7 +92693,7 @@ } }, { - "id": "634", + "id": "644", "name": "Game Victory Helper isGameOver should return true when villagers win.", "location": { "start": { @@ -91096,7 +92703,7 @@ } }, { - "id": "635", + "id": "645", "name": "Game Victory Helper isGameOver should return true when lovers win.", "location": { "start": { @@ -91106,7 +92713,7 @@ } }, { - "id": "636", + "id": "646", "name": "Game Victory Helper isGameOver should return true when white werewolf wins.", "location": { "start": { @@ -91116,7 +92723,7 @@ } }, { - "id": "637", + "id": "647", "name": "Game Victory Helper isGameOver should return true when pied piper wins.", "location": { "start": { @@ -91126,7 +92733,7 @@ } }, { - "id": "638", + "id": "648", "name": "Game Victory Helper isGameOver should return true when angel wins.", "location": { "start": { @@ -91136,7 +92743,7 @@ } }, { - "id": "639", + "id": "649", "name": "Game Victory Helper generateGameVictoryData should return no winners when all players are dead.", "location": { "start": { @@ -91146,7 +92753,7 @@ } }, { - "id": "640", + "id": "650", "name": "Game Victory Helper generateGameVictoryData should return angel victory when angel wins.", "location": { "start": { @@ -91156,7 +92763,7 @@ } }, { - "id": "641", + "id": "651", "name": "Game Victory Helper generateGameVictoryData should return lovers victory when lovers win.", "location": { "start": { @@ -91166,7 +92773,7 @@ } }, { - "id": "642", + "id": "652", "name": "Game Victory Helper generateGameVictoryData should return pied piper victory when pied piper wins.", "location": { "start": { @@ -91176,7 +92783,7 @@ } }, { - "id": "643", + "id": "653", "name": "Game Victory Helper generateGameVictoryData should return white werewolf victory when white werewolf wins.", "location": { "start": { @@ -91186,7 +92793,7 @@ } }, { - "id": "644", + "id": "654", "name": "Game Victory Helper generateGameVictoryData should return werewolves victory when werewolves win.", "location": { "start": { @@ -91196,7 +92803,7 @@ } }, { - "id": "645", + "id": "655", "name": "Game Victory Helper generateGameVictoryData should return villagers victory when villagers win.", "location": { "start": { @@ -91206,7 +92813,7 @@ } }, { - "id": "646", + "id": "656", "name": "Game Victory Helper generateGameVictoryData should return undefined when no victory can't be generated.", "location": { "start": { @@ -91221,7 +92828,7 @@ "tests/unit/specs/modules/game/providers/services/game.service.spec.ts": { "tests": [ { - "id": "647", + "id": "657", "name": "Game Service getGames should get all games when called.", "location": { "start": { @@ -91231,7 +92838,7 @@ } }, { - "id": "648", + "id": "658", "name": "Game Service createGame should throw error when can't generate upcoming plays.", "location": { "start": { @@ -91241,7 +92848,7 @@ } }, { - "id": "649", + "id": "659", "name": "Game Service createGame should create game when called.", "location": { "start": { @@ -91251,7 +92858,7 @@ } }, { - "id": "650", + "id": "660", "name": "Game Service cancelGame should throw error when game is not playing.", "location": { "start": { @@ -91261,7 +92868,7 @@ } }, { - "id": "651", + "id": "661", "name": "Game Service cancelGame should call update method when game can be canceled.", "location": { "start": { @@ -91271,7 +92878,7 @@ } }, { - "id": "652", + "id": "662", "name": "Game Service makeGamePlay should throw an error when game is not playing.", "location": { "start": { @@ -91281,7 +92888,7 @@ } }, { - "id": "653", + "id": "663", "name": "Game Service makeGamePlay should call play validator method when called.", "location": { "start": { @@ -91291,7 +92898,7 @@ } }, { - "id": "654", + "id": "664", "name": "Game Service makeGamePlay should call play maker method when called.", "location": { "start": { @@ -91301,7 +92908,7 @@ } }, { - "id": "655", + "id": "665", "name": "Game Service makeGamePlay should call remove obsolete upcoming plays method when called.", "location": { "start": { @@ -91311,7 +92918,7 @@ } }, { - "id": "656", + "id": "666", "name": "Game Service makeGamePlay should call proceed to next game play method when called.", "location": { "start": { @@ -91321,7 +92928,7 @@ } }, { - "id": "657", + "id": "667", "name": "Game Service makeGamePlay should call handle game phase completion method when phase is ending.", "location": { "start": { @@ -91331,7 +92938,7 @@ } }, { - "id": "658", + "id": "668", "name": "Game Service makeGamePlay should call generate current game history record method when called.", "location": { "start": { @@ -91341,7 +92948,7 @@ } }, { - "id": "659", + "id": "669", "name": "Game Service makeGamePlay should call createGameHistoryRecord method when called.", "location": { "start": { @@ -91351,7 +92958,7 @@ } }, { - "id": "660", + "id": "670", "name": "Game Service makeGamePlay should call update method when called.", "location": { "start": { @@ -91361,7 +92968,7 @@ } }, { - "id": "661", + "id": "671", "name": "Game Service makeGamePlay should call set game over method when the game is done.", "location": { "start": { @@ -91371,7 +92978,7 @@ } }, { - "id": "662", + "id": "672", "name": "Game Service handleGamePhaseCompletion should call apply ending phase outcomes method when called.", "location": { "start": { @@ -91381,7 +92988,7 @@ } }, { - "id": "663", + "id": "673", "name": "Game Service handleGamePhaseCompletion should call decrease remaining phases attributes to players method when called.", "location": { "start": { @@ -91391,7 +92998,7 @@ } }, { - "id": "664", + "id": "674", "name": "Game Service handleGamePhaseCompletion should call switch phase method when called.", "location": { "start": { @@ -91401,7 +93008,7 @@ } }, { - "id": "665", + "id": "675", "name": "Game Service handleGamePhaseCompletion should call proceed to next game play method when called.", "location": { "start": { @@ -91411,7 +93018,7 @@ } }, { - "id": "666", + "id": "676", "name": "Game Service updateGame should throw an error when game not found by update repository method.", "location": { "start": { @@ -91421,7 +93028,7 @@ } }, { - "id": "667", + "id": "677", "name": "Game Service updateGame should return updated game when called.", "location": { "start": { @@ -91431,7 +93038,7 @@ } }, { - "id": "668", + "id": "678", "name": "Game Service setGameAsOver should set game as over when called.", "location": { "start": { @@ -91446,7 +93053,7 @@ "tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts": { "tests": [ { - "id": "669", + "id": "679", "name": "Game Play Vote Service getNominatedPlayers should get nominated players when called.", "location": { "start": { @@ -91456,7 +93063,7 @@ } }, { - "id": "670", + "id": "680", "name": "Game Play Vote Service getPlayerVoteCounts should get player vote counts with only simple votes when there is no sheriff.", "location": { "start": { @@ -91466,7 +93073,7 @@ } }, { - "id": "671", + "id": "681", "name": "Game Play Vote Service getPlayerVoteCounts should get player vote counts with only simple votes when sheriff doesn't have double vote.", "location": { "start": { @@ -91476,7 +93083,7 @@ } }, { - "id": "672", + "id": "682", "name": "Game Play Vote Service getPlayerVoteCounts should get player vote counts with simple only votes when game play is not vote.", "location": { "start": { @@ -91486,7 +93093,7 @@ } }, { - "id": "673", + "id": "683", "name": "Game Play Vote Service getPlayerVoteCounts should get player vote counts with simple votes and one doubled vote when sheriff has double vote.", "location": { "start": { @@ -91496,7 +93103,7 @@ } }, { - "id": "674", + "id": "684", "name": "Game Play Vote Service addRavenMarkVoteToPlayerVoteCounts should return player vote counts as is when action is not vote.", "location": { "start": { @@ -91506,7 +93113,7 @@ } }, { - "id": "675", + "id": "685", "name": "Game Play Vote Service addRavenMarkVoteToPlayerVoteCounts should return player vote counts as is when there is no raven player in the game.", "location": { "start": { @@ -91516,7 +93123,7 @@ } }, { - "id": "676", + "id": "686", "name": "Game Play Vote Service addRavenMarkVoteToPlayerVoteCounts should return player vote counts as is when raven player is not alive.", "location": { "start": { @@ -91526,7 +93133,7 @@ } }, { - "id": "677", + "id": "687", "name": "Game Play Vote Service addRavenMarkVoteToPlayerVoteCounts should return player vote counts as is when raven player is powerless.", "location": { "start": { @@ -91536,7 +93143,7 @@ } }, { - "id": "678", + "id": "688", "name": "Game Play Vote Service addRavenMarkVoteToPlayerVoteCounts should return player vote counts as is when there are no raven mark.", "location": { "start": { @@ -91546,7 +93153,7 @@ } }, { - "id": "679", + "id": "689", "name": "Game Play Vote Service addRavenMarkVoteToPlayerVoteCounts should return player vote counts as is when the raven target is dead.", "location": { "start": { @@ -91556,7 +93163,7 @@ } }, { - "id": "680", + "id": "690", "name": "Game Play Vote Service addRavenMarkVoteToPlayerVoteCounts should return player vote counts with new player vote entry when raven target doesn't have vote.", "location": { "start": { @@ -91566,7 +93173,7 @@ } }, { - "id": "681", + "id": "691", "name": "Game Play Vote Service addRavenMarkVoteToPlayerVoteCounts should return player vote counts with updated player vote entry when raven target already has votes.", "location": { "start": { @@ -91581,7 +93188,7 @@ "tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts": { "tests": [ { - "id": "682", + "id": "692", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#0].", "location": { "start": { @@ -91591,7 +93198,7 @@ } }, { - "id": "683", + "id": "693", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#1].", "location": { "start": { @@ -91601,7 +93208,7 @@ } }, { - "id": "684", + "id": "694", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#2].", "location": { "start": { @@ -91611,7 +93218,7 @@ } }, { - "id": "685", + "id": "695", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#3].", "location": { "start": { @@ -91621,7 +93228,7 @@ } }, { - "id": "686", + "id": "696", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called [#4].", "location": { "start": { @@ -91631,7 +93238,7 @@ } }, { - "id": "687", + "id": "697", "name": "Game Random Composition Service getRandomRolesForSide should get only werewolves when side is werewolves and no roles are available.", "location": { "start": { @@ -91641,7 +93248,7 @@ } }, { - "id": "688", + "id": "698", "name": "Game Random Composition Service getRandomRolesForSide should get only villagers when side is villagers and no roles are available.", "location": { "start": { @@ -91651,7 +93258,7 @@ } }, { - "id": "689", + "id": "699", "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": { @@ -91661,7 +93268,7 @@ } }, { - "id": "690", + "id": "700", "name": "Game Random Composition Service getRandomRolesForSide should not get fox when minInGame is too high for left to pick.", "location": { "start": { @@ -91671,7 +93278,7 @@ } }, { - "id": "691", + "id": "701", "name": "Game Random Composition Service getRandomRolesForSide should get three brothers when minInGame is exactly left to pick count.", "location": { "start": { @@ -91681,7 +93288,7 @@ } }, { - "id": "692", + "id": "702", "name": "Game Random Composition Service getRandomRolesForSide should get two sisters when minInGame is lower than left to pick count.", "location": { "start": { @@ -91691,7 +93298,7 @@ } }, { - "id": "693", + "id": "703", "name": "Game Random Composition Service getRandomRolesForSide should get full witches when maxInGame is equal to left to pick count.", "location": { "start": { @@ -91701,7 +93308,7 @@ } }, { - "id": "694", + "id": "704", "name": "Game Random Composition Service getWerewolfCountForComposition should return 1 when called with 4 players.", "location": { "start": { @@ -91711,7 +93318,7 @@ } }, { - "id": "695", + "id": "705", "name": "Game Random Composition Service getWerewolfCountForComposition should return 1 when called with 6 players.", "location": { "start": { @@ -91721,7 +93328,7 @@ } }, { - "id": "696", + "id": "706", "name": "Game Random Composition Service getWerewolfCountForComposition should return 2 when called with 7 players.", "location": { "start": { @@ -91731,7 +93338,7 @@ } }, { - "id": "697", + "id": "707", "name": "Game Random Composition Service getWerewolfCountForComposition should return 4 when called with 23 players.", "location": { "start": { @@ -91741,7 +93348,7 @@ } }, { - "id": "698", + "id": "708", "name": "Game Random Composition Service getWerewolfCountForComposition should return 4 when called with 24 players.", "location": { "start": { @@ -91751,7 +93358,7 @@ } }, { - "id": "699", + "id": "709", "name": "Game Random Composition Service getWerewolfCountForComposition should return 5 when called with 25 players.", "location": { "start": { @@ -91761,7 +93368,7 @@ } }, { - "id": "700", + "id": "710", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include some roles when there are excluded.", "location": { "start": { @@ -91771,7 +93378,7 @@ } }, { - "id": "701", + "id": "711", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include default villager role when powerful villager roles are prioritized.", "location": { "start": { @@ -91781,7 +93388,7 @@ } }, { - "id": "702", + "id": "712", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include default villager role when powerful villager roles are not prioritized.", "location": { "start": { @@ -91791,7 +93398,7 @@ } }, { - "id": "703", + "id": "713", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include default werewolf role when powerful werewolf roles are prioritized.", "location": { "start": { @@ -91801,7 +93408,7 @@ } }, { - "id": "704", + "id": "714", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include default werewolf role when powerful werewolf roles are not prioritized.", "location": { "start": { @@ -91811,7 +93418,7 @@ } }, { - "id": "705", + "id": "715", "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": { @@ -91821,7 +93428,7 @@ } }, { - "id": "706", + "id": "716", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include roles with recommended minimum of players when areRecommendedMinPlayersRespected is true when enough players.", "location": { "start": { @@ -91836,7 +93443,7 @@ "tests/unit/specs/modules/game/helpers/game-play/game-play.factory.spec.ts": { "tests": [ { - "id": "707", + "id": "717", "name": "Game Play Factory createGamePlaySheriffSettlesVotes should create game play sheriff settles votes when called.", "location": { "start": { @@ -91846,7 +93453,7 @@ } }, { - "id": "708", + "id": "718", "name": "Game Play Factory createGamePlaySheriffDelegates should create game play sheriff delegates when called.", "location": { "start": { @@ -91856,7 +93463,7 @@ } }, { - "id": "709", + "id": "719", "name": "Game Play Factory createGamePlayAllVote should create game play all vote when called.", "location": { "start": { @@ -91866,7 +93473,7 @@ } }, { - "id": "710", + "id": "720", "name": "Game Play Factory createGamePlayAllElectSheriff should create game play all elect sheriff when called.", "location": { "start": { @@ -91876,7 +93483,7 @@ } }, { - "id": "711", + "id": "721", "name": "Game Play Factory createGamePlayThiefChoosesCard should create game play thief chooses card when called.", "location": { "start": { @@ -91886,7 +93493,7 @@ } }, { - "id": "712", + "id": "722", "name": "Game Play Factory createGamePlayStutteringJudgeChoosesSign should create game play stuttering judge chooses sign when called.", "location": { "start": { @@ -91896,7 +93503,7 @@ } }, { - "id": "713", + "id": "723", "name": "Game Play Factory createGamePlayScapegoatBansVoting should create game play scapegoat bans voting when called.", "location": { "start": { @@ -91906,7 +93513,7 @@ } }, { - "id": "714", + "id": "724", "name": "Game Play Factory createGamePlayDogWolfChoosesSide should create game play dog wolf chooses side when called.", "location": { "start": { @@ -91916,7 +93523,7 @@ } }, { - "id": "715", + "id": "725", "name": "Game Play Factory createGamePlayWildChildChoosesModel should create game play wild child chooses model when called.", "location": { "start": { @@ -91926,7 +93533,7 @@ } }, { - "id": "716", + "id": "726", "name": "Game Play Factory createGamePlayFoxSniffs should create game play fox sniffs when called.", "location": { "start": { @@ -91936,7 +93543,7 @@ } }, { - "id": "717", + "id": "727", "name": "Game Play Factory createGamePlayCharmedMeetEachOther should create game play charmed players meet each other when called.", "location": { "start": { @@ -91946,7 +93553,7 @@ } }, { - "id": "718", + "id": "728", "name": "Game Play Factory createGamePlayLoversMeetEachOther should create game play lovers meet each other when called.", "location": { "start": { @@ -91956,7 +93563,7 @@ } }, { - "id": "719", + "id": "729", "name": "Game Play Factory createGamePlayThreeBrothersMeetEachOther should create game play three brothers meet each other when called.", "location": { "start": { @@ -91966,7 +93573,7 @@ } }, { - "id": "720", + "id": "730", "name": "Game Play Factory createGamePlayTwoSistersMeetEachOther should create game play two sisters meet each other when called.", "location": { "start": { @@ -91976,7 +93583,7 @@ } }, { - "id": "721", + "id": "731", "name": "Game Play Factory createGamePlayRavenMarks should create game play raven marks when called.", "location": { "start": { @@ -91986,7 +93593,7 @@ } }, { - "id": "722", + "id": "732", "name": "Game Play Factory createGamePlayGuardProtects should create game play guard protects when called.", "location": { "start": { @@ -91996,7 +93603,7 @@ } }, { - "id": "723", + "id": "733", "name": "Game Play Factory createGamePlayHunterShoots should create game play hunter shoots when called.", "location": { "start": { @@ -92006,7 +93613,7 @@ } }, { - "id": "724", + "id": "734", "name": "Game Play Factory createGamePlayWitchUsesPotions should create game play witch uses potions when called.", "location": { "start": { @@ -92016,7 +93623,7 @@ } }, { - "id": "725", + "id": "735", "name": "Game Play Factory createGamePlayPiedPiperCharms should create game play pied piper charms when called.", "location": { "start": { @@ -92026,7 +93633,7 @@ } }, { - "id": "726", + "id": "736", "name": "Game Play Factory createGamePlayCupidCharms should create game play cupid charms when called.", "location": { "start": { @@ -92036,7 +93643,7 @@ } }, { - "id": "727", + "id": "737", "name": "Game Play Factory createGamePlaySeerLooks should create game play seer looks when called.", "location": { "start": { @@ -92046,7 +93653,7 @@ } }, { - "id": "728", + "id": "738", "name": "Game Play Factory createGamePlayWhiteWerewolfEats should create game play white werewolf eats when called.", "location": { "start": { @@ -92056,7 +93663,7 @@ } }, { - "id": "729", + "id": "739", "name": "Game Play Factory createGamePlayBigBadWolfEats should create game play big bad wolf eats when called.", "location": { "start": { @@ -92066,7 +93673,7 @@ } }, { - "id": "730", + "id": "740", "name": "Game Play Factory createGamePlayWerewolvesEat should create game play werewolves eat when called.", "location": { "start": { @@ -92076,7 +93683,7 @@ } }, { - "id": "731", + "id": "741", "name": "Game Play Factory createGamePlay should create game play when called.", "location": { "start": { @@ -92091,7 +93698,7 @@ "tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.factory.spec.ts": { "tests": [ { - "id": "732", + "id": "742", "name": "Player Attribute Factory createContaminatedByRustySwordKnightPlayerAttribute should create contaminated attribute by rusty sword knight when called.", "location": { "start": { @@ -92101,7 +93708,7 @@ } }, { - "id": "733", + "id": "743", "name": "Player Attribute Factory createGrowledByBearTamerPlayerAttribute should create growled attribute by bear tamer when called.", "location": { "start": { @@ -92111,7 +93718,7 @@ } }, { - "id": "734", + "id": "744", "name": "Player Attribute Factory createCharmedByPiedPiperPlayerAttribute should create charmed attribute by pied piper when called.", "location": { "start": { @@ -92121,7 +93728,7 @@ } }, { - "id": "735", + "id": "745", "name": "Player Attribute Factory createCantVoteByAllPlayerAttribute should create can't vote attribute by all when called.", "location": { "start": { @@ -92131,7 +93738,7 @@ } }, { - "id": "736", + "id": "746", "name": "Player Attribute Factory createCantVoteByScapegoatPlayerAttribute should create can't vote attribute by scapegoat when called.", "location": { "start": { @@ -92141,7 +93748,7 @@ } }, { - "id": "737", + "id": "747", "name": "Player Attribute Factory createPowerlessByFoxPlayerAttribute should create powerless attribute by fox when called.", "location": { "start": { @@ -92151,7 +93758,7 @@ } }, { - "id": "738", + "id": "748", "name": "Player Attribute Factory createPowerlessByAncientPlayerAttribute should create powerless attribute by ancient when called.", "location": { "start": { @@ -92161,7 +93768,7 @@ } }, { - "id": "739", + "id": "749", "name": "Player Attribute Factory createWorshipedByWildChildPlayerAttribute should create worshiped attribute by wild child when called.", "location": { "start": { @@ -92171,7 +93778,7 @@ } }, { - "id": "740", + "id": "750", "name": "Player Attribute Factory createInLoveByCupidPlayerAttribute should create in love attribute by cupid when called.", "location": { "start": { @@ -92181,7 +93788,7 @@ } }, { - "id": "741", + "id": "751", "name": "Player Attribute Factory createRavenMarkByRavenPlayerAttribute should create raven-marked attribute by raven when called.", "location": { "start": { @@ -92191,7 +93798,7 @@ } }, { - "id": "742", + "id": "752", "name": "Player Attribute Factory createProtectedByGuardPlayerAttribute should create protected attribute by guard when called.", "location": { "start": { @@ -92201,7 +93808,7 @@ } }, { - "id": "743", + "id": "753", "name": "Player Attribute Factory createDrankDeathPotionByWitchPlayerAttribute should create drank death potion attribute by witch when called.", "location": { "start": { @@ -92211,7 +93818,7 @@ } }, { - "id": "744", + "id": "754", "name": "Player Attribute Factory createDrankLifePotionByWitchPlayerAttribute should create drank life potion attribute by witch when called.", "location": { "start": { @@ -92221,7 +93828,7 @@ } }, { - "id": "745", + "id": "755", "name": "Player Attribute Factory createEatenByBigBadWolfPlayerAttribute should create eaten attribute by big bad wolf when called.", "location": { "start": { @@ -92231,7 +93838,7 @@ } }, { - "id": "746", + "id": "756", "name": "Player Attribute Factory createEatenByWhiteWerewolfPlayerAttribute should create eaten attribute by white werewolves when called.", "location": { "start": { @@ -92241,7 +93848,7 @@ } }, { - "id": "747", + "id": "757", "name": "Player Attribute Factory createEatenByWerewolvesPlayerAttribute should create eaten attribute by werewolves when called.", "location": { "start": { @@ -92251,7 +93858,7 @@ } }, { - "id": "748", + "id": "758", "name": "Player Attribute Factory createSeenBySeerPlayerAttribute should create seen attribute by seer when called.", "location": { "start": { @@ -92261,7 +93868,7 @@ } }, { - "id": "749", + "id": "759", "name": "Player Attribute Factory createSheriffBySheriffPlayerAttribute should create sheriff attribute by sheriff when called.", "location": { "start": { @@ -92271,7 +93878,7 @@ } }, { - "id": "750", + "id": "760", "name": "Player Attribute Factory createSheriffByAllPlayerAttribute should create sheriff attribute by all when called.", "location": { "start": { @@ -92281,7 +93888,7 @@ } }, { - "id": "751", + "id": "761", "name": "Player Attribute Factory createPlayerAttribute should create player attribute when called.", "location": { "start": { @@ -92296,7 +93903,7 @@ "tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts": { "tests": [ { - "id": "752", + "id": "762", "name": "Game Phase Service applyEndingGamePhasePlayerAttributesOutcomesToPlayers should call ending game phase method for each player when called.", "location": { "start": { @@ -92306,7 +93913,7 @@ } }, { - "id": "753", + "id": "763", "name": "Game Phase Service switchPhaseAndAppendGamePhaseUpcomingPlays should switch to night and append upcoming night plays when game's current phase is DAY.", "location": { "start": { @@ -92316,7 +93923,7 @@ } }, { - "id": "754", + "id": "764", "name": "Game Phase Service switchPhaseAndAppendGamePhaseUpcomingPlays should switch to day and append upcoming day plays when game's current phase is NIGHT.", "location": { "start": { @@ -92326,7 +93933,7 @@ } }, { - "id": "755", + "id": "765", "name": "Game Phase Service applyEndingDayPlayerAttributesOutcomesToPlayer should do nothing when player doesn't have the contaminated attribute.", "location": { "start": { @@ -92336,7 +93943,7 @@ } }, { - "id": "756", + "id": "766", "name": "Game Phase Service applyEndingDayPlayerAttributesOutcomesToPlayer should call contaminated method when player has the contaminated attribute.", "location": { "start": { @@ -92346,7 +93953,7 @@ } }, { - "id": "757", + "id": "767", "name": "Game Phase Service applyEndingNightPlayerAttributesOutcomesToPlayer should do nothing when player doesn't have any ending night attributes.", "location": { "start": { @@ -92356,7 +93963,7 @@ } }, { - "id": "758", + "id": "768", "name": "Game Phase Service applyEndingNightPlayerAttributesOutcomesToPlayer should call all attributes outcomes methods when player has every attributes.", "location": { "start": { @@ -92366,7 +93973,7 @@ } }, { - "id": "759", + "id": "769", "name": "Game Phase Service applyEndingGamePhasePlayerAttributesOutcomesToPlayer should call ending night method when game phase is night.", "location": { "start": { @@ -92376,7 +93983,7 @@ } }, { - "id": "760", + "id": "770", "name": "Game Phase Service applyEndingGamePhasePlayerAttributesOutcomesToPlayer should call ending day method when game phase is day.", "location": { "start": { @@ -92391,7 +93998,7 @@ "tests/unit/specs/modules/game/helpers/game-play/game-play.helper.spec.ts": { "tests": [ { - "id": "761", + "id": "771", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should return undefined when votes are undefined.", "location": { "start": { @@ -92401,7 +94008,7 @@ } }, { - "id": "762", + "id": "772", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should throw error when votes contains one unknown source.", "location": { "start": { @@ -92411,7 +94018,7 @@ } }, { - "id": "763", + "id": "773", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should throw error when votes contains one unknown target.", "location": { "start": { @@ -92421,7 +94028,7 @@ } }, { - "id": "764", + "id": "774", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should fill votes with game players when called.", "location": { "start": { @@ -92431,7 +94038,7 @@ } }, { - "id": "765", + "id": "775", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should return undefined when targets are undefined.", "location": { "start": { @@ -92441,7 +94048,7 @@ } }, { - "id": "766", + "id": "776", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should throw error when targets contains one unknown player.", "location": { "start": { @@ -92451,7 +94058,7 @@ } }, { - "id": "767", + "id": "777", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should fill targets with game players when called.", "location": { "start": { @@ -92461,7 +94068,7 @@ } }, { - "id": "768", + "id": "778", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should return undefined when chosenCardId is undefined.", "location": { "start": { @@ -92471,7 +94078,7 @@ } }, { - "id": "769", + "id": "779", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should throw error when chosen card is unknown from game cards.", "location": { "start": { @@ -92481,7 +94088,7 @@ } }, { - "id": "770", + "id": "780", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should return chosen card when called.", "location": { "start": { @@ -92491,7 +94098,7 @@ } }, { - "id": "771", + "id": "781", "name": "Game Play Helper createMakeGamePlayDtoWithRelations should return same dto with relations when called.", "location": { "start": { @@ -92506,7 +94113,7 @@ "tests/unit/specs/modules/game/helpers/game.mutator.spec.ts": { "tests": [ { - "id": "772", + "id": "782", "name": "Game Mutator updatePlayerInGame should return game as is when player id is not found among players.", "location": { "start": { @@ -92516,7 +94123,7 @@ } }, { - "id": "773", + "id": "783", "name": "Game Mutator updatePlayerInGame should return game with updated player when player id found.", "location": { "start": { @@ -92526,7 +94133,7 @@ } }, { - "id": "774", + "id": "784", "name": "Game Mutator updatePlayerInGame should not mutate original game when called.", "location": { "start": { @@ -92536,7 +94143,7 @@ } }, { - "id": "775", + "id": "785", "name": "Game Mutator addPlayerAttributeInGame should return game as is when player id is not found among players.", "location": { "start": { @@ -92546,7 +94153,7 @@ } }, { - "id": "776", + "id": "786", "name": "Game Mutator addPlayerAttributeInGame should return game with player with new attribute when player is found.", "location": { "start": { @@ -92556,7 +94163,7 @@ } }, { - "id": "777", + "id": "787", "name": "Game Mutator addPlayerAttributeInGame should not mutate the original game when called.", "location": { "start": { @@ -92566,7 +94173,7 @@ } }, { - "id": "778", + "id": "788", "name": "Game Mutator addPlayersAttributeInGame should return game as is when player ids are not in the game.", "location": { "start": { @@ -92576,7 +94183,7 @@ } }, { - "id": "779", + "id": "789", "name": "Game Mutator addPlayersAttributeInGame should return game with players with new attribute when players are found.", "location": { "start": { @@ -92586,7 +94193,7 @@ } }, { - "id": "780", + "id": "790", "name": "Game Mutator addPlayersAttributeInGame should not mutate the original game when called.", "location": { "start": { @@ -92596,7 +94203,7 @@ } }, { - "id": "781", + "id": "791", "name": "Game Mutator removePlayerAttributeByNameInGame should return game as is when player is not found in game.", "location": { "start": { @@ -92606,7 +94213,7 @@ } }, { - "id": "782", + "id": "792", "name": "Game Mutator removePlayerAttributeByNameInGame should return game with player without his sheriff attribute when called.", "location": { "start": { @@ -92616,7 +94223,7 @@ } }, { - "id": "783", + "id": "793", "name": "Game Mutator removePlayerAttributeByNameInGame should not mutate the original game when called.", "location": { "start": { @@ -92626,7 +94233,7 @@ } }, { - "id": "784", + "id": "794", "name": "Game Mutator prependUpcomingPlayInGame should prepend play in upcoming plays when called.", "location": { "start": { @@ -92636,7 +94243,7 @@ } }, { - "id": "785", + "id": "795", "name": "Game Mutator prependUpcomingPlayInGame should not mutate the original game when called.", "location": { "start": { @@ -92646,7 +94253,7 @@ } }, { - "id": "786", + "id": "796", "name": "Game Mutator appendUpcomingPlayInGame should append play in upcoming plays when called.", "location": { "start": { @@ -92656,7 +94263,7 @@ } }, { - "id": "787", + "id": "797", "name": "Game Mutator appendUpcomingPlayInGame should not mutate the original game when called.", "location": { "start": { @@ -92671,7 +94278,7 @@ "tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts": { "tests": [ { - "id": "788", + "id": "798", "name": "Player Attribute Service applyEatenAttributeOutcomes should call killOrRevealPlayer when called.", "location": { "start": { @@ -92681,7 +94288,7 @@ } }, { - "id": "789", + "id": "799", "name": "Player Attribute Service applyDrankDeathPotionAttributeOutcomes should call killOrRevealPlayer when called.", "location": { "start": { @@ -92691,7 +94298,7 @@ } }, { - "id": "790", + "id": "800", "name": "Player Attribute Service applyContaminatedAttributeOutcomes should call killOrRevealPlayer when called.", "location": { "start": { @@ -92701,7 +94308,7 @@ } }, { - "id": "791", + "id": "801", "name": "Player Attribute Service decreaseAttributeRemainingPhase should return attribute as is when there is no remaining phases.", "location": { "start": { @@ -92711,7 +94318,7 @@ } }, { - "id": "792", + "id": "802", "name": "Player Attribute Service decreaseAttributeRemainingPhase should return attribute as is when attribute is not active yet.", "location": { "start": { @@ -92721,7 +94328,7 @@ } }, { - "id": "793", + "id": "803", "name": "Player Attribute Service decreaseAttributeRemainingPhase should return decreased attribute when called.", "location": { "start": { @@ -92731,7 +94338,7 @@ } }, { - "id": "794", + "id": "804", "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoleteAttributes should return player as is when he is dead.", "location": { "start": { @@ -92741,7 +94348,7 @@ } }, { - "id": "795", + "id": "805", "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoleteAttributes should return player with one decreased attribute and other one removed when called.", "location": { "start": { @@ -92751,7 +94358,7 @@ } }, { - "id": "796", + "id": "806", "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes should decrease and remove attributes among players when called.", "location": { "start": { @@ -92766,7 +94373,7 @@ "tests/unit/specs/modules/game/helpers/player/player-death/player-death.factory.spec.ts": { "tests": [ { - "id": "797", + "id": "807", "name": "Player Death Factory createPlayerDiseaseByRustySwordKnightDeath should create player contaminated by rusty sword knight when called.", "location": { "start": { @@ -92776,7 +94383,7 @@ } }, { - "id": "798", + "id": "808", "name": "Player Death Factory createPlayerBrokenHeartByCupidDeath should create player broken heart by cupid when called.", "location": { "start": { @@ -92786,7 +94393,7 @@ } }, { - "id": "799", + "id": "809", "name": "Player Death Factory createPlayerReconsiderPardonByAllDeath should create player reconsider pardon by all death when called.", "location": { "start": { @@ -92796,7 +94403,7 @@ } }, { - "id": "800", + "id": "810", "name": "Player Death Factory createPlayerVoteScapegoatedByAllDeath should create player vote scapegoated by all death when called.", "location": { "start": { @@ -92806,7 +94413,7 @@ } }, { - "id": "801", + "id": "811", "name": "Player Death Factory createPlayerVoteBySheriffDeath should create player vote by sheriff death when called.", "location": { "start": { @@ -92816,7 +94423,7 @@ } }, { - "id": "802", + "id": "812", "name": "Player Death Factory createPlayerVoteByAllDeath should create player vote by all death when called.", "location": { "start": { @@ -92826,7 +94433,7 @@ } }, { - "id": "803", + "id": "813", "name": "Player Death Factory createPlayerShotByHunterDeath should create player shot by hunter death when called.", "location": { "start": { @@ -92836,7 +94443,7 @@ } }, { - "id": "804", + "id": "814", "name": "Player Death Factory createPlayerEatenByWhiteWerewolfDeath should create player eaten by white werewolf death when called.", "location": { "start": { @@ -92846,7 +94453,7 @@ } }, { - "id": "805", + "id": "815", "name": "Player Death Factory createPlayerEatenByBigBadWolfDeath should create player eaten by big bad wolf death when called.", "location": { "start": { @@ -92856,7 +94463,7 @@ } }, { - "id": "806", + "id": "816", "name": "Player Death Factory createPlayerEatenByWerewolvesDeath should create player eaten by werewolves death when called.", "location": { "start": { @@ -92866,7 +94473,7 @@ } }, { - "id": "807", + "id": "817", "name": "Player Death Factory createPlayerDeathPotionByWitchDeath should create player death potion by witch death when called.", "location": { "start": { @@ -92876,7 +94483,7 @@ } }, { - "id": "808", + "id": "818", "name": "Player Death Factory createPlayerDeath should create player death when called.", "location": { "start": { @@ -92891,7 +94498,7 @@ "tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts": { "tests": [ { - "id": "809", + "id": "819", "name": "Player Helper doesPlayerHaveAttribute should return false when player doesn't have any attributes.", "location": { "start": { @@ -92901,7 +94508,7 @@ } }, { - "id": "810", + "id": "820", "name": "Player Helper doesPlayerHaveAttribute should return false when player doesn't have the attribute.", "location": { "start": { @@ -92911,7 +94518,7 @@ } }, { - "id": "811", + "id": "821", "name": "Player Helper doesPlayerHaveAttribute should return true when player has the attribute.", "location": { "start": { @@ -92921,7 +94528,7 @@ } }, { - "id": "812", + "id": "822", "name": "Player Helper canPiedPiperCharm should return false when pied piper is powerless.", "location": { "start": { @@ -92931,7 +94538,7 @@ } }, { - "id": "813", + "id": "823", "name": "Player Helper canPiedPiperCharm should return false when pied piper is dead.", "location": { "start": { @@ -92941,7 +94548,7 @@ } }, { - "id": "814", + "id": "824", "name": "Player Helper canPiedPiperCharm should return false when pied piper is infected and thus is powerless.", "location": { "start": { @@ -92951,7 +94558,7 @@ } }, { - "id": "815", + "id": "825", "name": "Player Helper canPiedPiperCharm should return true when pied piper is infected but original rule is not respected.", "location": { "start": { @@ -92961,7 +94568,7 @@ } }, { - "id": "816", + "id": "826", "name": "Player Helper canPiedPiperCharm should return true when pied piper is not powerless and currently a villager.", "location": { "start": { @@ -92971,7 +94578,7 @@ } }, { - "id": "817", + "id": "827", "name": "Player Helper isPlayerAliveAndPowerful should return false when player is dead.", "location": { "start": { @@ -92981,7 +94588,7 @@ } }, { - "id": "818", + "id": "828", "name": "Player Helper isPlayerAliveAndPowerful should return false when player is powerless.", "location": { "start": { @@ -92991,7 +94598,7 @@ } }, { - "id": "819", + "id": "829", "name": "Player Helper isPlayerAliveAndPowerful should return true when player is alive and powerful.", "location": { "start": { @@ -93001,7 +94608,7 @@ } }, { - "id": "820", + "id": "830", "name": "Player Helper isPlayerOnWerewolvesSide should return false when player is on villagers side.", "location": { "start": { @@ -93011,7 +94618,7 @@ } }, { - "id": "821", + "id": "831", "name": "Player Helper isPlayerOnWerewolvesSide should return true when player is on werewolves side.", "location": { "start": { @@ -93021,7 +94628,7 @@ } }, { - "id": "822", + "id": "832", "name": "Player Helper isPlayerOnVillagersSide should return true when player is on villagers side.", "location": { "start": { @@ -93031,7 +94638,7 @@ } }, { - "id": "823", + "id": "833", "name": "Player Helper isPlayerOnVillagersSide should return false when player is on werewolves side.", "location": { "start": { @@ -93046,7 +94653,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-positions-consistency.decorator.spec.ts": { "tests": [ { - "id": "824", + "id": "834", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when players are undefined.", "location": { "start": { @@ -93056,7 +94663,7 @@ } }, { - "id": "825", + "id": "835", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when players are not an array.", "location": { "start": { @@ -93066,7 +94673,7 @@ } }, { - "id": "826", + "id": "836", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when one of the players is not an object.", "location": { "start": { @@ -93076,7 +94683,7 @@ } }, { - "id": "827", + "id": "837", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return true when there is no position set in composition.", "location": { "start": { @@ -93086,7 +94693,7 @@ } }, { - "id": "828", + "id": "838", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is one position set in composition but not the others.", "location": { "start": { @@ -93096,7 +94703,7 @@ } }, { - "id": "829", + "id": "839", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is twice the same position in composition.", "location": { "start": { @@ -93106,7 +94713,7 @@ } }, { - "id": "830", + "id": "840", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when positions sequence starts at 1.", "location": { "start": { @@ -93116,7 +94723,7 @@ } }, { - "id": "831", + "id": "841", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is one too high position in composition.", "location": { "start": { @@ -93126,7 +94733,7 @@ } }, { - "id": "832", + "id": "842", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return true when all positions are sequence in composition.", "location": { "start": { @@ -93136,7 +94743,7 @@ } }, { - "id": "833", + "id": "843", "name": "Composition Positions Consistency Decorator getCompositionPositionsConsistencyDefaultMessage should return default message when called.", "location": { "start": { @@ -93151,7 +94758,7 @@ "tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts": { "tests": [ { - "id": "834", + "id": "844", "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation is undefined.", "location": { "start": { @@ -93161,7 +94768,7 @@ } }, { - "id": "835", + "id": "845", "name": "Player Attribute Helper isPlayerAttributeActive should return false when activation turn is not reached yet.", "location": { "start": { @@ -93171,7 +94778,7 @@ } }, { - "id": "836", + "id": "846", "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation turn is reached (+1).", "location": { "start": { @@ -93181,7 +94788,7 @@ } }, { - "id": "837", + "id": "847", "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": { @@ -93191,7 +94798,7 @@ } }, { - "id": "838", + "id": "848", "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation turn is same as game's turn and phase too.", "location": { "start": { @@ -93201,7 +94808,7 @@ } }, { - "id": "839", + "id": "849", "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": { @@ -93211,7 +94818,7 @@ } }, { - "id": "840", + "id": "850", "name": "Player Attribute Helper getPlayerAttribute should get attribute when player has this attribute.", "location": { "start": { @@ -93221,7 +94828,7 @@ } }, { - "id": "841", + "id": "851", "name": "Player Attribute Helper getPlayerAttribute should return undefined when player doesn't have the attribute.", "location": { "start": { @@ -93236,7 +94843,7 @@ "tests/unit/specs/server/server.spec.ts": { "tests": [ { - "id": "842", + "id": "852", "name": "Server bootstrap should create FastifyAdapter with default fastify server options when called.", "location": { "start": { @@ -93246,7 +94853,7 @@ } }, { - "id": "843", + "id": "853", "name": "Server bootstrap should call listen with the default port when no port is provided.", "location": { "start": { @@ -93256,7 +94863,7 @@ } }, { - "id": "844", + "id": "854", "name": "Server bootstrap should call listen with 4000 when port 4000 is provided.", "location": { "start": { @@ -93266,7 +94873,7 @@ } }, { - "id": "845", + "id": "855", "name": "Server bootstrap should add validation pipe with transform when Validation Pipe constructor is called.", "location": { "start": { @@ -93276,7 +94883,7 @@ } }, { - "id": "846", + "id": "856", "name": "Server bootstrap should serve public directory when called.", "location": { "start": { @@ -93286,7 +94893,7 @@ } }, { - "id": "847", + "id": "857", "name": "Server bootstrap should print server and docs address with specific port when port is provided.", "location": { "start": { @@ -93301,7 +94908,7 @@ "tests/unit/specs/server/swagger/swagger.spec.ts": { "tests": [ { - "id": "848", + "id": "858", "name": "Server Swagger createSwaggerDocument should call document builder methods when function is called with known version.", "location": { "start": { @@ -93311,7 +94918,7 @@ } }, { - "id": "849", + "id": "859", "name": "Server Swagger createSwaggerDocument should call document builder methods when function is called with unknown version.", "location": { "start": { @@ -93321,7 +94928,7 @@ } }, { - "id": "850", + "id": "860", "name": "Server Swagger createSwaggerDocument should call createDocument and setup functions when function is called.", "location": { "start": { @@ -93336,7 +94943,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-roles-min-in-game.decorator.spec.ts": { "tests": [ { - "id": "851", + "id": "861", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when players are undefined.", "location": { "start": { @@ -93346,7 +94953,7 @@ } }, { - "id": "852", + "id": "862", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when players are not an array.", "location": { "start": { @@ -93356,7 +94963,7 @@ } }, { - "id": "853", + "id": "863", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when one of the players is not an object.", "location": { "start": { @@ -93366,7 +94973,7 @@ } }, { - "id": "854", + "id": "864", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -93376,7 +94983,7 @@ } }, { - "id": "855", + "id": "865", "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": { @@ -93386,7 +94993,7 @@ } }, { - "id": "856", + "id": "866", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return true when players are empty.", "location": { "start": { @@ -93396,7 +95003,7 @@ } }, { - "id": "857", + "id": "867", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return true when the limit for each role is respected.", "location": { "start": { @@ -93406,7 +95013,7 @@ } }, { - "id": "858", + "id": "868", "name": "Composition Roles Min In Game Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -93421,7 +95028,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-roles-max-in-game.decorator.spec.ts": { "tests": [ { - "id": "859", + "id": "869", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when players are undefined.", "location": { "start": { @@ -93431,7 +95038,7 @@ } }, { - "id": "860", + "id": "870", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when players are not an array.", "location": { "start": { @@ -93441,7 +95048,7 @@ } }, { - "id": "861", + "id": "871", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when one of the players is not an object.", "location": { "start": { @@ -93451,7 +95058,7 @@ } }, { - "id": "862", + "id": "872", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -93461,7 +95068,7 @@ } }, { - "id": "863", + "id": "873", "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": { @@ -93471,7 +95078,7 @@ } }, { - "id": "864", + "id": "874", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return true when players are empty.", "location": { "start": { @@ -93481,7 +95088,7 @@ } }, { - "id": "865", + "id": "875", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return true when the limit for each role is respected.", "location": { "start": { @@ -93491,7 +95098,7 @@ } }, { - "id": "866", + "id": "876", "name": "Composition Roles Max In Game Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -93506,7 +95113,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-has-villager.decorator.spec.ts": { "tests": [ { - "id": "867", + "id": "877", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are undefined.", "location": { "start": { @@ -93516,7 +95123,7 @@ } }, { - "id": "868", + "id": "878", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are not an array.", "location": { "start": { @@ -93526,7 +95133,7 @@ } }, { - "id": "869", + "id": "879", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when one of the players is not an object.", "location": { "start": { @@ -93536,7 +95143,7 @@ } }, { - "id": "870", + "id": "880", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -93546,7 +95153,7 @@ } }, { - "id": "871", + "id": "881", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when composition is full of werewolves.", "location": { "start": { @@ -93556,7 +95163,7 @@ } }, { - "id": "872", + "id": "882", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are empty.", "location": { "start": { @@ -93566,7 +95173,7 @@ } }, { - "id": "873", + "id": "883", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return true when there is at least one villager in composition.", "location": { "start": { @@ -93576,7 +95183,7 @@ } }, { - "id": "874", + "id": "884", "name": "Composition Has Villager Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -93591,7 +95198,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-has-werewolf.decorator.spec.ts": { "tests": [ { - "id": "875", + "id": "885", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are undefined.", "location": { "start": { @@ -93601,7 +95208,7 @@ } }, { - "id": "876", + "id": "886", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are not an array.", "location": { "start": { @@ -93611,7 +95218,7 @@ } }, { - "id": "877", + "id": "887", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when one of the players is not an object.", "location": { "start": { @@ -93621,7 +95228,7 @@ } }, { - "id": "878", + "id": "888", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -93631,7 +95238,7 @@ } }, { - "id": "879", + "id": "889", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when composition is full of villagers.", "location": { "start": { @@ -93641,7 +95248,7 @@ } }, { - "id": "880", + "id": "890", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are empty.", "location": { "start": { @@ -93651,7 +95258,7 @@ } }, { - "id": "881", + "id": "891", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return true when there is at least one werewolf in composition.", "location": { "start": { @@ -93661,7 +95268,7 @@ } }, { - "id": "882", + "id": "892", "name": "Composition Has Werewolf Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -93676,7 +95283,7 @@ "tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts": { "tests": [ { - "id": "883", + "id": "893", "name": "Unexpected Exception Factory createCantFindPlayerUnexpectedException should create player is dead unexpected exception when called.", "location": { "start": { @@ -93686,7 +95293,7 @@ } }, { - "id": "884", + "id": "894", "name": "Unexpected Exception Factory createPlayerIsDeadUnexpectedException should create player is dead unexpected exception when called.", "location": { "start": { @@ -93696,7 +95303,7 @@ } }, { - "id": "885", + "id": "895", "name": "Unexpected Exception Factory createCantGenerateGamePlaysUnexpectedException should create can't generate game plays unexpected exception when called.", "location": { "start": { @@ -93706,7 +95313,7 @@ } }, { - "id": "886", + "id": "896", "name": "Unexpected Exception Factory createNoCurrentGamePlayUnexpectedException should create no current game play unexpected exception when called.", "location": { "start": { @@ -93721,7 +95328,7 @@ "tests/unit/specs/modules/game/dto/base/game-player/transformers/player-side.transformer.spec.ts": { "tests": [ { - "id": "887", + "id": "897", "name": "Player Side Transformer playerSideTransformer should return null when value is null.", "location": { "start": { @@ -93731,7 +95338,7 @@ } }, { - "id": "888", + "id": "898", "name": "Player Side Transformer playerSideTransformer should return same value when value is not an object.", "location": { "start": { @@ -93741,7 +95348,7 @@ } }, { - "id": "889", + "id": "899", "name": "Player Side Transformer playerSideTransformer should return same value when obj is not an object.", "location": { "start": { @@ -93751,7 +95358,7 @@ } }, { - "id": "890", + "id": "900", "name": "Player Side Transformer playerSideTransformer should return same value when obj doesn't have the role.name field.", "location": { "start": { @@ -93761,7 +95368,7 @@ } }, { - "id": "891", + "id": "901", "name": "Player Side Transformer playerSideTransformer should return same value when role is unknown.", "location": { "start": { @@ -93771,7 +95378,7 @@ } }, { - "id": "892", + "id": "902", "name": "Player Side Transformer playerSideTransformer should fill player side with werewolf data when role is white werewolf.", "location": { "start": { @@ -93781,7 +95388,7 @@ } }, { - "id": "893", + "id": "903", "name": "Player Side Transformer playerSideTransformer should fill player side with villager data when role is witch.", "location": { "start": { @@ -93796,7 +95403,7 @@ "tests/unit/specs/modules/game/dto/base/game-player/transformers/player-role.transformer.spec.ts": { "tests": [ { - "id": "894", + "id": "904", "name": "Player Role Transformer playerRoleTransformer should return null when value is null.", "location": { "start": { @@ -93806,7 +95413,7 @@ } }, { - "id": "895", + "id": "905", "name": "Player Role Transformer playerRoleTransformer should return same value when value is not an object.", "location": { "start": { @@ -93816,7 +95423,7 @@ } }, { - "id": "896", + "id": "906", "name": "Player Role Transformer playerRoleTransformer should return same value when value doesn't have the name field.", "location": { "start": { @@ -93826,7 +95433,7 @@ } }, { - "id": "897", + "id": "907", "name": "Player Role Transformer playerRoleTransformer should return same value when role is unknown.", "location": { "start": { @@ -93836,7 +95443,7 @@ } }, { - "id": "898", + "id": "908", "name": "Player Role Transformer playerRoleTransformer should fill player role (seer) fields when called.", "location": { "start": { @@ -93846,7 +95453,7 @@ } }, { - "id": "899", + "id": "909", "name": "Player Role Transformer playerRoleTransformer should fill player role (white-werewolf) fields when called.", "location": { "start": { @@ -93856,7 +95463,7 @@ } }, { - "id": "900", + "id": "910", "name": "Player Role Transformer playerRoleTransformer should fill player role fields with isRevealed true when role is villager villager.", "location": { "start": { @@ -93871,7 +95478,7 @@ "tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts": { "tests": [ { - "id": "901", + "id": "911", "name": "Get Game By Id Pipe transform should throw error when value is not a valid object id.", "location": { "start": { @@ -93881,7 +95488,7 @@ } }, { - "id": "902", + "id": "912", "name": "Get Game By Id Pipe transform should throw error when game is not found.", "location": { "start": { @@ -93891,7 +95498,7 @@ } }, { - "id": "903", + "id": "913", "name": "Get Game By Id Pipe transform should return existing game when game is found.", "location": { "start": { @@ -93906,7 +95513,7 @@ "tests/unit/specs/modules/config/database/helpers/database.helper.spec.ts": { "tests": [ { - "id": "904", + "id": "914", "name": "Database Helper mongooseModuleFactory should return connection string when called.", "location": { "start": { @@ -93921,7 +95528,7 @@ "tests/unit/specs/modules/game/dto/base/transformers/game-players-position.transformer.spec.ts": { "tests": [ { - "id": "905", + "id": "915", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return same value when value is not an array.", "location": { "start": { @@ -93931,7 +95538,7 @@ } }, { - "id": "906", + "id": "916", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return same value when one value of the array is not object.", "location": { "start": { @@ -93941,7 +95548,7 @@ } }, { - "id": "907", + "id": "917", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players as is when every position is set.", "location": { "start": { @@ -93951,7 +95558,7 @@ } }, { - "id": "908", + "id": "918", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players as is when at least one position is not set.", "location": { "start": { @@ -93961,7 +95568,7 @@ } }, { - "id": "909", + "id": "919", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players with sequential position when no positions are set.", "location": { "start": { @@ -93976,7 +95583,7 @@ "tests/unit/specs/modules/config/env/helpers/env.helper.spec.ts": { "tests": [ { - "id": "910", + "id": "920", "name": "Config Env Helper validate should return the validated config when there is no error in env variables.", "location": { "start": { @@ -93986,7 +95593,7 @@ } }, { - "id": "911", + "id": "921", "name": "Config Env Helper validate should throw error when env variables is not valid.", "location": { "start": { @@ -93996,7 +95603,7 @@ } }, { - "id": "912", + "id": "922", "name": "Config Env Helper getEnvPath should return default development env path when NODE_ENV is undefined.", "location": { "start": { @@ -94006,7 +95613,7 @@ } }, { - "id": "913", + "id": "923", "name": "Config Env Helper getEnvPath should return test env path when NODE_ENV is test.", "location": { "start": { @@ -94016,7 +95623,7 @@ } }, { - "id": "914", + "id": "924", "name": "Config Env Helper getEnvPaths should return default and local test env paths when function is called.", "location": { "start": { @@ -94031,7 +95638,7 @@ "tests/unit/specs/modules/role/helpers/role.helper.spec.ts": { "tests": [ { - "id": "915", + "id": "925", "name": "Role Helper getRolesWithSide should get all werewolf roles when werewolf side is provided.", "location": { "start": { @@ -94041,7 +95648,7 @@ } }, { - "id": "916", + "id": "926", "name": "Role Helper getRolesWithSide should get all villagers roles when villager side is provided.", "location": { "start": { @@ -94056,7 +95663,7 @@ "tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts": { "tests": [ { - "id": "917", + "id": "927", "name": "Health Controller GET /health should return app health when route is called.", "location": { "start": { @@ -94071,7 +95678,7 @@ "tests/e2e/specs/modules/role/controllers/role.controller.e2e-spec.ts": { "tests": [ { - "id": "918", + "id": "928", "name": "Role Controller GET /roles should return roles when route is called.", "location": { "start": { @@ -94086,7 +95693,7 @@ "tests/unit/specs/shared/api/pipes/validate-mongo-id.pipe.spec.ts": { "tests": [ { - "id": "919", + "id": "929", "name": "Validate MongoId Pipe transform should return the value as ObjectId when value is a correct MongoId (string).", "location": { "start": { @@ -94096,7 +95703,7 @@ } }, { - "id": "920", + "id": "930", "name": "Validate MongoId Pipe transform should return the value as ObjectId when value is a correct MongoId (objectId).", "location": { "start": { @@ -94106,7 +95713,7 @@ } }, { - "id": "921", + "id": "931", "name": "Validate MongoId Pipe transform should throw an error when value is a incorrect string MongoId.", "location": { "start": { @@ -94116,7 +95723,7 @@ } }, { - "id": "922", + "id": "932", "name": "Validate MongoId Pipe transform should throw an error when value is null.", "location": { "start": { @@ -94131,7 +95738,7 @@ "tests/unit/specs/shared/exception/types/unexpected-exception.type.spec.ts": { "tests": [ { - "id": "923", + "id": "933", "name": "Unexpected exception type getResponse should get response with description without interpolations when interpolations are not necessary.", "location": { "start": { @@ -94141,7 +95748,7 @@ } }, { - "id": "924", + "id": "934", "name": "Unexpected exception type getResponse should get response with description with interpolations when interpolations necessary.", "location": { "start": { @@ -94156,7 +95763,7 @@ "tests/unit/specs/shared/exception/types/resource-not-found-exception.type.spec.ts": { "tests": [ { - "id": "925", + "id": "935", "name": "Resource not found exception type getResponse should get response without description when called without reason.", "location": { "start": { @@ -94166,7 +95773,7 @@ } }, { - "id": "926", + "id": "936", "name": "Resource not found exception type getResponse should get response with description when called with reason.", "location": { "start": { @@ -94181,7 +95788,7 @@ "tests/unit/specs/shared/exception/types/bad-resource-mutation-exception.type.spec.ts": { "tests": [ { - "id": "927", + "id": "937", "name": "Resource not found mutation exception type getResponse should get response without description when called without reason.", "location": { "start": { @@ -94191,7 +95798,7 @@ } }, { - "id": "928", + "id": "938", "name": "Resource not found mutation exception type getResponse should get response with description when called with reason.", "location": { "start": { @@ -94206,7 +95813,7 @@ "tests/unit/specs/modules/game/controllers/decorators/api-game-not-found-response.decorator.spec.ts": { "tests": [ { - "id": "929", + "id": "939", "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": { @@ -94216,7 +95823,7 @@ } }, { - "id": "930", + "id": "940", "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": { @@ -94231,7 +95838,7 @@ "tests/unit/specs/modules/game/controllers/decorators/api-game-id-param.decorator.spec.ts": { "tests": [ { - "id": "931", + "id": "941", "name": "Api Game Id Param Decorator ApiGameIdParam should call api param function with default values when called without specific options.", "location": { "start": { @@ -94241,7 +95848,7 @@ } }, { - "id": "932", + "id": "942", "name": "Api Game Id Param Decorator ApiGameIdParam should call api param function with other values when called with specific options.", "location": { "start": { @@ -94256,7 +95863,7 @@ "tests/unit/specs/modules/role/constants/role.constant.spec.ts": { "tests": [ { - "id": "933", + "id": "943", "name": "Role Constant werewolvesRoles should contain only roles with side 'werewolves' when called.", "location": { "start": { @@ -94266,7 +95873,7 @@ } }, { - "id": "934", + "id": "944", "name": "Role Constant villagerRoles should contain only roles with side 'villagers' when called.", "location": { "start": { @@ -94276,7 +95883,7 @@ } }, { - "id": "935", + "id": "945", "name": "Role Constant roles should contain all roles when called.", "location": { "start": { @@ -94291,7 +95898,7 @@ "tests/e2e/specs/app.controller.e2e-spec.ts": { "tests": [ { - "id": "936", + "id": "946", "name": "App Controller GET / should return status code 204 when route is called.", "location": { "start": { @@ -94306,7 +95913,7 @@ "tests/unit/specs/shared/exception/types/bad-game-play-payload-exception.type.spec.ts": { "tests": [ { - "id": "937", + "id": "947", "name": "Bad game play payload exception type getResponse should get response when called.", "location": { "start": { @@ -94321,7 +95928,7 @@ "tests/unit/specs/shared/api/helpers/api.helper.spec.ts": { "tests": [ { - "id": "938", + "id": "948", "name": "API Helper getResourceSingularForm should return game when called with games [#0].", "location": { "start": { @@ -94331,7 +95938,7 @@ } }, { - "id": "939", + "id": "949", "name": "API Helper getResourceSingularForm should return player when called with players [#1].", "location": { "start": { @@ -94341,7 +95948,7 @@ } }, { - "id": "940", + "id": "950", "name": "API Helper getResourceSingularForm should return additional card when called with game-additional-cards [#2].", "location": { "start": { @@ -94351,7 +95958,7 @@ } }, { - "id": "941", + "id": "951", "name": "API Helper getResourceSingularForm should return role when called with roles [#3].", "location": { "start": { @@ -94361,7 +95968,7 @@ } }, { - "id": "942", + "id": "952", "name": "API Helper getResourceSingularForm should return health when called with health [#4].", "location": { "start": { @@ -94376,7 +95983,7 @@ "tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts": { "tests": [ { - "id": "943", + "id": "953", "name": "Validation Transformer toBoolean should return true when input is {\"value\": \"true\"} [#0].", "location": { "start": { @@ -94386,7 +95993,7 @@ } }, { - "id": "944", + "id": "954", "name": "Validation Transformer toBoolean should return false when input is {\"value\": \"false\"} [#1].", "location": { "start": { @@ -94396,7 +96003,7 @@ } }, { - "id": "945", + "id": "955", "name": "Validation Transformer toBoolean should return false2 when input is {\"value\": \"false2\"} [#2].", "location": { "start": { @@ -94406,7 +96013,7 @@ } }, { - "id": "946", + "id": "956", "name": "Validation Transformer toBoolean should return true when input is {\"value\": true} [#3].", "location": { "start": { @@ -94416,7 +96023,7 @@ } }, { - "id": "947", + "id": "957", "name": "Validation Transformer toBoolean should return false when input is {\"value\": false} [#4].", "location": { "start": { @@ -94426,7 +96033,7 @@ } }, { - "id": "948", + "id": "958", "name": "Validation Transformer toBoolean should return 0 when input is {\"value\": 0} [#5].", "location": { "start": { @@ -94436,7 +96043,7 @@ } }, { - "id": "949", + "id": "959", "name": "Validation Transformer toBoolean should return 1 when input is {\"value\": 1} [#6].", "location": { "start": { @@ -94451,7 +96058,7 @@ "tests/unit/specs/shared/validation/helpers/validation.helper.spec.ts": { "tests": [ { - "id": "950", + "id": "960", "name": "Validation Helper doesArrayRespectBounds should return true when no bounds are provided.", "location": { "start": { @@ -94461,7 +96068,7 @@ } }, { - "id": "951", + "id": "961", "name": "Validation Helper doesArrayRespectBounds should return false when min bound is not respected.", "location": { "start": { @@ -94471,7 +96078,7 @@ } }, { - "id": "952", + "id": "962", "name": "Validation Helper doesArrayRespectBounds should return false when max bound is not respected.", "location": { "start": { @@ -94481,7 +96088,7 @@ } }, { - "id": "953", + "id": "963", "name": "Validation Helper doesArrayRespectBounds should return true when min and max bounds are respected.", "location": { "start": { @@ -94496,7 +96103,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition-unique-names.decorator.spec.ts": { "tests": [ { - "id": "954", + "id": "964", "name": "Composition Unique Names Decorator getPlayerName should return same value when value is null.", "location": { "start": { @@ -94506,7 +96113,7 @@ } }, { - "id": "955", + "id": "965", "name": "Composition Unique Names Decorator getPlayerName should return same value when value is not an object.", "location": { "start": { @@ -94516,7 +96123,7 @@ } }, { - "id": "956", + "id": "966", "name": "Composition Unique Names Decorator getPlayerName should return same value when value doesn't have name field.", "location": { "start": { @@ -94526,7 +96133,7 @@ } }, { - "id": "957", + "id": "967", "name": "Composition Unique Names Decorator getPlayerName should return name when called.", "location": { "start": { @@ -94541,7 +96148,7 @@ "tests/unit/specs/modules/game/helpers/game-phase/game-phase.helper.spec.ts": { "tests": [ { - "id": "958", + "id": "968", "name": "Game Phase Helper isGamePhaseOver should return false when the phase is not over.", "location": { "start": { @@ -94551,7 +96158,7 @@ } }, { - "id": "959", + "id": "969", "name": "Game Phase Helper isGamePhaseOver should return true when the phase is over.", "location": { "start": { @@ -94566,7 +96173,7 @@ "tests/unit/specs/server/helpers/server.helper.spec.ts": { "tests": [ { - "id": "960", + "id": "970", "name": "Server Helper queryStringParser should call qs parse method with specific options when called.", "location": { "start": { @@ -94581,7 +96188,7 @@ "tests/unit/specs/server/constants/server.constant.spec.ts": { "tests": [ { - "id": "961", + "id": "971", "name": "Server Constant fastifyServerDefaultOptions should get fastify server default options when called.", "location": { "start": { diff --git a/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts b/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts index 03e59e391..8836a4ed9 100644 --- a/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts +++ b/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts @@ -492,6 +492,52 @@ describe("Game History Record Service", () => { expect(services.gameHistoryRecord["generateCurrentGameHistoryRecordPlayVotingResultToInsert"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.TIE); }); + it("should return skipped when there are no vote set.", () => { + const players = [ + createFakeWerewolfAlivePlayer(), + createFakeWerewolfAlivePlayer(), + createFakeHunterAlivePlayer(), + createFakeSeerAlivePlayer(), + ]; + const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote() }); + const newGame = createFakeGame({ + ...game, + players: [ + createFakePlayer(players[0]), + createFakePlayer(players[1]), + createFakePlayer(players[2]), + createFakePlayer(players[3]), + ], + }); + const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: undefined }); + const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteByAllDeath() })] }); + + expect(services.gameHistoryRecord["generateCurrentGameHistoryRecordPlayVotingResultToInsert"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.SKIPPED); + }); + + it("should return skipped when votes are empty.", () => { + const players = [ + createFakeWerewolfAlivePlayer(), + createFakeWerewolfAlivePlayer(), + createFakeHunterAlivePlayer(), + createFakeSeerAlivePlayer(), + ]; + const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote() }); + const newGame = createFakeGame({ + ...game, + players: [ + createFakePlayer(players[0]), + createFakePlayer(players[1]), + createFakePlayer(players[2]), + createFakePlayer(players[3]), + ], + }); + const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [] }); + const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteByAllDeath() })] }); + + expect(services.gameHistoryRecord["generateCurrentGameHistoryRecordPlayVotingResultToInsert"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.SKIPPED); + }); + it("should return death when there is at least one dead player from votes.", () => { const players = [ createFakeWerewolfAlivePlayer(), @@ -509,7 +555,12 @@ describe("Game History Record Service", () => { createFakePlayer(players[3]), ], }); - const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteByAllDeath() })] }); + const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] }); + const deadPlayers = [ + createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteByAllDeath() }), + createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() }), + ]; + const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers }); expect(services.gameHistoryRecord["generateCurrentGameHistoryRecordPlayVotingResultToInsert"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH); }); @@ -531,7 +582,8 @@ describe("Game History Record Service", () => { createFakePlayer(players[3]), ], }); - const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteScapegoatedByAllDeath() })] }); + const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] }); + const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerVoteScapegoatedByAllDeath() })] }); expect(services.gameHistoryRecord["generateCurrentGameHistoryRecordPlayVotingResultToInsert"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.DEATH); }); @@ -553,7 +605,8 @@ describe("Game History Record Service", () => { createFakePlayer(players[3]), ], }); - const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() })] }); + const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] }); + const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() })] }); expect(services.gameHistoryRecord["generateCurrentGameHistoryRecordPlayVotingResultToInsert"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.INCONSEQUENTIAL); }); @@ -575,7 +628,8 @@ describe("Game History Record Service", () => { createFakePlayer(players[3]), ], }); - const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() })] }); + const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ votes: [createFakeGameHistoryRecordPlayVote()] }); + const gameHistoryRecordToInsert = createFakeGameHistoryRecordToInsert({ play: gameHistoryRecordPlay, deadPlayers: [createFakePlayer({ ...players[1], isAlive: false, death: createFakePlayerDeathPotionByWitchDeath() })] }); expect(services.gameHistoryRecord["generateCurrentGameHistoryRecordPlayVotingResultToInsert"](game, newGame, gameHistoryRecordToInsert)).toBe(GAME_HISTORY_RECORD_VOTING_RESULTS.TIE); }); diff --git a/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts b/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts index aea522403..28876a331 100644 --- a/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts +++ b/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts @@ -19,10 +19,11 @@ import { createFakeGameAdditionalCard } from "../../../../../../../factories/gam import { createFakeGameHistoryRecord, createFakeGameHistoryRecordAllVotePlay, createFakeGameHistoryRecordGuardProtectPlay, createFakeGameHistoryRecordPlay, createFakeGameHistoryRecordPlayVoting, createFakeGameHistoryRecordWerewolvesEatPlay, createFakeGameHistoryRecordWitchUsePotionsPlay } from "../../../../../../../factories/game/schemas/game-history-record/game-history-record.schema.factory"; import { createFakeGameOptions } from "../../../../../../../factories/game/schemas/game-options/game-options.schema.factory"; import { createFakePiedPiperGameOptions, createFakeRolesGameOptions } from "../../../../../../../factories/game/schemas/game-options/game-roles-options.schema.factory"; -import { createFakeGamePlay, createFakeGamePlayAllVote, createFakeGamePlayBigBadWolfEats, createFakeGamePlayCupidCharms, createFakeGamePlayDogWolfChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayGuardProtects, createFakeGamePlayHunterShoots, createFakeGamePlayPiedPiperCharms, createFakeGamePlayRavenMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayThiefChoosesCard, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from "../../../../../../../factories/game/schemas/game-play/game-play.schema.factory"; +import { createFakeVotesGameOptions } from "../../../../../../../factories/game/schemas/game-options/votes-game-options.schema.factory"; +import { createFakeGamePlay, createFakeGamePlayAllElectSheriff, createFakeGamePlayAllVote, createFakeGamePlayBigBadWolfEats, createFakeGamePlayCupidCharms, createFakeGamePlayDogWolfChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayGuardProtects, createFakeGamePlayHunterShoots, createFakeGamePlayPiedPiperCharms, createFakeGamePlayRavenMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayThiefChoosesCard, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from "../../../../../../../factories/game/schemas/game-play/game-play.schema.factory"; import { createFakeGame, createFakeGameWithCurrentPlay } from "../../../../../../../factories/game/schemas/game.schema.factory"; -import { createFakeEatenByWerewolvesPlayerAttribute } from "../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory"; -import { createFakeDogWolfAlivePlayer, createFakeSeerAlivePlayer, createFakeStutteringJudgeAlivePlayer, createFakeVileFatherOfWolvesAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer, createFakeWhiteWerewolfAlivePlayer, createFakeWildChildAlivePlayer, createFakeWitchAlivePlayer } from "../../../../../../../factories/game/schemas/player/player-with-role.schema.factory"; +import { createFakeCantVoteByAllPlayerAttribute, createFakeEatenByWerewolvesPlayerAttribute } from "../../../../../../../factories/game/schemas/player/player-attribute/player-attribute.schema.factory"; +import { createFakeDogWolfAlivePlayer, createFakeIdiotAlivePlayer, createFakeSeerAlivePlayer, createFakeStutteringJudgeAlivePlayer, createFakeVileFatherOfWolvesAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer, createFakeWhiteWerewolfAlivePlayer, createFakeWildChildAlivePlayer, createFakeWitchAlivePlayer } from "../../../../../../../factories/game/schemas/player/player-with-role.schema.factory"; import { bulkCreateFakePlayers, createFakePlayer } from "../../../../../../../factories/game/schemas/player/player.schema.factory"; jest.mock("../../../../../../../../src/shared/exception/types/bad-game-play-payload-exception.type"); @@ -92,20 +93,28 @@ describe("Game Play Validator Service", () => { }); describe("validateGamePlayWithRelationsDto", () => { - let validateGamePlayWithRelationsDtoJudgeRequestSpy: jest.SpyInstance; - let validateGamePlayWithRelationsDtoChosenSideSpy: jest.SpyInstance; - let validateGamePlayVotesWithRelationsDtoSpy: jest.SpyInstance; - let validateGamePlayTargetsWithRelationsDtoSpy: jest.SpyInstance; - let validateGamePlayWithRelationsDtoChosenCardSpy: jest.SpyInstance; - let createNoCurrentGamePlayUnexpectedExceptionSpy: jest.SpyInstance; + let localMocks: { + gamePlayValidatorService: { + validateGamePlayWithRelationsDtoJudgeRequest: jest.SpyInstance; + validateGamePlayWithRelationsDtoChosenSide: jest.SpyInstance; + validateGamePlayVotesWithRelationsDto: jest.SpyInstance; + validateGamePlayTargetsWithRelationsDto: jest.SpyInstance; + validateGamePlayWithRelationsDtoChosenCard: jest.SpyInstance; + }; + unexpectedExceptionFactory: { createNoCurrentGamePlayUnexpectedException: jest.SpyInstance }; + }; beforeEach(() => { - validateGamePlayWithRelationsDtoJudgeRequestSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoJudgeRequest }, "validateGamePlayWithRelationsDtoJudgeRequest").mockImplementation(); - validateGamePlayWithRelationsDtoChosenSideSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoChosenSide }, "validateGamePlayWithRelationsDtoChosenSide").mockImplementation(); - validateGamePlayVotesWithRelationsDtoSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesWithRelationsDto }, "validateGamePlayVotesWithRelationsDto").mockImplementation(); - validateGamePlayTargetsWithRelationsDtoSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayTargetsWithRelationsDto }, "validateGamePlayTargetsWithRelationsDto").mockImplementation(); - validateGamePlayWithRelationsDtoChosenCardSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoChosenCard }, "validateGamePlayWithRelationsDtoChosenCard").mockImplementation(); - createNoCurrentGamePlayUnexpectedExceptionSpy = jest.spyOn(UnexpectedExceptionFactory, "createNoCurrentGamePlayUnexpectedException").mockImplementation(); + localMocks = { + gamePlayValidatorService: { + validateGamePlayWithRelationsDtoJudgeRequest: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoJudgeRequest }, "validateGamePlayWithRelationsDtoJudgeRequest").mockImplementation(), + validateGamePlayWithRelationsDtoChosenSide: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoChosenSide }, "validateGamePlayWithRelationsDtoChosenSide").mockImplementation(), + validateGamePlayVotesWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesWithRelationsDto }, "validateGamePlayVotesWithRelationsDto").mockImplementation(), + validateGamePlayTargetsWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayTargetsWithRelationsDto }, "validateGamePlayTargetsWithRelationsDto").mockImplementation(), + validateGamePlayWithRelationsDtoChosenCard: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWithRelationsDtoChosenCard }, "validateGamePlayWithRelationsDtoChosenCard").mockImplementation(), + }, + unexpectedExceptionFactory: { createNoCurrentGamePlayUnexpectedException: jest.spyOn(UnexpectedExceptionFactory, "createNoCurrentGamePlayUnexpectedException").mockImplementation() }, + }; }); it("should throw error when game's current play is not set.", async() => { @@ -114,7 +123,7 @@ describe("Game Play Validator Service", () => { const interpolations = { gameId: game._id }; await expect(services.gamePlayValidator.validateGamePlayWithRelationsDto(makeGamePlayWithRelationsDto, game)).toReject(); - expect(createNoCurrentGamePlayUnexpectedExceptionSpy).toHaveBeenCalledExactlyOnceWith("validateGamePlayWithRelationsDto", interpolations); + expect(localMocks.unexpectedExceptionFactory.createNoCurrentGamePlayUnexpectedException).toHaveBeenCalledExactlyOnceWith("validateGamePlayWithRelationsDto", interpolations); }); it("should call validators when called.", async() => { @@ -122,11 +131,11 @@ describe("Game Play Validator Service", () => { const makeGamePlayWithRelationsDto = createFakeMakeGamePlayWithRelationsDto({ doesJudgeRequestAnotherVote: true }); await services.gamePlayValidator.validateGamePlayWithRelationsDto(makeGamePlayWithRelationsDto, game); - expect(validateGamePlayWithRelationsDtoJudgeRequestSpy).toHaveBeenCalledOnce(); - expect(validateGamePlayWithRelationsDtoChosenSideSpy).toHaveBeenCalledOnce(); - expect(validateGamePlayVotesWithRelationsDtoSpy).toHaveBeenCalledOnce(); - expect(validateGamePlayTargetsWithRelationsDtoSpy).toHaveBeenCalledOnce(); - expect(validateGamePlayWithRelationsDtoChosenCardSpy).toHaveBeenCalledOnce(); + expect(localMocks.gamePlayValidatorService.validateGamePlayWithRelationsDtoJudgeRequest).toHaveBeenCalledOnce(); + expect(localMocks.gamePlayValidatorService.validateGamePlayWithRelationsDtoChosenSide).toHaveBeenCalledOnce(); + expect(localMocks.gamePlayValidatorService.validateGamePlayVotesWithRelationsDto).toHaveBeenCalledOnce(); + expect(localMocks.gamePlayValidatorService.validateGamePlayTargetsWithRelationsDto).toHaveBeenCalledOnce(); + expect(localMocks.gamePlayValidatorService.validateGamePlayWithRelationsDtoChosenCard).toHaveBeenCalledOnce(); }); }); @@ -233,6 +242,22 @@ describe("Game Play Validator Service", () => { }); describe("validateGamePlayWitchTargets", () => { + let localMocks: { + gamePlayValidatorService: { + validateDrankLifePotionTargets: jest.SpyInstance; + validateDrankDeathPotionTargets: jest.SpyInstance; + }; + }; + + beforeEach(() => { + localMocks = { + gamePlayValidatorService: { + validateDrankLifePotionTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, "validateDrankLifePotionTargets").mockImplementation(), + validateDrankDeathPotionTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, "validateDrankDeathPotionTargets").mockImplementation(), + }, + }; + }); + it("should throw error when witch targeted someone with life potion but already used it with death potion before.", async() => { const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() }); const makeGamePlayTargetsWithRelationsDto = [ @@ -312,21 +337,17 @@ describe("Game Play Validator Service", () => { }); it("should call potions validators without players when called with valid data but no target drank potions.", async() => { - const validateDrankLifePotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, "validateDrankLifePotionTargets").mockImplementation(); - const validateDrankDeathPotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, "validateDrankDeathPotionTargets").mockImplementation(); const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() }); const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ player: createFakeSeerAlivePlayer() })]; when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.LIFE).mockResolvedValue([]); when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]); await expect(services.gamePlayValidator["validateGamePlayWitchTargets"](makeGamePlayTargetsWithRelationsDto, game)).toResolve(); - expect(validateDrankLifePotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([]); - expect(validateDrankDeathPotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([]); + expect(localMocks.gamePlayValidatorService.validateDrankLifePotionTargets).toHaveBeenCalledExactlyOnceWith([]); + expect(localMocks.gamePlayValidatorService.validateDrankDeathPotionTargets).toHaveBeenCalledExactlyOnceWith([]); }); it("should call potions validators with players when called without bad data and without witch history.", async() => { - const validateDrankLifePotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, "validateDrankLifePotionTargets").mockImplementation(); - const validateDrankDeathPotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, "validateDrankDeathPotionTargets").mockImplementation(); const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() }); const makeGamePlayTargetsWithRelationsDto = [ createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE }), @@ -336,13 +357,11 @@ describe("Game Play Validator Service", () => { when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]); await expect(services.gamePlayValidator["validateGamePlayWitchTargets"](makeGamePlayTargetsWithRelationsDto, game)).toResolve(); - expect(validateDrankLifePotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]); - expect(validateDrankDeathPotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[1]]); + expect(localMocks.gamePlayValidatorService.validateDrankLifePotionTargets).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]); + expect(localMocks.gamePlayValidatorService.validateDrankDeathPotionTargets).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[1]]); }); it("should call potions validators with players when called for valid life potion data and some witch history.", async() => { - const validateDrankLifePotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, "validateDrankLifePotionTargets").mockImplementation(); - const validateDrankDeathPotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, "validateDrankDeathPotionTargets").mockImplementation(); const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() }); const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE })]; const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH })]; @@ -351,13 +370,11 @@ describe("Game Play Validator Service", () => { when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue(gameHistoryRecords); await expect(services.gamePlayValidator["validateGamePlayWitchTargets"](makeGamePlayTargetsWithRelationsDto, game)).toResolve(); - expect(validateDrankLifePotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]); - expect(validateDrankDeathPotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([]); + expect(localMocks.gamePlayValidatorService.validateDrankLifePotionTargets).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]); + expect(localMocks.gamePlayValidatorService.validateDrankDeathPotionTargets).toHaveBeenCalledExactlyOnceWith([]); }); it("should call potions validators with players when called for valid death potion data and some witch history.", async() => { - const validateDrankLifePotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankLifePotionTargets }, "validateDrankLifePotionTargets").mockImplementation(); - const validateDrankDeathPotionTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateDrankDeathPotionTargets }, "validateDrankDeathPotionTargets").mockImplementation(); const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWitchUsesPotions() }); const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.DEATH })]; const gameHistoryRecordTargets = [createFakeMakeGamePlayTargetWithRelationsDto({ drankPotion: WITCH_POTIONS.LIFE })]; @@ -366,8 +383,8 @@ describe("Game Play Validator Service", () => { when(mocks.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords).calledWith(game._id, WITCH_POTIONS.DEATH).mockResolvedValue([]); await expect(services.gamePlayValidator["validateGamePlayWitchTargets"](makeGamePlayTargetsWithRelationsDto, game)).toResolve(); - expect(validateDrankLifePotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([]); - expect(validateDrankDeathPotionTargetsSpy).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]); + expect(localMocks.gamePlayValidatorService.validateDrankLifePotionTargets).toHaveBeenCalledExactlyOnceWith([]); + expect(localMocks.gamePlayValidatorService.validateDrankDeathPotionTargets).toHaveBeenCalledExactlyOnceWith([makeGamePlayTargetsWithRelationsDto[0]]); }); }); @@ -1357,30 +1374,34 @@ describe("Game Play Validator Service", () => { }); describe("validateGamePlayTargetsWithRelationsDto", () => { - let validateGamePlayInfectedTargetsSpy: jest.SpyInstance; - let validateGamePlayWitchTargetsSpy: jest.SpyInstance; - let validateGamePlaySourceTargetsSpy: jest.SpyInstance; + let localMocks: { + gamePlayValidatorService: { + validateInfectedTargetsAndPotionUsage: jest.SpyInstance; + validateGamePlaySourceTargets: jest.SpyInstance; + }; + }; beforeEach(() => { - validateGamePlayInfectedTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayInfectedTargets }, "validateGamePlayInfectedTargets").mockImplementation(); - validateGamePlayWitchTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayWitchTargets }, "validateGamePlayWitchTargets").mockImplementation(); - validateGamePlaySourceTargetsSpy = jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlaySourceTargets }, "validateGamePlaySourceTargets").mockImplementation(); + localMocks = { + gamePlayValidatorService: { + validateInfectedTargetsAndPotionUsage: jest.spyOn(services.gamePlayValidator as unknown as { validateInfectedTargetsAndPotionUsage }, "validateInfectedTargetsAndPotionUsage").mockImplementation(), + validateGamePlaySourceTargets: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlaySourceTargets }, "validateGamePlaySourceTargets").mockImplementation(), + }, + }; }); it("should do nothing when there are no targets defined and upcoming action doesn't require targets anyway.", async() => { const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() }); await expect(services.gamePlayValidator["validateGamePlayTargetsWithRelationsDto"](undefined, game)).toResolve(); - expect(validateGamePlayInfectedTargetsSpy).not.toHaveBeenCalled(); - expect(validateGamePlayWitchTargetsSpy).not.toHaveBeenCalled(); + expect(localMocks.gamePlayValidatorService.validateInfectedTargetsAndPotionUsage).not.toHaveBeenCalled(); }); it("should do nothing when there are no targets (empty array) and upcoming action doesn't require targets anyway.", async() => { const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() }); await expect(services.gamePlayValidator["validateGamePlayTargetsWithRelationsDto"]([], game)).toResolve(); - expect(validateGamePlayInfectedTargetsSpy).not.toHaveBeenCalled(); - expect(validateGamePlayWitchTargetsSpy).not.toHaveBeenCalled(); + expect(localMocks.gamePlayValidatorService.validateInfectedTargetsAndPotionUsage).not.toHaveBeenCalled(); }); it("should throw error when there is no targets but they are required.", async() => { @@ -1403,7 +1424,8 @@ describe("Game Play Validator Service", () => { const makeGamePlayTargetsWithRelationsDto = [createFakeMakeGamePlayTargetWithRelationsDto()]; await expect(services.gamePlayValidator["validateGamePlayTargetsWithRelationsDto"](makeGamePlayTargetsWithRelationsDto, game)).toResolve(); - expect(validateGamePlaySourceTargetsSpy).toHaveBeenCalledOnce(); + expect(localMocks.gamePlayValidatorService.validateGamePlaySourceTargets).toHaveBeenCalledOnce(); + expect(localMocks.gamePlayValidatorService.validateInfectedTargetsAndPotionUsage).toHaveBeenCalledOnce(); }); }); @@ -1456,35 +1478,182 @@ describe("Game Play Validator Service", () => { }); }); + describe("validateGamePlayVotesWithRelationsDtoSourceAndTarget", () => { + it("should throw error when one vote source is not alive.", () => { + const players = [ + createFakeSeerAlivePlayer({ isAlive: false }), + createFakeWerewolfAlivePlayer(), + createFakeIdiotAlivePlayer(), + createFakeVillagerAlivePlayer(), + ]; + const makeGamePlayVotesWithRelationsDto = [ + createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }), + createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[1] }), + ]; + + expect(() => services.gamePlayValidator["validateGamePlayVotesWithRelationsDtoSourceAndTarget"](makeGamePlayVotesWithRelationsDto)).toThrow(BadGamePlayPayloadException); + expect(BadGamePlayPayloadException).toHaveBeenCalledWith("One source is not able to vote because he's dead or doesn't have the ability to do so"); + }); + + it("should throw error when one vote source doesn't have the ability to vote.", () => { + const players = [ + createFakeSeerAlivePlayer({ attributes: [createFakeCantVoteByAllPlayerAttribute()] }), + createFakeWerewolfAlivePlayer(), + createFakeIdiotAlivePlayer(), + createFakeVillagerAlivePlayer(), + ]; + const makeGamePlayVotesWithRelationsDto = [ + createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }), + createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[1] }), + ]; + + expect(() => services.gamePlayValidator["validateGamePlayVotesWithRelationsDtoSourceAndTarget"](makeGamePlayVotesWithRelationsDto)).toThrow(BadGamePlayPayloadException); + expect(BadGamePlayPayloadException).toHaveBeenCalledWith("One source is not able to vote because he's dead or doesn't have the ability to do so"); + }); + + it("should throw error when one vote target is dead.", () => { + const players = [ + createFakeSeerAlivePlayer(), + createFakeWerewolfAlivePlayer({ isAlive: false }), + createFakeIdiotAlivePlayer(), + createFakeVillagerAlivePlayer(), + ]; + const makeGamePlayVotesWithRelationsDto = [ + createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }), + createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[1] }), + ]; + + expect(() => services.gamePlayValidator["validateGamePlayVotesWithRelationsDtoSourceAndTarget"](makeGamePlayVotesWithRelationsDto)).toThrow(BadGamePlayPayloadException); + expect(BadGamePlayPayloadException).toHaveBeenCalledWith("One target can't be voted because he's dead"); + }); + + it("should throw error when there are votes with the same source and target.", () => { + const players = [ + createFakeSeerAlivePlayer(), + createFakeWerewolfAlivePlayer(), + createFakeIdiotAlivePlayer(), + createFakeVillagerAlivePlayer(), + ]; + const makeGamePlayVotesWithRelationsDto = [ + createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[0] }), + createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[1] }), + ]; + + expect(() => services.gamePlayValidator["validateGamePlayVotesWithRelationsDtoSourceAndTarget"](makeGamePlayVotesWithRelationsDto)).toThrow(BadGamePlayPayloadException); + expect(BadGamePlayPayloadException).toHaveBeenCalledWith("One vote has the same source and target"); + }); + }); + + describe("validateUnsetGamePlayVotesWithRelationsDto", () => { + it("should do nothing when there is no vote but nobody can votes.", () => { + const players = [ + createFakeSeerAlivePlayer({ isAlive: false }), + createFakeWerewolfAlivePlayer({ attributes: [createFakeCantVoteByAllPlayerAttribute()] }), + createFakeIdiotAlivePlayer({ isAlive: false }), + createFakeVillagerAlivePlayer({ attributes: [createFakeCantVoteByAllPlayerAttribute()] }), + ]; + const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) }); + const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote(), options }); + + expect(() => services.gamePlayValidator["validateUnsetGamePlayVotesWithRelationsDto"](game)).not.toThrow(); + }); + + it("should do nothing when there is no vote but votes can be skipped.", () => { + const players = [ + createFakeSeerAlivePlayer(), + createFakeWerewolfAlivePlayer(), + createFakeIdiotAlivePlayer({ isAlive: false }), + createFakeVillagerAlivePlayer({ attributes: [createFakeCantVoteByAllPlayerAttribute()] }), + ]; + const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: true }) }); + const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote(), options }); + + expect(() => services.gamePlayValidator["validateUnsetGamePlayVotesWithRelationsDto"](game)).not.toThrow(); + }); + + it("should throw error when there is no vote but they are required.", () => { + const players = [ + createFakeSeerAlivePlayer(), + createFakeWerewolfAlivePlayer(), + createFakeIdiotAlivePlayer(), + createFakeVillagerAlivePlayer(), + ]; + const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) }); + const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote(), options }); + + expect(() => services.gamePlayValidator["validateUnsetGamePlayVotesWithRelationsDto"](game)).toThrow(BadGamePlayPayloadException); + expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith("`votes` is required on this current game's state"); + }); + + it("should throw error when there is no vote but it's sheriff election time.", () => { + const players = [ + createFakeSeerAlivePlayer(), + createFakeWerewolfAlivePlayer(), + createFakeIdiotAlivePlayer(), + createFakeVillagerAlivePlayer(), + ]; + const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: true }) }); + const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllElectSheriff(), options }); + + expect(() => services.gamePlayValidator["validateUnsetGamePlayVotesWithRelationsDto"](game)).toThrow(BadGamePlayPayloadException); + expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith("`votes` is required on this current game's state"); + }); + + it("should throw error when there is no vote but votes are because of angel presence.", () => { + const players = [ + createFakeSeerAlivePlayer(), + createFakeWerewolfAlivePlayer(), + createFakeIdiotAlivePlayer(), + createFakeVillagerAlivePlayer(), + ]; + const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: true }) }); + const game = createFakeGameWithCurrentPlay({ players, currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.ANGEL_PRESENCE }), options }); + + expect(() => services.gamePlayValidator["validateUnsetGamePlayVotesWithRelationsDto"](game)).toThrow(BadGamePlayPayloadException); + expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith("`votes` is required on this current game's state"); + }); + }); + describe("validateGamePlayVotesWithRelationsDto", () => { let localMocks: { - gamePlayValidatorService: { validateGamePlayVotesTieBreakerWithRelationsDto: jest.SpyInstance }; + gamePlayValidatorService: { + validateGamePlayVotesTieBreakerWithRelationsDto: jest.SpyInstance; + validateUnsetGamePlayVotesWithRelationsDto: jest.SpyInstance; + validateGamePlayVotesWithRelationsDtoSourceAndTarget: jest.SpyInstance; + }; }; beforeEach(() => { - localMocks = { gamePlayValidatorService: { validateGamePlayVotesTieBreakerWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesTieBreakerWithRelationsDto }, "validateGamePlayVotesTieBreakerWithRelationsDto").mockImplementation() } }; + localMocks = { + gamePlayValidatorService: { + validateGamePlayVotesTieBreakerWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesTieBreakerWithRelationsDto }, "validateGamePlayVotesTieBreakerWithRelationsDto").mockImplementation(), + validateUnsetGamePlayVotesWithRelationsDto: jest.spyOn(services.gamePlayValidator as unknown as { validateUnsetGamePlayVotesWithRelationsDto }, "validateUnsetGamePlayVotesWithRelationsDto").mockImplementation(), + validateGamePlayVotesWithRelationsDtoSourceAndTarget: jest.spyOn(services.gamePlayValidator as unknown as { validateGamePlayVotesWithRelationsDtoSourceAndTarget }, "validateGamePlayVotesWithRelationsDtoSourceAndTarget").mockImplementation(), + }, + }; }); - it("should do nothing when there are no votes defined and upcoming action doesn't require votes anyway.", async() => { + it("should resolve when there are no votes defined.", async() => { const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() }); await expect(services.gamePlayValidator["validateGamePlayVotesWithRelationsDto"](undefined, game)).toResolve(); }); - it("should do nothing when there are no votes (empty array) and upcoming action doesn't require votes anyway.", async() => { + it("should call validateGamePlayVotesWithRelationsDto method when there are no votes defined.", async() => { const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() }); + await services.gamePlayValidator["validateGamePlayVotesWithRelationsDto"](undefined, game); - await expect(services.gamePlayValidator["validateGamePlayVotesWithRelationsDto"]([], game)).toResolve(); + expect(localMocks.gamePlayValidatorService.validateUnsetGamePlayVotesWithRelationsDto).toHaveBeenCalledExactlyOnceWith(game); }); - it("should throw error when there is no votes but they are required.", async() => { - const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayAllVote() }); + it("should call validateGamePlayVotesWithRelationsDto method when there are no votes (empty array).", async() => { + const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWerewolvesEat() }); + await services.gamePlayValidator["validateGamePlayVotesWithRelationsDto"]([], game); - await expect(services.gamePlayValidator["validateGamePlayVotesWithRelationsDto"]([], game)).toReject(); - expect(BadGamePlayPayloadException).toHaveBeenCalledExactlyOnceWith("`votes` is required on this current game's state"); + expect(localMocks.gamePlayValidatorService.validateUnsetGamePlayVotesWithRelationsDto).toHaveBeenCalledExactlyOnceWith(game); }); - it("should throw error when there are votes but they are expected.", async() => { + it("should throw error when there are votes but they are not expected.", async() => { const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayWerewolvesEat() }); const makeGamePlayVotesWithRelationsDto = [createFakeMakeGamePlayVoteWithRelationsDto()]; @@ -1492,17 +1661,6 @@ describe("Game Play Validator Service", () => { expect(BadGamePlayPayloadException).toHaveBeenCalledWith("`votes` can't be set on this current game's state"); }); - it("should throw error when there are votes with the same source and target.", async() => { - const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayAllVote() }); - const makeGamePlayVotesWithRelationsDto = [ - createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[0], target: game.players[0] }), - createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[2], target: game.players[1] }), - ]; - - await expect(services.gamePlayValidator["validateGamePlayVotesWithRelationsDto"](makeGamePlayVotesWithRelationsDto, game)).toReject(); - expect(BadGamePlayPayloadException).toHaveBeenCalledWith("One vote has the same source and target"); - }); - it("should call validateGamePlayVotesTieBreakerWithRelationsDto when current play is because of previous votes were in ties.", async() => { const game = createFakeGameWithCurrentPlay({ players: bulkCreateFakePlayers(4), currentPlay: createFakeGamePlayAllVote({ cause: GAME_PLAY_CAUSES.PREVIOUS_VOTES_WERE_IN_TIES }) }); const makeGamePlayVotesWithRelationsDto = [createFakeMakeGamePlayVoteWithRelationsDto({ source: game.players[0], target: game.players[1] })];