Skip to content

Commit

Permalink
remove map, fix bug, reduce dist by 5%
Browse files Browse the repository at this point in the history
  • Loading branch information
tvler committed May 10, 2018
1 parent fc8bbad commit 668ab88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Expand Up @@ -188,7 +188,7 @@ setState({
name: "bunch of stuff then null",
expected: { value: 1, anotherValue: 2, otherValue: 1 },
updaters: [
() => null,
null,
{ otherValue: 1 },
s => ({ value: s.value + 1 }),
{ anotherValue: 2 },
Expand All @@ -202,7 +202,7 @@ setState({
{ otherValue: 1 },
s => ({ value: s.value + 1 }),
{ anotherValue: 2 },
() => null,
null,
],
state: { value: 0 },
});
Expand Down

0 comments on commit 668ab88

Please sign in to comment.