(obj)
| 2 | |
| 3 | describe('Color helper', function() { |
| 4 | function isColorInstance(obj) { |
| 5 | return typeof obj === 'object' && obj.valid; |
| 6 | } |
| 7 | |
| 8 | it('should return a color when called with a color', function() { |
| 9 | expect(isColorInstance(color('rgb(1, 2, 3)'))).toBe(true); |
no outgoing calls
no test coverage detected