Skip to content

Commit

Permalink
test: Simplify undefined stage test
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Sep 28, 2019
1 parent 2d566ef commit bd7ca32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/turn-order.test.js
Expand Up @@ -419,7 +419,7 @@ describe('setActivePlayers', () => {
test('undefined stage leaves player inactive', () => {
const newState = flow.processEvent(
state,
gameEvent('setActivePlayers', [{ value: { '1': { stage: undefined } } }])
gameEvent('setActivePlayers', [{ value: { '1': { moveLimit: 2 } } }])
);
expect(newState.ctx.activePlayers).toBeNull();
});
Expand Down

0 comments on commit bd7ca32

Please sign in to comment.