From fbf317909a6360ccf52d12f64c7fab1d1b90a533 Mon Sep 17 00:00:00 2001 From: Pierre MARTIN Date: Tue, 10 Nov 2026 19:44:36 +0100 Subject: [PATCH] =?UTF-8?q?Sc=C3=A9nario=20de=20sortie=20:=20mise=20en=20f?= =?UTF-8?q?orme=20Biome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- app/tests/steps/jouer-une-partie.steps.ts | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/app/tests/steps/jouer-une-partie.steps.ts b/app/tests/steps/jouer-une-partie.steps.ts index bc06205..62c3277 100644 --- a/app/tests/steps/jouer-une-partie.steps.ts +++ b/app/tests/steps/jouer-une-partie.steps.ts @@ -482,16 +482,13 @@ Given("un joueur a sorti tous ses pions", async () => { // l'ordinateur un pion sur sa case 1 et un sur sa case 2. const SIX_AND_ONE = "BQAACAIAAAAAAA"; -Given( - "vous avez un pion sur la flèche 6 et un sur la flèche 1, avec le jet 6-1", - async () => { - game = Game.start(engine, { - setup: { position: SIX_AND_ONE, firstTurn: "player" }, - dice: fixedDice([6, 1]), - }); - await game.roll(); - }, -); +Given("vous avez un pion sur la flèche 6 et un sur la flèche 1, avec le jet 6-1", async () => { + game = Game.start(engine, { + setup: { position: SIX_AND_ONE, firstTurn: "player" }, + dice: fixedDice([6, 1]), + }); + await game.roll(); +}); Then(/^vous pouvez valider ou jouer encore (.+)$/, async (text: string) => { assert.equal(accepted, true);