Skip to content

Commit

Permalink
chore(deps): upgrade Immer from 1.8.0 to 7.0.4 (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
adngdb committed Sep 8, 2020
1 parent ddf0f42 commit fa28be0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -153,7 +153,7 @@
"@koa/cors": "^2.2.1",
"@types/koa": "^2.11.3",
"flatted": "^0.2.3",
"immer": "^1.8.0",
"immer": "^7.0.8",
"koa": "^2.7.0",
"koa-body": "^4.1.0",
"koa-router": "^7.2.1",
Expand Down
4 changes: 2 additions & 2 deletions src/core/flow.test.js
Expand Up @@ -423,7 +423,7 @@ describe('turn', () => {
expect(state.ctx.currentPlayer).toBe('1');
expect(state.ctx.turn).toBe(2);

state.G.endPhase = true;
state.G = { endPhase: true };

state = flow.processMove(state, makeMove().payload);

Expand Down Expand Up @@ -696,7 +696,7 @@ describe('endIf', () => {
state = flow.processEvent(state, gameEvent('endTurn'));
expect(state.ctx.gameover).toBe(undefined);

state.G.win = 'A';
state.G = { win: 'A' };

{
const t = flow.processEvent(state, gameEvent('endTurn'));
Expand Down

0 comments on commit fa28be0

Please sign in to comment.