Skip to content

Commit

Permalink
Fix broken tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dom111 committed May 13, 2023
1 parent 3efec5c commit 109c732
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/defeated.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ describe('Player.defeated', (): void => {
playerRegistry.register(player1, player2);
currentPlayerRegistry.register(...playerRegistry.entries());
ruleRegistry.register(
...defeated(currentPlayerRegistry, playerRegistry, engine)
...defeated(
currentPlayerRegistry,
playerRegistry,
ruleRegistry,
undefined,
engine
)
);

expect(playerRegistry.length).equal(2);
Expand Down

0 comments on commit 109c732

Please sign in to comment.