Skip to content

Commit

Permalink
eslint v4 fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fahad19 committed Oct 7, 2017
1 parent c378f4d commit e9002a6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/frint-store/src/createStore.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,10 @@ describe('frint-store › createStore', function () {
store.dispatch({ type: 'SET_COLOR', color: 'green' });

expect(states).to.deep.equal([
{ counter: { value: 100 }, color: { value: 'red' } }, // initial
{ counter: { value: 101 }, color: { value: 'red' } }, // INCREMENT_COUNTER
{ counter: { value: 102 }, color: { value: 'red' } }, // INCREMENT_COUNTER
{ counter: { value: 101 }, color: { value: 'red' } }, // DECREMENT_COUNTER
{ counter: { value: 100 }, color: { value: 'red' } }, // initial
{ counter: { value: 101 }, color: { value: 'red' } }, // INCREMENT_COUNTER
{ counter: { value: 102 }, color: { value: 'red' } }, // INCREMENT_COUNTER
{ counter: { value: 101 }, color: { value: 'red' } }, // DECREMENT_COUNTER
{ counter: { value: 101 }, color: { value: 'green' } } // SET_COLOR
]);

Expand All @@ -407,10 +407,10 @@ describe('frint-store › createStore', function () {
store.dispatch({ type: 'SET_COLOR', color: 'green' });

expect(states).to.deep.equal([
{ counter: { value: 0 }, color: { value: 'blue' } }, // initial
{ counter: { value: 1 }, color: { value: 'blue' } }, // INCREMENT_COUNTER
{ counter: { value: 2 }, color: { value: 'blue' } }, // INCREMENT_COUNTER
{ counter: { value: 1 }, color: { value: 'blue' } }, // DECREMENT_COUNTER
{ counter: { value: 0 }, color: { value: 'blue' } }, // initial
{ counter: { value: 1 }, color: { value: 'blue' } }, // INCREMENT_COUNTER
{ counter: { value: 2 }, color: { value: 'blue' } }, // INCREMENT_COUNTER
{ counter: { value: 1 }, color: { value: 'blue' } }, // DECREMENT_COUNTER
{ counter: { value: 1 }, color: { value: 'green' } } // SET_COLOR
]);

Expand Down Expand Up @@ -441,10 +441,10 @@ describe('frint-store › createStore', function () {
store.dispatch({ type: 'SET_COLOR', color: 'green' });

expect(states).to.deep.equal([
{ counter: { value: 100 }, color: { value: 'blue' } }, // initial
{ counter: { value: 101 }, color: { value: 'blue' } }, // INCREMENT_COUNTER
{ counter: { value: 102 }, color: { value: 'blue' } }, // INCREMENT_COUNTER
{ counter: { value: 101 }, color: { value: 'blue' } }, // DECREMENT_COUNTER
{ counter: { value: 100 }, color: { value: 'blue' } }, // initial
{ counter: { value: 101 }, color: { value: 'blue' } }, // INCREMENT_COUNTER
{ counter: { value: 102 }, color: { value: 'blue' } }, // INCREMENT_COUNTER
{ counter: { value: 101 }, color: { value: 'blue' } }, // DECREMENT_COUNTER
{ counter: { value: 101 }, color: { value: 'green' } } // SET_COLOR
]);

Expand Down

0 comments on commit e9002a6

Please sign in to comment.