import stripStyle from '../src/stripStyle';

describe('stripStyle', () => {
  it('should ignore `undefined`', () => {
    expect(stripStyle({a: undefined})).toEqual({a: undefined});
  });
});

import stripStyle from '../src/stripStyle';
import spring from '../src/spring';

describe('stripStyle', () => {
  it('should return spring object into value', () => {
    expect(stripStyle({a: spring(1, [1, 2])})).toEqual({a: 1});
  });

  it('should ignore non-configured values', () => {
    expect(stripStyle({a: 10, b: 0})).toEqual({a: 10, b: 0});
  });

  it('should ignore `undefined`', () => {
    expect(stripStyle({a: undefined})).toEqual({a: undefined});
  });
});

Add some tests for stripStyle()
Add some tests for stripStyle()

While fixing #180, I noticed that stripStyle() was untested, so I
decided to add a couple of basic tests here.
