Skip to content

Commit

Permalink
Fix silly thinko in tokenPreprocessor spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bdowning committed Apr 20, 2016
1 parent 31d0ce7 commit 07a91f9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/preprocessors/tokenPreprocessor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ describe('tokenPreprocessor', () => {
it('passes non-string parameters through unchanged', () => {
const tokenPreprocessor = createTokenPreprocessor();

const [ outState, outEasing, decode ] =
tokenPreprocessor({ x: 1, y: 4 }, { x: identity, y: identity });
const state = { x: 1, y: 4 };
const easing = { x: identity, y: identity };

const [ outState, outEasing, decode ] = tokenPreprocessor(state, easing);

expect(outState).toBe(outState);
expect(outEasing).toBe(outEasing);
expect(outState).toBe(state);
expect(outEasing).toBe(easing);
expect(decode).toBe(identity);
});

Expand Down

0 comments on commit 07a91f9

Please sign in to comment.